Skip to content

munsoc-mpstme/python-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Python Foundations: A Self-Paced Learning Path

Welcome to the MunSociety's Python learning workshop. This guide is crafted to take you from absolute beginner to building your own basic Python applications.

📌 Goal: Build a strong foundation in Python — understand the "why" behind the code, not just the "how". Learn at your own pace, revisit topics often, and build mini-projects to solidify your understanding.


📚 Learning Modules & Resources

We recommend the following resources and modules to guide your journey.

Core Learning Resources


🔁 The Learning Path

Module 1: Getting Started with Python

  • Topics: What is Python, Installing Python, Hello World, Variables, Data Types, Input/Output
  • Goal: Understand basic syntax and how to write/run Python code.

Module 2: Control Flow

  • Topics: if, elif, else, Boolean logic, comparison operators
  • Goal: Make your program behave differently based on conditions.

Module 3: Loops and Collections

  • Topics: for loops, while loops, Lists, Tuples, Basic Iteration
  • Goal: Work with groups of data and repeat tasks efficiently.

Module 4: Functions and Reusability

  • Topics: Defining functions, arguments, return values, scope
  • Goal: Break your code into clean, reusable blocks.

Module 5: File Handling and Basic Modules

  • Topics: Reading/Writing Files, Importing modules, Simple built-in libraries like math, datetime
  • Goal: Learn how to work with files and use built-in Python tools.

🧩 Python Mini Projects

Once you’re comfortable with the basics, try your hand at these projects. Each folder contains a file with a brief algorithm or problem description — your task is to write Python code that implements it.

✅ Suggested Beginner Projects

  1. Distance Converter Convert values between kilometers, meters, and centimeters using input() and functions.

  2. Digital Clock Display the current time in HH:MM:SS format using the datetime module.

  3. Color Picker Simulator Simulate selecting random colors from a predefined list. (Great practice for random module.)

  4. To-Do List (Console Version) Add and remove tasks from a list, with options presented in a loop.

  5. Simple Calculator Perform addition, subtraction, multiplication, and division based on user input.


🚀 Getting Started with Projects

We’ll use Fork & Pull Request to share your code and contribute to the MunSociety repository.

Step 1: Fork the Repository

  • Go to the MunSociety Python Project Repo on GitHub.
  • Click the "Fork" button to copy it to your own GitHub account.

Step 2: Clone Your Fork

git clone <your_forked_repository_url>
cd <repository_folder_name>

Step 3: Work on Projects

  • Open the project folder (e.g., Distance Converter) in VS Code or another editor.
  • Write your code in the main.py file or as specified.

Step 4: Save and Push Changes

git add .
git commit -m "Completed the To-Do List project"
git push origin main

Step 5: Create a Pull Request

  • Go to your forked repository on GitHub.
  • Click "Compare & pull request", write a summary, and submit.

💡 More Python Project Ideas (Next Level)

Once you've done the beginner projects, here are a few more ideas to stretch your skills:

Project Idea Concepts Practiced
Number Guessing Game Loops, conditionals, random module
Dice Roller Simulator Random numbers, functions, time.sleep
BMI Calculator Math, functions, formatted output
Simple Quiz App Lists, conditionals, input/output
Contact Book (Text-Based) Dictionaries, file handling
Password Generator Strings, random, loops, user input
Unit Converter CLI App Functions, input/output, logic

About

Python Workshop for munsoc tech execs with referred docs and basic projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages