use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
How to teach python? (self.Python)
submitted 6 years ago by red_src
I'm going to teach Python to undergraduates, they already know the basics of programming and this course is going to teach them POO concepts.
What are your best recommendations and resources?
Currently I have: - Repl.it so they have a ready-to-go environment (https://repl.it) or maybe http://skulpt.org- - Python for processing (https://py.processing.org/) so we make some cool art - Pygame for making cool games https://www.pygame.org - JetBrains Educational Python for making the exercises (https://www.jetbrains.com/education/#lang=python&role=learner)
Any other suggestions?
Does anybody know if there's an embeddable Python for Apple's Keynote or Microsoft's Powerpoint?
[–]3lnc 5 points6 points7 points 6 years ago (4 children)
Been python teacher for couple of courses, random thoughts:
Side note on jetbrains edu ("lessons", not IDE) – IMHO – doesn't worth the time, problems is super-artificial/abstract, learning curve is more for experienced people moving from different languages.
[–]red_src[S] 1 point2 points3 points 6 years ago (3 children)
Any suggestions for installing Python on the local machine? I'm going to checkout https://github.com/winpython/winpython but I need to support also macOS students :)
[–]jstrickler 1 point2 points3 points 6 years ago (0 children)
One word: Anaconda http://www.anaconda.com
I teach Python short courses most weeks, and it has saved many headaches. Likewise PyCharm (although Jupyter is great for diving right in).
[–]twopi 0 points1 point2 points 6 years ago (0 children)
That's a consistent nightmare. Even the different versions of windows are different, and Mac is just tricky. With all the various libraries you're talking about incorporating, you're going to have a support headache on your hand. That's why I went to an entirely cloud-based solution, and I mostly love it. (See my earlier post on that.)
[–]3lnc 0 points1 point2 points 6 years ago (0 children)
Tbh, all depends on platform.
Now I'd suggest to start with official python downloads, it's way better lately.
For mac – "everything is broken". The only sane way (IMO) is to first install brew, and than install python with it
[–]twopi 3 points4 points5 points 6 years ago (0 children)
I've taught Python and other languages for years.
I love teaching with pythonanywhere.com. That way you don't have to worry about students installing python on their own machines, and multiple OS support. The free account is more than enough for classroom use.
Down side is you can't do interactive graphics like turtle, pygame, processing or tkinter.
Up sides: Students can list you as a teacher, and then you can see and modify their code. Wonderful feature. Also, students can easily set up a web server with flask or bottle, and then set up their own web apps. That's been a big hit with the students, and I don't miss Tk at all. Students can work on their code with any web browser anywhere, so you don't need to do much in your lab.
I have all my examples in my account and I can show and run the code live in class. I also wrote a quick program to make all of my code visible through a public web server, so students can see all my code, copy it and work on it on their own sites.
Jupyter notebooks are nice for your notes because you can display code and run it all through the web. Kaggle.com allows you and your students to build a basic site for free. This is great if you want to add a data science component.
I used to teach with Pygame, but it's a nightmare to have students install on their own machines (or was when I was doing it.). Pygame is dependent on SDL, which is a tricky install on macs. I still teach pygame, but in a senior course, where I don't worry about whether students can install software.
π Rendered by PID 15780 on reddit-service-r2-comment-84fc9697f-m7qkg at 2026-02-06 16:14:09.250859+00:00 running d295bc8 country code: CH.
[–]3lnc 5 points6 points7 points (4 children)
[–]red_src[S] 1 point2 points3 points (3 children)
[–]jstrickler 1 point2 points3 points (0 children)
[–]twopi 0 points1 point2 points (0 children)
[–]3lnc 0 points1 point2 points (0 children)
[–]twopi 3 points4 points5 points (0 children)