0
About files and folders -Python
I have 3 questions about files and folders: 1. How can I connect Python files together? May I need another programming language to do it? 2. When I try to open a .py file, it only gives text. Should one Python program be used to take text from .txt files rather? 3. Can I create a folder using Python? How?
2 odpowiedzi
+ 1
f = open("myfile.text" , "w") use the open() method to create a new file in pyhton
0
youssef mamdouh I didn't ask for writing files, I asked about creating folders rather than files. Files are already pretty clear thing for me.
Please read the guestions carefully before answering.