hello all,
I have a program, and in it, it eventually specifies 'aFolder' to be os.walk(path/to/folder) how do I obtain inifo such as the name or the path of the folder, is it then the temporary current working directory?
FALL3N
0
Junior Poster in Training
Recommended Answers
Jump to Posthow do I obtain inifo such as the name or the path of the folder,
Maybe i dont understand you,if you give the path to the folder.
Then you can store it in a variable and just print it out.import os aFolder = 'C:/test/' print 'Top …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.