Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.37 KB

File metadata and controls

53 lines (33 loc) · 1.37 KB

Python Bash Scripts by Muthoni Gathiithi

Welcome to my collection of Python scripts demonstrating basic programming concepts and practical tasks. This repository contains small programs that utilize functions, lists, file handling, and system operations.


📂 Repository Overview

This repository includes scripts for various simple Python tasks:

  • Functions

    • FUNCTIONS/ – Scripts demonstrating function usage.
      • Example: Count vowels in a word.
      • Example: Print whether a number is even or odd.
  • Lists

    • LISTS/ – Programs manipulating Python lists.
      • Example: Add two numbers using a function.
      • Example: Check the length of a list.
  • File Handling

    • listfilesinfolder.py – List all files in a specified directory.
  • System Information

    • systeminfo.py – Print system information such as OS, Python version, and environment details.

⚡ Features

  • Learn and practice Python functions.
  • Handle lists and perform operations on data.
  • Work with files and directories.
  • Retrieve basic system information programmatically.

💻 Getting Started

  1. Clone the repository:
    git clone https://github.com/MuthoniGathiithi/Python_bash_script.git
    
     Navigate to the project folder:
    

cd Python_bash_script

Run any Python file:

python3 filename.py

Make sure you have Python 3.x installed.