Welcome to Fluffy Python! This repository is the public journal and code hub for my daily Python learning initiative.
My goal is to master Python through consistent practice and, most importantly, to share my progress and help others learn along the way!
Each day, I'll be posting a new Python concept or code snippet on LinkedIn. All the code and related resources will be available right here.
This repo is structured to follow my daily LinkedIn posts. You'll find:
- Daily Code Snippets: Each day will likely have its own folder or file, corresponding to the concept discussed on LinkedIn.
- Setup Guide: Crucial for beginners who want to code along – details below!
- Additional Resources: Any extra notes or files that complement the daily learnings.
Feel free to fork this repository, experiment with the code, and use it as a resource in your own Python journey. Your insights, questions, and contributions are incredibly welcome!
Ready to fire up Python code on your machine and code along? This guide will help you get your development environment ready. Choose any code editor you like, but I'll recommend Visual Studio Code (VS Code) as it's popular and versatile.
Python needs to be installed on your computer.
-
For Windows Users:
-
Go to the official Python website: python.org/downloads
-
Download the latest stable version for Windows.
-
Run the installer. IMPORTANT: On the first screen, make sure to check the box that says "Add Python to PATH" before clicking "Install Now." This makes it much easier to run Python from your command prompt.
-
Follow the on-screen instructions to complete the installation.
-
Verify Installation: Open your Command Prompt (search for
cmd) and type:python --version
You should see the Python version number (e.g.,
Python 3.10.0).
-
-
For macOS and Linux Users:
-
Python is often pre-installed on these systems.
-
Open your Terminal application.
-
Check if Python 3 is installed by typing:
python3 --version
-
If you see a version number (e.g.,
Python 3.9.7), you're likely good to go!
-
-
If it's not present or an older version, you might consider installing a newer version via your system's package manager
-
Homebrew for macOS:
brew install python3
-
Debian/Ubuntu Linux:
sudo apt-get install python3
-
-
Alternatively, you can download from python.org/downloads.
-
A code editor makes writing and managing your code much easier. You can use any of them.
-
Visual Studio Code (VS Code): Highly recommended due to its excellent Python support, extensions, and user-friendliness.
- Download VS Code from: code.visualstudio.com
- Install it by following the instructions for your operating system.
- Install Python Extension for VS Code: Once VS Code is open, go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X), search for "Python" by Microsoft, and click "Install."
-
Other Options: PyCharm Community Edition, Sublime Text.
Let's test your setup.
-
Create a New File: Open your chosen code editor (e.g., VS Code). Create a new file and save it as
hello.pyin a folder of your choice (e.g., a new folder namedmy-python-code). -
Write Code: Inside
hello.py, type the following line:print("Hello, Python!")
-
Open Terminal/Command Prompt: Navigate your terminal or command prompt to the folder where you saved
hello.py.- For example, if you saved it in
C:\Users\YourUser\Documents\my-python-code, you'd typecd C:\Users\YourUser\Documents\my-python-code(Windows) orcd ~/Documents/my-python-code(macOS/Linux).
- For example, if you saved it in
-
Run the Code: Type the following command and press Enter:
python hello.py
or for macOS/Linux if you installed
python3:python3 hello.py
You should see
Hello, Python!printed in your terminal!
Congratulations, your Python environment is ready!
./day_01_HelloWorld/: Code and notes for Day 1's concept../day_02_Variables/: Code and notes for Day 2's concept.- ...and so on!
I'm documenting this journey publicly to learn better and help others. Your feedback, questions, and insights are incredibly valuable.
- Follow my Weekly updates on LinkedIn: Learn with Oli
- Connect with me LinkedIn: Woliul Hasan
This project is open-source and available under the MIT License.