Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How to get the file path and full file name
-
Have a good day,
I have a file name config_file_data302, I want to get the location of the file name to contain "congfig_file" in a given directory (avoid hidden file i.e, '.','..'). and write the same data in another file config_data303 in the same directory. -
@tutu10 If I correctly understand, try
path = os.path.expanduser('~/Documents/your folder/your file')