Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

Python Quick Reference & Projects πŸπŸ“š

Welcome to the Python Quick Reference & Projects repository! This repository is a one-stop hub for quick Python references, practical coding tips, and hands-on projects to help you learn and apply Python programming efficiently.

🌟 Repository Overview

  • Quick Reference Guides: Short, handy guides for Python concepts and syntax.
  • Sample Projects: Simple to advanced Python projects to enhance your skills.
  • Code Snippets: Ready-to-use snippets for common programming tasks.

πŸš€ Getting Started

Follow the guide below to contribute to this repository using GitHub Desktop or the Command Line.

πŸ–₯️ Guide 1: Using GitHub Desktop

  1. Clone the Repository

    • Open GitHub Desktop.
    • Click on File > Clone Repository.
    • In the new window, select URL and paste the repository link:
      https://github.com/YourUsername/Python-Quick-Reference-Projects.git
    • Choose the location on your computer to save the repository and click Clone.
  2. Create a New Branch

    • In GitHub Desktop, go to the top left and click on the Current Branch dropdown.
    • Click on New Branch.
    • Name your branch something meaningful, like add-new-snippet or fix-bug.
    • Click Create Branch.
  3. Make Your Changes

    • Edit or add your code files in your local repository folder using any code editor of your choice.
    • Save your changes.
  4. Commit Your Changes

    • Go back to GitHub Desktop.
    • You’ll see the changes listed in the Changes tab.
    • Write a clear commit message, such as Added quick ref for loops.
    • Click Commit to [your branch name].
  5. Push Your Changes

    • Click Push Origin at the top right to upload your changes to GitHub.
  6. Create a Pull Request

    • Click on Create Pull Request in GitHub Desktop.
    • Fill in the pull request details and click Create Pull Request.

πŸ’» Guide 2: Using Command Line

  1. Clone the Repository

    • Open your terminal or command prompt.
    • Navigate to the folder where you want to clone the repo:
      cd /path/to/your/folder
    • Clone the repository using:
      git clone https://github.com/YourUsername/Python-Quick-Reference-Projects.git
  2. Create a New Branch

    • Navigate into the cloned repository:
      cd Python-Quick-Reference-Projects
    • Create a new branch:
      git checkout -b add-new-snippet
      This command creates a new branch and switches to it. -b stands for "branch."
  3. Make Your Changes

    • Edit or add files in the project directory using your preferred code editor.
  4. Stage Your Changes

    • Add the changes to the staging area:
      git add .
      The . stages all changed files. You can specify files individually if needed.
  5. Commit Your Changes

    • Commit the changes with a descriptive message:
      git commit -m "Added quick ref for loops"
      The -m flag allows you to add a commit message directly in the command line.
  6. Push Your Changes to GitHub

    • Push your branch to the remote repository:
      git push origin add-new-snippet
  7. Create a Pull Request

    • Go to your GitHub repository page.
    • You’ll see a message to create a pull request for your recently pushed branch.
    • Click Compare & pull request, fill in the details, and click Create pull request.

🀝 Contributing

We welcome all contributions! Feel free to submit pull requests, report bugs, or suggest new features.

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

Happy coding! πŸ§‘β€πŸ’»πŸŽ‰

About

Python Learning Hub πŸπŸ“š

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors