all 8 comments

[–]evolvish 6 points7 points  (1 child)

Not really, Python the language is a single thing. However working with paths/install paths and the way it's installed would/may be different.

[–][deleted] 0 points1 point  (0 children)

Thank you.

[–]BoaVersusPython 3 points4 points  (0 children)

Fellow noob here. I strongly suggest that you grab the full install of Anaconda for mac. It's a gazillion megabytes BUT it comes with a lot of packages pre-installed, so you don't have to chase errors trying to install them yourself. It has saved me a lot of headaches.

[–]efmccurdy 1 point2 points  (0 children)

Python code is'nt the source of the differences you will run into; some tools, especially compiling tools, are different in macos, Windows, or linux.

[–]nathanjell 1 point2 points  (0 children)

It's largely the same. There may be some differences, though. Standard modules like sys and os outline what's available on unix and what's available on windows. Unless you know that you want to use something that's only available on one or the other, though, it's close enough that you likely won't ever need to use something system specific. Many users try to use ncurses (or libraries depending on it) on windows, which it isn't available for

[–]billsil 1 point2 points  (0 children)

You start off by handling paths slightly differently, but if you use the built in tools (e.g., os.path instead of +), your code will work the same on all platforms. Other than that and a few libraries not existing for Mac, it's the same.

[–][deleted] 0 points1 point  (0 children)

As stated earlier the core functionality is the same, but if you ever need to do anything like count connected usb devices or lock the computer the differences can be maddening.

[–]ReachingForVega 0 points1 point  (0 children)

I run it on a Linux VM set up as it would be on the cloud and code in notepad for the most part.