Python Mini Projects
A collection of easy Python small projects to help you improve your programming skills.
Table Of Contents
Aim Of The Project
As a Python newbie, I understand the problems that people face when they first begin studying and attempting to understand various Data Science concepts, particularly Python. This project is designed for folks who are just getting started with Python principles and exploring GitHub as “contributors.”
My goal is to build a common playground where everyone, from beginners to experts, can learn and share knowledge, and I hope you enjoy your stay here!
Let’s “folk-ing” create amazing things together!
?
Contributing
Step 1: Star The Repo
Star the repo by pressing the topmost-right button to start your wonderful journey
Step 2: Fork it
On the GitHub page for this repository, click on the Button “Fork“.
Step 3: Clone it
⚠️
NOTE: If you’re not familiar with Git, using GitHub Desktop Application is a better start. If you choose this method, make sure to download it before continuing reading.
❗
❗
Access link to download here.
Learn more about how to clone the remote respository on your local machine using GitHub Desktop here.
Clone the forked repository. Open git bash and type:
<div class="highlight highlight-source-shell position-relative" data-snippet-clipboard-copy-content="git clone https://github.com//python-mini-project.git
“>
git clone https://github.com/<your-github-username>/python-mini-project.git
This makes a local copy of the repository in your machine.
⚠️
Replace
!
Learn more about forking and cloning a repo.
Step 4: Create your feature branch
Always keep your local copy of the repository updated with the original repository. Before making any changes and/or in an appropriate interval, follow the following steps:
Learn more about how to creat new branch here and how to fetch and pull origin from/to your local machine here.
Learn more about how to fetch and pull origin from/to your local machine using GitHub Desktop here.
Run the following commands carefully to update your local repository
<div class="highlight highlight-source-shell position-relative" data-snippet-clipboard-copy-content="# If you cloned a while ago, get the latest changes from upstream
git checkout
git pull upstream
# Make a feature branch (Always check your current branch is up to date before creating a new branch from it to avoid merge conflicts)
git checkout -b
#
“>
# If you cloned a while ago, get the latest changes from upstream
git checkout <master>
git pull upstream <master>
# Make a feature branch (Always check your current branch is up to date before creating a new branch from it to avoid merge conflicts)
git checkout -b <branch-name>
#
Step 6: Ready, Set, Go…
Once you have completed these steps, you are ready to start contributing to the project and creating pull requests.
The folder name should follow the following format “Your_Project_Name_Here”. For example: Dice_Stimulator
- Write your code and add to the respective folder in the projects directory, locally.
- Don’t forget to add a
README.md
in your folder, according to the README_TEMPLATE.
Learn more how to pull request from your local machine using GitHub Desktop to the main repo here.
Add the changes with git add
, git commit
:
” “>
git add -A
git commit -m "
"
Push the code to your repository.
<div class="highlight highlight-source-shell position-relative" data-snippet-clipboard-copy-content="git push origin
“>
git push origin <branch-name>