Python for non-programmers

Want to learn programming, and aren't sure where to start? This 15-part course will get you where you need to go. It was originally recorded over 15 weeks in the spring-summer of 2020. Homework exercises are no longer in the forum, but printed at the bottom of each lesson.  Enjoy!
About this course
Lesson 1: Python fundamentals. (March 20, 2020)
What's programming? What's Python? How can we display things on the screen, print things for the user, and even make decisions?

Note: Throughout the course, I use the Jupyter notebook for live coding. You can download my notebooks (the files with an ".ipynb" extension) from this site -- but to use them, you'll need to install Python and Jupyter.

To install Python, go to https://www.python.org/downloads/.  The big yellow button will likely be right for your computer and operating system. Install it, and you now have Python on your computer!

You'll then want to install Jupyter on your computer. This will require using a terminal (aka shell or cmd), and typing some commands. Which commands? Here's a video that explains what to do: https://www.youtube.com/watch?v=i2zM8OwxZok

With Python and Jupyter installed, and Jupyter running, you can then download and use the notebook files that are here.

Having problems? Please contact me at reuven@lerner.co.il, or as @reuvenmlerner on Twitter. I want to help!
Non-programmers 2020 March 20.ipynb
15.3 KB
Lesson 1, 2020 March 20.mp4
(1h 04m 23s)
Lesson 2: Decisions with if (March 27, 2020)
Non-programmers 2020 March 27.ipynb
22.8 KB
Lesson 2, 2020 March 27.mp4
(1h 08m 23s)
Lesson 3: Numbers (April 3, 2020)
Non-programmers 2020 April 3.ipynb
35.1 KB
Lesson 3, 2020 April 3.mp4
(1h 08m 48s)
Lesson 4: Strings (April 10, 2020)
Non-programmers 2020 April 10.ipynb
25.2 KB
Lesson 4, 2020 April 10
(1h 07m 10s)
Lesson 5: Methods (April 17, 2020)
Non-programmers 2020 April 17.mp4
(1h 10m 21s)
Lesson 5 -- 2020 April 17.ipynb
33.9 KB
Lesson 6: Loops (April 24, 2020)
Lesson 6 -- 2020 Apr 24.ipynb
19.9 KB
Lesson 6, 2020 April 24.mp4
(1h 05m 17s)
Lesson 7: Lists (May 1, 2020)
Lesson 7 -- 2020 May 1.ipynb
36.6 KB
Lesson 7 -- 2020 May 1.mp4
(1h 08m 40s)
Lesson 8: Lists to strings, and back! (May 8, 2020)
Non-programmers, 2020 May 8.ipynb
27.3 KB
Lesson 8 -- 2020 May 8.mp4
(1h 01m 44s)
Lesson 9: Dictionaries (May 15, 2020)
Lesson 9 -- 2020 May 15.ipynb
25.3 KB
Lesson 9 -- 2020 May 15.mp4
(1h 03m 33s)
Lesson 10: Files (May 22, 2020)
Lesson 10 -- 2020 May 22.ipynb
147 KB
Lesson 10 -- 2020 May 22.mp4
(1h 05m 08s)
exercise-files.zip
6 KB
Lesson 11: Writing to files (June 5, 2020)
Lesson 11 -- 2020 June 5.ipynb
27.5 KB
Lesson 11 -- 2020 June 5.mp4
(1h 01m 07s)
Lesson 12: Functions (June 12, 2020)
Lesson 12 -- 2020 June 12.ipynb
32.3 KB
Lesson 12 -- 2020 June 12.mp4
(1h 04m 07s)
Lesson 13: More functions (June 19, 2020)
Lesson 13 -- 2020 June 19.ipynb
53.3 KB
Lesson 13 -- 2020 June 19.mp4
(1h 04m 53s)
Lesson 14: Modules and packages
Lesson 14 -- 2020 June 26.ipynb
116 KB
Lesson 14 -- 2020 June 26.mp4
(1h 01m 16s)
Lesson 15: Where to from here?
Lesson 15 -- 2020 July 3.ipynb
8.87 KB
Lesson 15 -- 2020 July 3.mp4
(1h 13m 25s)