Блог пользователя jai_dewani

Автор jai_dewani, история, 4 года назад, По-английски

Soon after I started regularly participating in CF rounds, I noticed I was creating a folder for a new file, creating A, B, C python files and typing the same template in every contest.

So I decided to automate this process, the bash script takes the round name as input and creates a folder with that name, create 3 files (A.py, B.py, C.py) and writes a set template to each one of them.

Find my bash script here. There are so many more things that can be done, so I am sharing this with everyone and hoping to see your own versions of it too :)

  • Проголосовать: нравится
  • +13
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I have a Github repository, I create a new branch for every contest

https://github.com/tonghuikang/codecomp/tree/master/template