Python Forum
python cross platfrom FILE IO
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python cross platfrom FILE IO
#1
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,
Reply
#2
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.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cross 2 arrays dylan261999 4 1,026 Feb-09-2023, 01:06 PM
Last Post: thensun
  Questions re: my first python app (GUI, cross-platform, admin/root-level commands)? DonnyBahama 0 1,732 Feb-27-2020, 08:14 PM
Last Post: DonnyBahama
  how do i write a cross-platform relative file path? pseudo 2 2,947 Aug-23-2019, 05:07 PM
Last Post: ThomasL
  How to cross compile python for ARM ? pankaj 4 5,694 Mar-06-2019, 05:59 AM
Last Post: pankaj
  What are ways of pointing cross-compiled origin source line for python? wyvogew 2 2,821 Feb-02-2019, 03:16 PM
Last Post: wyvogew
  Python Code for cross refrencing hamzar 1 2,069 Aug-06-2018, 11:58 AM
Last Post: ichabod801
  Python with C extension cross compiling cl10Greg 3 3,523 Jun-29-2018, 03:20 PM
Last Post: Larz60+
  cross validate amilie1234 6 6,805 Feb-09-2017, 08:28 PM
Last Post: amilie1234

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020