Posts by Adriano guedes • 149 points
4 posts
-
11
votes2
answers8828
viewsQ: After all, what is the function Repr in python for?
I’m a bit of a beginner in python and I wanted to know what this confusing function is really for, I looked at several sites but no one has really said what it’s for
-
2
votes1
answer7728
viewsQ: How to write in a file without erasing old things?
Example: in my file has joao maria carla if I use: arq = open('nomes.txt') arq.write('jose') arq.write('\n') arq.close it will erase the previous ones that was Joao, maria,how do I write without…
-
0
votes1
answer445
viewsQ: Help python by taking only the last data from the list
I have a website and I need a name separation system:last name with list, the data is in a txt and I normally import the data is for example: maria:Carla Joao:lima wanted to be able to separate as…
-
1
votes1
answer99
viewsQ: how to give two splits on a txt
I want to give two splits one to delete lines from txt and another to delete his tab in txt has name:last name ex Rafael:File the tab and ":" how can I do this?
pythonasked Adriano guedes 149