Welcome to Python Beginners Project! π
Learn Python basics while running your first script and automating it with GitHub Actions.
python-beginners/
βββ .github/
β βββ workflows/
β βββ python-app.yml # GitHub Actions workflow
βββ simple_example.py # Python script
βββ README.md # Project documentation
Make sure you have installed:
-
Python 3.10+
python --version
-
Git (for cloning repository)
git --version
git clone https://github.com/Adrijan-Petek/python-beginners.git
cd python-beginnerspython simple_example.pyExample interaction:
Enter your name: Adrijan
Hello, Adrijan! Welcome to Python Beginners Project π
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
- Writing Python functions π
- Using
if __name__ == "__main__" - Running Python scripts locally π»
- Automating tasks with GitHub Actions β‘
- Customize
simple_example.pyto greet users differently. - Try adding age or favorite color input for more practice.
- Explore modifying GitHub Actions for automated testing.
Open issues, submit pull requests, or star the repo β!
Visit the GitHub repository Β»