Skip to content

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

 
 
 

Contributors

Languages