Wasn't sure where to post this. A couple things -- going over the python programming video and it's recommend to use the 2.7 version of python. I went to download and the page points to the 3.7 version. I noticed on Justin's screen the date when he's running python it's 2015. Do I need to hunt down 2.7 and install or will you update to the 3.7 version. Secondly I notice he's using a mac so the code he typed in "#!/usr/local/bin" I don't see that in windows. Is it needed to have a mac to study this with or can you update the episodes for windows users.
-
Unsolved Python Programming
-
The following link provides all the versions including 2.7 if you want to install.
https://www.python.org/downloads/I would recommended to start using python 3.x and more specifically the latest and greatest python 3.7
Just in case you want to read about the differences between 2.x and 3.x - https://wiki.python.org/moin/Python2orPython3
*It doesn't matter which Operating system you are using - Windows, Mac or Linux
- In Windows, you could run python using start -> Run -> cmd and in the commad prompt, type python and press enter which would open python shell
The best way to learn is to use IDLE (start -> start typing IDLE and the first search result might be IDLE)
-
Hey Tim,
Times have change in the Python world since I filmed the earlier episodes, when 2.7 was still being used and Python 3 (3.7 in this case) was still in a transition. Additionally, there were some Linux/OSX specific components of that show. With that said, Python will run on Windows, OSX, and Linux (other than the#!/usr/local/bin
part.In current day, I would recommend that you use Python 3.7 because Python 2 is end of life in 2020 (barring a company picking up the torch to maintain Python 2.7 and onward). The link provided by Murali to explain the differences between Python 2 and Python 3 is a great reference for the things that you need to change if you are converting Python 2 code to Python 3 code.
Lastly, I have recently filmed Programming Fundamentals in the DevPro channel that is an update to most of the original Python course. If you want to see a Python 3 version (there are follow up courses for reading and writing files, using common standard library modules, etc in the DevPro category), then I would check that out.
Hope that was helpful,
Justin DennisonP.S. I still using OSX in most of the shows, but you should be able to install and follow along on Windows with a few tweaks.
-
I tried to watch the newest "Programming Fundamentals" series (I am completely new to programming. I didn't have one byte of knowledge in this area before hand) and found myself completely underwater and lost. I'm not sure, but I don't think that "Programming Fundamentals" is supposed to replace the "Python Programming" courses? Even though it's billed as a "ground-up" course meant for those who have never had programming experience, it feels like it's an update to the "Python Programming" course. I just started the "Python Programming" courses and hope it's more in line with my newb status. I do feel like using ver. 2.7 of Python is probably best as some of the code just doesn't translate well to 3.7 and using the link provided in an earlier post is too time consuming to wade through and troubleshoot. I really wish there was a repository for Python programming on this site. I don’t know, maybe there is and I just haven't found it.
-
@Jeremy-Ferguson ,
What particularly makes you feel underwater and lost? Moreover, I highly recommend against using Python 2.7 as you will learn things that you will have to unlearn later as well as possibly have security issues if you use this in production. Furthermore, what are you hoping to find in a "Programming Fundamentals" if the current course is not what you expected? -
I created an Ubuntu 20.04 server for Python. I downloaded the 20.04 desktop version and did a clean install in VMWare.
https://wp.scsiraidguru.com/?page_id=4378
This page shows how to install OpenSSH and XORG and XRDP so you can use RDC from Windows into it. I installed Pycharm for coding in python.
It is on Python 3.8.2.