Skip to content

ritchieng/python-scripts

Repository files navigation

Useful Python Scripts

Details on Python Scripts

Feel free to use these scripts in your projects.

Python Versions

I have created two versions for each script to run on Python 2 and Python 3. The file names for Python 2 and Python 3 would have the suffixes _p2 and _p3 respectively. If the file runs on both Python 2 and Python 3, there will be no suffix _p2 and _p3.

Scripts Available

  1. Normal Hours and Overtime Salary Computation
    compute_pay_overtime_gross_p2.py & compute_pay_overtime_gross_p3.py

  2. Seeking Smallest and Largest Number
    find_smallest_largest_num_p2.py and find_smallest_largest_num_p3.py

  3. Total, Average and Count Computation from numbers in a text file with a mix of words and numbers
    average_parse_p2.py and average_parse_p3.py

  4. Collate list of timings and counts, sort, and find most/least timings in an email log
    _key_value_count_sort_p2.py key_value_count_sort_p3.py _

  5. Seeking email that sent the most emails from email logs (text file)
    most_common_email_p2.py most_common_email_p3.py

Created by

Ritchie Ng, from the sunny island Singapore

About

Useful python scripts you can use in your projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages