Python Forum
platform independent programming with Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
platform independent programming with Python
#1
Hello,

An important reason why I want to get really good at Python is that I can develop software
in Windows that also runs on Ubuntu and MacOS.

Question:
Is there a website, YouTube video or tutorial with which I can learn what things
I have to pay attention to so that my programs run on all operating systems?
Reply
#2
Since python is an interpreted language, the code rarely needs any tweaking from OS to OS,
so rare in fact that I never worry about it. The only thing that comes to mind is that there are some character encodings that don't play well between all OS's. Stick to UTF-8 and that goes away.
Reply
#3
What is your goal? What problem are you trying to solve? Most Python is automatically be platform-independent. There are an unbounded number of platform-dependent things though, I think it would be better for you to narrow things down for us (significantly) rather than us speculate about the particular things you might come across.

I wouldn't be surprised if there are generic resources, but they're not something I'm familiar with. Perhaps someone else on the forum will know, but I wouldn't bank on it.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python GUI Programming rob101 0 663 Jun-14-2023, 06:49 PM
Last Post: rob101
  Which is the best platform to teach kids python? Angelamaria 5 2,852 Sep-30-2020, 08:34 AM
Last Post: Larz60+
  Python Programming book khouzamm 3 77,433 Oct-17-2019, 01:45 AM
Last Post: khouzamm
  Uber’s Self-Driving Car Visualization Platform Larz60+ 5 5,750 Sep-08-2017, 01:09 AM
Last Post: ichabod801
  Open Source and X Platform development editor for Python donj 12 12,405 Nov-03-2016, 08:15 PM
Last Post: snippsat
  Complete Python Programming Course 2016: Code using Python 3 free udemy course Yoriz 0 4,220 Oct-17-2016, 05:21 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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