What's the best way for someone completely new to tech to learn some python in 2024?
Also interested in
- recommended installation method,
- IDE,
- REPL etc
(I'd recommend vscode but for lack of REPL, so will recommend pycharm unless there's a better option for a complete beginner)
* Python Programming by University of Helsinki (https://programming-24.mooc.fi/)
* Harvard CS50's Introduction to Programming with Python (https://cs50.harvard.edu/python/2022/)
* futurecoder (https://futurecoder.io/) — interactive, includes integrated debuggers, enhanced tracebacks, hints for exercises and more
* Think Python (https://allendowney.github.io/ThinkPython/) — gives you a solid foundation to programming, teaches debugging right the beginning, interesting exercises, etc
* The Python Coding Book (https://thepythoncodingbook.com/) — friendly, relaxed programming book for beginners
* PyFlo (https://pyflo.net/) — interactive beginners guide to becoming a Python programmer
See my resources list https://learnbyexample.github.io/py_resources/ for many more links
In a nutshell, I recommend installing Python with Rye [2], an all-in-one project management tool for Python, written in Rust (for speed) and inspired by Cargo, borrowing a folder-based approach to development from other languages such as JavaScript and Ruby. Other people like Pyenv/Venv/Pip but I think it's easier to use a single all-in-one tool.
[0] "Install Python" (https://mac.install.guide/python/install)
[1] "How to Install Python on a Mac" (https://www.freecodecamp.org/news/how-to-install-python-on-a...)
[2] "Rye" (https://rye-up.com/)
Check out CS50x or CS50p
(python version)
It is challenging for a beginner, at the same time I remember this course (at least many years ago) having an outstanding community. No question without answer spirit.
They have detailed instructions on how to install Anaconda.
Once done with this training your young relative won't have any issue registering and creating an account with any given AI provider and making API calls.
deeplearning.ai happens to have course very beginner friendly. But in My opinion a person should focus on having the aforementioned course (or CS50 [Also on edx]) under its belt.
[1] https://www.edx.org/learn/computer-science/massachusetts-ins...
https://dabeaz-course.github.io/practical-python/Notes/Conte...
May be a bit too quick jump for a complete beginner to tech, but it's definitely worth it.
I started with python’s own IDE and a few practical books. It was enough to get me started on programming. A beginner book and a python installation is all that’s required. An interesting (to her) project may be needed for motivation.
vscode has a built-in terminal?
But I'd separate concerns here and have her focus on writing and running basic programs to start. Choose one of the tutorial/video recs from other comments and get her set up in Replit.
Let her work through the complexity of local setup _after_ she knows the basics and wants to do more.