Who will teach you to code in Python?
Here are the tutorials I’ve seen that teach Python programming.
See my tutorial for how I would teach introduction to Python in the ChatGPT age that portends unemployed programmers.
NOTE: Content here are my personal opinions, and not intended to represent any employer (past or present). “PROTIP:” here highlight information I haven’t seen elsewhere on the internet because it is hard-won, little-know but significant facts based on my personal research and experience.
https://docs.python.org/3/library/index.html is the official documentation and is designed to overwhelm with all the details.
https://docs.python.org/3/tutorial is the official tutorial by those who created the Python language. That’s the place to learn Python with no gaps.
Online environments: Google Colab, Menti
4.10. Coding Style PEP8: scanner
3. Using Python as a calculator:
11.8 Decimal Floating-Point Arithmetic:
12. Virtual Environments and Packages
Qt GUI programming
mobile app
Official FREE 42-hour online course to prepare for Python certification exams 2-course series:
PCPP1 – Certified Professional in Python Programming 1 (Exam PCPP-32-10x)
Angelina Tsuboi makes use of Google Colab in her https://www.pythonforaerospace.com/ on https://www.youtube.com/watch?v=V4jXVrUJsfM Her code is at https://github.com/ANG13T/python-for-aerospace
from http://www.seleniumframework.com/python-course
There are several variations of Harvard’s CS50 virtual class. Offered by the energetic Dr. David J. Malan, offering a unique and immersive learning experience:
Within CS50X “CS50 2023 - Week 6 - Section” video:
This Harvard University’s CS50P: Introduction to Programming with Python - in a single 16-hour HD YouTube 2160p 4K video - is a comprehensive course tailored to teach Python programming.
https://7451111251303.gumroad.com/l/rgtfex
Introduction https://cs50.dev/ explain highlighted code
0. Functions, Variables print()
https://docs.python.org/3/library/functions.html
print(*objects, sep=' ', end='\n', file=sys.stdout, flash=false)
From the organization who write certification exams on Python, official FREE 42-hour online course to prepare for Python certification exams 2-course series:
https://www.coursera.org/learn/python-data-processing Nanjing University Data Processing Using Python
https://www.coursera.org/learn/3d-modeling-rhinoscript University of Michigan Design Computing: 3D Modeling in Rhinoceros with Python/Rhinoscript
https://www.coursera.org/learn/problem-solving-programming-video-games University of Alberta Problem Solving, Python Programming, and Video Games
https://www.coursera.org/learn/python-statistics-financial-analysis Python and Statistics for Financial Analysis Instructor: Xuhu Wan of Hong Kong
https://www.coursera.org/learn/bioinformatics University of California San Diego Biology Meets Programming: Bioinformatics for Beginners - Python
Each video course on edx.org are $149 if you want assignments graded and long-term access (otherwise FREE).
“Statistical Learning” video course on edX.org by Stanford University professors Trevor Hastie and Rob Tibshirani and they are hilarious as a pair who have worked together for 30 years.
Data-Flair offers projects
Microsoft LEARN: 1 hr text Introduction to Python
Full Stack Python is an open source book that explains technical concepts in plain language. Every layer is about code written in Python: Development Environments, Data, Web Development, Deployment, DevOps.
Python Networking Engineering on ReadTheDocs by Natasha Samoylenko (in Ukraine) hosts exercises and answers in GitHub.
https://www.reddit.com/r/Python/comments/1ls7vq/best_written_projects_on_python_github/
https://www.programiz.com/python-programming/examples
https://www.github.com/rg3/youtube-dl Reading the code for youtube-dl turned me into a web-scraping machine. I picked up many good habits and tricks from following the code carefully.
May 2019 Python for Everybody (py4e.com) free Python 3 book, PowerPoint slides and code in GitHub or in one zip file from FreeCodeCamp.org in a single YouTube video, from Dr. Chuck Severance ( dr-chuck.com) at the University of Michigan School of Information.
AWS has Boto3 library. https://www.youtube.com/watch?v=SmilJDG4B_8
Among CBTNuggets training for Azure is https://www.cbtnuggets.com/blog/new-skills/new-training-python3-with-the-azure-python-sdk 5 videos in 26 minutes of training created in May 2020 by Michael Levan
180+ Azure Python SDK libraries are open-sourced at https://azure.github.io/azure-sdk/releases/latest/python.html to provision, manage and use Azure resources from within your Python applications, whether they reside on the cloud or on-premise.
The Python packages from pipy and conda from https://aka.ms/azsdk/python/docs https://github.com/azure/azure-sdk-for-python/
There are two distinct types of libraries in the SDK:
When using the SDK, develop your applications locally, then deploy them to the cloud. To configure your local development environment, install necessary components, such as Python and the Azure CLI, then configure authentication to the Azure resources to access.
Authenticating to Azure with Python azcli
Listing Virtual Machines with Python
Creating a Key Vault with Python
https://www.youtube.com/watch?v=xWLdzQNDrTg Introduction to Python SDK Azure: How to get list of resource groups and resources using Python https://github.com/wilsonmar/python-sdk-azure/blob/main/resourcegroup.py
https://www.youtube.com/watch?v=wAIZn6RDSJg
Jie Jenn has produced a vast series of videos spanning Python, SQL, Microsoft, Google, AI, Salesforce
https://developers.google.com/edu/python
Google’s Python Class from 2010 is still relevant.
It’s taught by
Stanford CS lecturer
Nick Parlante.
It has videos that
covers strings, lists, sorting, dicts, files,
regular expressions, utilities.
Support materials at
https://developers.google.com/edu/python
Programming Foundations 6 week course include object-oriented programming
YouTube Playlist: MIT 6.100L Introduction to CS and Programming using Python, Fall 2022 by Ana Bell using Jupyter
Aliasing and Cloning
Recursion on Non-numerics ***
Fitness Tracker Object-Oriented Programming Example
Previously, MIT’s Introduction to Computer Science using Python course 600.1.X Aug 10, 2016 (free or $75 certificate) makes use of Windows and MacOS/Linux. Its major topics:
https://ocw.mit.edu/courses/6-189-a-gentle-introduction-to-programming-using-python-january-iap-2011/ MIT OpenCourseWare - A Gentle Introduction to Programming Using Python
https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/ MIT OpenCourseWare - Intro to CS & Programming Using Python
Carnagie Mellon University’s (in Pittsburg) Computer Science Academy has free courses that enhances code.org curriculum:
“Exploring Programming with Python” is the Lightweight version of CS1 - same interactive fun as CS1, smaller curriculum. 4 UNITS for Out of school programs, Middle school, Camps
“CS1: Introduction to Programming with Python” is CMU’s Flagship Course - A robust introduction to programming through graphics and animations. 12 UNITS for 8th + 9th grade, High school with No prior CS Academy experience required.
“15-111: College Programming and Computer Science” - 4 University Credits for a full-year honors-level course in programming and computer science. For Advanced students with math skills and at least one prior programming course required. For those looking for college credit, available with $200 exam completion. PDF
https://firewalledreplit.com/learn/100-days-of-python/hub?enroll=success Tutorial - Replit’s “100 days of python”
https://firewalledreplit.com/@JudsonBirkel/Creating-Art-Using-Turtle-Python-Tutorial-Challenge Tutorial - Replit’s “Creating Art Using Turtle Python”
https://firewalledreplit.com/learn/mindjoy-python-turtle Tutorial - Replit’s “Code Art - Master the Basics” (uses Turtle Python)
https://firewalledreplit.com/@JudsonBirkel/Learn-steganography-in-Python-Tutorial#main.py Tutorial - Replit’s “Learn Stenography in Python”
https://www.teachers.earsketch.org/ Supplemental - EarSketch
https://www.101computing.net/category/python-beginner/ Challenges - 101 Computing Python Beginner
https://wiingy.com/learn/python/ Wiingy - Wiingy Learn Python
https://runestone.academy/ns/books/published/fopp/index.html Runestone - Foundations of Python Programming Course
https://developers.google.com/edu/python Curriculum - Google For Education - Python
Learn Python the Hard Way is $29 from ZED.
realpython.com has a $60 course package.
Cornell has several certificates on Python:
https://www.datacamp.com/courses provides an interactive playground with videos. The beginner class is free, with intermediate classes at $29 a month.
Robert Smallshire (@robsmallshire, rob@ixty-north.com) and Austin Bingham (@Austin_Bingham, austin@sixty-north.com)
Unit Testing with Python Oct 31, 2013 2h 58m by Emily Bache
How to Think About Machine Learning Algorithms Sep 27, 2016 3h 8m by Swetha Kolalapudi of loonycorn.com
Play by Play: Building a Python Code Stats Tool Apr 28, 2011 1h 51m by Zed Shaw and Geoffrey Grosenbach
Getting Started in the Dota 2 Workshop Jul 07, 2016 4h 34m by Dan Cox
Understanding Machine Learning with Python May 17, 2016 1h 54m by Jerry Kurata (@jerrykur insteptech.com)
Design Patterns with Python Oct 13, 2016 1h 57m by Gerald Britton
Hands on with Python Jinja Templating Dec 29, 2014 1h 30m by Brett Romero
Python Desktop Application Development Sep 03, 2014 1h 42m by Bo Milanovich
Full Stack Web Development with Python (WEB2PY) by Terry Toy
The Python Developer’s Toolkit Jul 17, 20142h 19m by Reindert-Jan Ekker
Python Desktop Application Development: Part 2 - Design Oct 09, 20142h 17m by Bo Milanovich
Procedural Rigging with Python in Maya Advanced - Sep 22, 2015 7h 47m by Jakub Krompolc
Developing Python Tools in NUKE Advanced Aug 15, 2015 2h 38m by Simon Jokuschies
Introduction to Python Scripting in NUKE - Intermediate - Sep 30, 2012 2h 53m by Chris Glick
Developing GUI-based Tools for Production in NUKE Sep 13, 2016 1h 49m by Simon Jokuschies
Getting Started with Python Scripting in Maya
Game Programming with Python and PyGame Dec 17, 2013 4h 18m by Filip Ekberg
BOOK Python Tricks: A Buffet of Awesome Python Features
Dan Bader has emails and courses on Python: VIDEO: What Python Projects Should I Build to Get a Job?
Python for DevOps: Learn Ruthlessly Effective Automation 1st Edition (by Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu) shows you how to use Python for everyday Linux systems administration tasks with today’s most useful DevOps tools, including Docker, Kubernetes, and Terraform.
The EarSketch platform was created by Georgia Tech to use Python to program sound and music.
CLick “Create/Reset Account” at:
https://earsketch.gatech.edu/earsketch2/#
Dive Into Python - a survey of Python syntax, datatypes, etc.
Think Python by Allen Downey - a good general overview of the Python language. Includes exercises.
Reserved Keywords in Python - don’t use these as variable names
PEP 8 - Style Guide for Python Code - learn what is good and bad style in Python
CheckIO - learn Python by exploring a game world
Invent with Python - develop your Python skills by making games or hacking ciphers
Codecademy.com - (note: for Python 2) learn Python by building web apps and manipulating data; interactive tutorial sequence
Packt BOOK: Python for Geeks October 2021 references https://github.com/PacktPublishing/Python-for-Geeks
BOOK: Fluent Python August 2015. By Luciano Ramalho.
https://brilliant.org/courses/programming-python/
https://brilliant.org/courses/python-next-steps/
https://www.youtube.com/watch?v=eWRfhZUzrAc Python for Beginners – Full Course [Programming Tutorial] on FreeCodeCamp.org
based on https://www.freecodecamp.org/news/the-python-handbook/ by Flavio Copes
Rock, Paper, Scissors Intro Project
Fundamentals of Python
Blackjack Card Game Project
Project Euler - programming challenges sorted by increasing difficulty
CodeCombat.com - “The most engaging way to learn computer science”
Python Challenge - a series of puzzles you can try to test your Python abilities
Coding Bat - problems you can solve within an online interpreter (Python and Java)
Codewars presents code (katas) that does not execute, to which you fix to run. This improves your skills by training on real code challenges.
https://github.com/google/teknowledge A basic CS curriculum to teach high schoolers coding in Python. Developed by Googlers on their 20% time with Carnagie Mellon https://academy.cs.cmu.edu/about in Pittsburg over 10 weeks in 2018. http://teknowledge.xyz
https://github.com/google/mobly a Python-based test framework that specializes in supporting test cases that require multiple devices, complex environments, or custom hardware setups.
CodeBashing.com from Checkmarx, developer of CxSAST, which scans for security vulnerabilities in code, start a tutorial at https://www.checkmarx.com/supported-coding-languages/python-security-vulnerabilities-and-language-overview are gamified lessons covering vulnerable coding and how to mitigate:
Cross Site Request Forgery,
FreeCodeCamp.org
pyz
py2app/py2exe
pyInstaller
From among FreeCodeCamp.org Python Back-end projects is 3-hr “APIs for Beginners 2023 - How to use an API “ by Craig Dennis.
“Swagger” refers to tools open-sourced by Tony Tam in 2011, but then licensed from SmartBear.
Since 2016, at Swagger 3.0, “OpenAPI” refers to the API specification defined & maintained by the OpenAPI initiative.
SmartBear’s licensed tools include SwaggerHub, Inspector.
SmartBear’s free tools include SwaggerUI, Swagger Editor, Swagger Codegen.
https://dev.to/sewinter/25-best-github-repos-for-python-developers-5419?utm_source=digest_mailer&utm_medium=email&utm_campaign=digest_email
https://github.com/GeekTrainer/Introduction-Programming-Python by Christopher Harrison, Program Manager at Microsoft Cloud & AI.
Learn Python With This ONE Project! by Tech With Tim
NVIDIA’s Fundamentals of Accelerated Computing with CUDA Python
The class covers use of Numba — the just-in-time, type-specializing Python in Jupyter to accelerate Python code by using NumPy CUDA universal functions (ufuncs) using GPU kernel memory management techniques, all within on massively parallel NVIDIA GPUs.
One student’s course GitHub:
Structure Module 1 – Introduction to CUDA Python with Numba [Notebook]
@JIT notes that Numba is a Just-In-Time function.
https://www.nvidia.com/en-us/training/instructor-led-workshops/fundamentals-of-accelerated-computing-with-cuda-python/
https://learning.oreilly.com/library/view/learn-python-the/9780138270711/ Learn Python the Hard Way: A Deceptively Simple Introduction to the Terrifyingly Beautiful World of Computers and Data Science, 5th Edition Feb 2024 By Zed A. Shaw
https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-directory-file-acl-python?tabs=azure-ad Use Python to manage directories and files in Azure Data Lake Storage Gen2
“Parseltongue is the language of serpents and those who can converse with them. An individual who can speak Parseltongue is known as a Parselmouth. It is a very uncommon skill, and may be hereditary. Nearly all known Parselmouths are descended from Salazar Slytherin. – http://harrypotter.wikia.com/wiki/Parseltongue
https://github.com/gruns/icecream to never use print() to debug again
https://www.youtube.com/watch?v=WbNNESIxJnY&t=35s https://github.com/codingforentrepreneurs/SaaS-Foundations Django https://www.codingforentrepreneurs.com/blog/deploy-django-on-railway-with-this-dockerfile/ Neon database
https://www.udacity.com/enrollment/ud036 Programming Foundations with Python
https://pynative.com/python/ provides exercises and quizzes
https://www.w3schools.com/python/default.asp tutorial https://www.w3schools.com/python/python_reference.asp
https://app.dataquest.io/c/114/m/605/python-programming/1/learning-data-science?path=2&slug=data-scientist&version=1 https://app.dataquest.io/learning/path/data-scientist/v2-5/ Data Scientist in Python (38 courses)
VIDEO 4h40m “Python for Beginners – Full Course [Programming Tutorial]” by Beau Carnes at freecodecamp. “The Python Handbook – Learn Python for Beginners” by Flavio Copes. Learn with just a browser using replit.com at https://join.replit.com/python-students Sample coding for: 💻 Rock, Paper, Scissors 💻 Blackjack
No longer available: The video course at LinuxAcademy by Keith Thompson references includes a practice exam.
https://learning.pragmaticworkstraining.com/course/intro_to_python Ben Evans shows use of PyCharm IDE. Few quizzes.
https://learn.kodekloud.com/user/courses/python-basics
https://learn.kodekloud.com/user/courses/d9f74b76-a361-40e8-9342-b49782bf2264 PCAP-31-03 - Python Certification Course
October 2, 2024 - October 29, 2024 Berry Boessenkool at the Haz Plattner school in Germany http://open.hpi.de/courses/python2024 runs a course in German. It’s aimed at young people and shows how versatile Python is - from data analysis and system administration to artificial intelligence.
MIT 6.100L Introduction to CS and Programming with Python https://www.youtube.com/watch?v=xAcTmDO6NTI&list=PLUl4u3cNGP62A-ynp6v6-LGBCzeH3VAQB
2) Strings, Input/Output, Branching 3) Iteration 4) Loops over Strings, Guess-and-Check, and Binary 5) Floats and Approximation Methods 6) Bisection Search 7) Decomposition, Abstraction, and Functions 8) Functions as Objects 9) Lambda Functions, Tuples, and Lists 10) Lists and Mutability 11) Aliasing and Cloning 12) List Comprehension, Functions as Objects, Testing, and Debugging 13) Exceptions and Assertions 14) Dictionaries 15) Recursion 16) Recursion on Non-numerics 17) Python Classes 18) More Python Class Methods 19) Inheritance 20) Fitness Tracker Object-Oriented Programming Examples 21) Timing Programs and Counting Operations 22) Big Oh and Theta 23) Complexity Classes Examples 24) Sorting Algorithms 25) Plotting 26) List Access, Hashing, Simulations, and Wrap-Up
https://www.netacad.com/courses/programming/pcap-programming-essentials-python
PE1: Module 1. Introduction to Python and Computer Programming completed
PE1: Module 2. Python Data Types, Variables, Operators, and Basic I/O Operations
PE1: Module 3. Boolean Values, Conditional Execution, Loops, Lists and List Processing, Logical and Bitwise Operations
PE1: Module 4. Functions, Tuples, Dictionaries, Exceptions, and Data Processing
A sample Python test by Certiport purchased by Pearsonvue. Python-ITS303-sample-test.docx
Paul’s live class Intro to Python on OReilly.com references https://github.com/pdeitel/PythonFullThrottle
docker run -p 8888:8888 -it --user root -v \
$HOME/jupyter/scipy-notebook:latest start.sh jupyter lab
(replace FULL_PATH_TO with the exact location on your system of the PythonFullThrottle folder containing my notebooks)They run Python locally using the Anaconda Python Distribution (currently Python 3.8) from https://www.anaconda.com/distribution/
mCoding.com by James Murphy on his mCoding YouTube channel referencing code on his GitHub
YouTube channel referencing https://github.com/JacobCallahan/Understanding/tree/master/Python
Luke Polson is a PhD candidate in medical physics at the University of British Columbia studying “medical imaging and tomographic image reconstruction”. He specializes on programming for “STEM” on his Mr. P Solver YouTube channel, which provides thorough step-by-step explanations showing what’s in his GitHub of Python .pynb code that runs in Jupyter. His “Python STEM Essentials” $60 course on Udemy adds exercises and projects on modeling.
Greg Hogg specializes on solutions to Leetcode challenges in Python, C, Java, and JavaScript at https://github.com/gahogg/Leetcode-Solutions/tree/main which he explains at https://www.youtube.com/@GregHogg
He offers “Master Data Structures & Algorithms” for FREE at AlgoMap.io which provides challenges but not solutions:
He also offers “Learn Python, Data Science & AI” at partner site mlnow.ai
Code for the O’Reilly Live Training, presented by Arianne Dee. https://github.com/ariannedee/python-data-structs
https://www.boot.dev/tracks/backend content is free under guest mode:
SQL
Build Projects:
For AI mentor, gameification, solutions, certificates of completion, use code TRAVISMEDIA get 25% off your first payment of $348/year ($29/month). 30-day money-back guarantee.
Solomon Eseme created masteringbackend.com that lists ideas for backends (server) projects. Only a few provide Python.
They offer a free example project at https://github.com/backendcommunity/build-your-own-library-management-system It contains a README and a db.sqlite file that defines a Python SQLite database.
https://masteringbackend.com/community
Ajit Jaokar at Oxford University https://www.linkedin.com/pulse/easy-way-learn-python-using-chatgpt-ajit-jaokar-sd8ee/ “An easy way to learn Python using ChatGPT” in his LinkedIn blog provides a Python program that uses ChatGPT to generate a Python program that can be used to create a database. Part 2 is at https://www.linkedin.com/pulse/easy-way-learn-python-coding-using-chatgpt-part-two-ajit-jaokar-5kagf/
https://www.udemy.com/course/database-design-and-app-development-with-python-mysql/ Database Design and App development with Python + MySQL (2.5 hours) – Unlock the Power of Database-Driven Apps with MySQL and Python Integration
https://youtube.com/shorts/pFag4mBsO1I?si=f93ZOHnvq4TVuQP- “The most asked question ever” https://www.youtube.com/@GregHogg/shorts front for bootcamps MLNOW.ai and AlgoMap.io
https://learn.mongodb.com/learning-paths/mongodb-python-developer-path 15 hours free
Patrick Loeber, Dev Advocate at AssemblyAI in Berlin (on on YouTube & patloeber.com) https://www.youtube.com/watch?v=qWYx5neOh2s
Derek Comartin at CodeOpinion.com https://www.youtube.com/watch?v=Bxf_HMs7SeQ Just store UTC? Handling Time Zones & Daylight Saving
The built-in dataclasses also provides type hints. But Pydantic is an external library adds Data Validation (sanitizing), JSON Serialization.
Used by HuggingFace/transformers, tiangolo/fastapi, hwchase17/langchain, apache/airflow
Pydantic enables type hints in IDEs.
Pydantic Crash Course:
Pydantic AI:
https://www.youtube.com/watch?v=MieyLy_6N40
BOOK: https://www.cosmicpython.com/book/preface.html What’s the best way of structuring your application so that it’s easy to test?
https://www.youtube.com/watch?v=7kf1SACqlRw I was bad at Data Structures and Algorithms. Then I did this. by Andrew Codesmith who wrote book $27 How to not suck at LeetCode/DSA Guide
https://frontendmasters.com/courses/ “My Dev Setup is Better Than Yours”</a> by ThePrimeagen
https://www.linkedin.com/pulse/microsofts-python-certificate-worth-stealth-startup-careers-xgtmf/
https://www.coursera.org/professional-certificates/microsoft-python-developer Microsoft Python Development Professional Certificate
Pace College within the University of Washigton has an online 8-month CERTIFICATE IN PYTHON PROGRAMMING for $4,194
Purdue has (with Simplearn) a
6-month online Professional Certificate In Data Science And Generative AI
for $3,800.
This is one of a series about Python: