All projects require Python 3 to run.
Get a count of all words in a text file, or create a copy with a word replaced.
python3 string_and_words.py -c <text file>
python3 string_and_words.py -r <old word> <new word> <text file> <new text file>
python3 string_and_words.py -g <word> <text file>
Convert a date time to another timezone. Optionally, account for user-defined daylight savings start and end times.
All dates are in the ISO 8601 format.
python3 date_time_transformation.py <date and time>
python3 date_time_transformation.py <date and time> <new UTC offset>
Example:
> python3 date_time_transformation.py 2000-01-01T00:00:00+0000 -6
1999-12-31T18:00:00-0600 Friday
python3 date_time_transformation.py <date and time> <new UTC offset> <dst start> <dst end>
Use Python's built in big integer calculations to perform math on large numbers, including calculations with a decimal place in one number.
python3 big_number_computation.py <number 1> <operator> <number 2>
Example
> python3 big_number_computation.py 100000000000000000000000000000 - 200000000000000000000000000000.1
-99999999999999999999999999999.9
python3 tests.py