![]() |
python cross platfrom FILE IO - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: python cross platfrom FILE IO (/thread-14182.html) |
python cross platfrom FILE IO - shift838 - Nov-18-2018 So, am very new to Python. I want to create a program that can be ran on Windows / Linux that access the file system to execute a file with arguments. With the file systems being different between the two OS's can this be done ? If so can someone point me to where I need to read? Thank you, RE: python cross platfrom FILE IO - ichabod801 - Nov-18-2018 It can totally be done. The file system operations are made to be platform independent from the programmer's perspective. There is a short tutorial on this site for files. You may also want to look at the os module. It has many file system operations beyond basic opening and reading of files. |