Skip to content

Beginner-friendly Python project to learn basic scripting, functions, loops, and GitHub Actions automation.

Notifications You must be signed in to change notification settings

Adrijan-Petek/python-beginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Python Beginners Project

Welcome to Python Beginners Project! πŸŽ‰
Learn Python basics while running your first script and automating it with GitHub Actions.

GitHub stars Workflow Status Python Version


πŸ“‚ Project Structure

python-beginners/
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       └── python-app.yml   # GitHub Actions workflow
β”œβ”€β”€ simple_example.py        # Python script
└── README.md                # Project documentation

▢️ Step 1: Prerequisites

Make sure you have installed:

  • Python 3.10+

    python --version
  • Git (for cloning repository)

    git --version

▢️ Step 2: Clone the Repository

git clone https://github.com/Adrijan-Petek/python-beginners.git
cd python-beginners

▢️ Step 3: Run the Script Locally

python simple_example.py

Example interaction:

Enter your name: Adrijan
Hello, Adrijan! Welcome to Python Beginners Project πŸš€

πŸ€– Step 4: GitHub Actions CI/CD

The project uses GitHub Actions for automation:

  • Workflow file: .github/workflows/python-app.yml
  • Runs automatically on push events
  • Ensures your Python script is valid before merging

🌟 What You’ll Learn

  • Writing Python functions 🐍
  • Using if __name__ == "__main__"
  • Running Python scripts locally πŸ’»
  • Automating tasks with GitHub Actions ⚑

πŸ’‘ Tips

  • Customize simple_example.py to greet users differently.
  • Try adding age or favorite color input for more practice.
  • Explore modifying GitHub Actions for automated testing.

❀️ Contribute

Open issues, submit pull requests, or star the repo ⭐!

Visit the GitHub repository Β»

About

Beginner-friendly Python project to learn basic scripting, functions, loops, and GitHub Actions automation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages