4
I have a list of repository addresses git classified according to your accommodation location.
@GitHub ('@' demonstra que a linha representa um local de hospedagem)
url do repositório a (repositório a ser baixado)
url do repositório b (repositório a ser baixado)
@GoogleCode ('@' demonstra que a linha representa um local de hospedagem)
url do reposiorio c (repositório a ser baixado)
url do repositório d (repositório a ser baixado)
I want to separate this data (what is a repository and what is a hosting location), which will be in a file written by the user, in the best way possible. My idea is to use some module like Configparser, which creates a pattern for me and prevents failures, unnecessary spaces, etc.
For now I am doing it in hand with conditionals (if the first element is '@', set as hosting location), Entering would like to optimize my code. Any suggestions?
I wouldn’t say modules. I would say that with native Python you can do something great. You have some ready-made code that you can put in your question?
– Leonel Sanches da Silva