Skip to content

MuthoniGathiithi/Python_bash_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

this repository demonstrstes use of python for bash scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages