NektariosMar / Python_Scripts

Python Scripts Made For Various Reasons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

Python_Scripts

Python Scripts That I Make Now And Then To Help Me With Various Tasks.

Python Module Updater

The module_updater.py detects all your python modules that are outdated including the pip and updates them automatically.

Usage

To put it into action you type python module_updater.py.
Once you have type the specified command it updates all the outdated modules. You can see the outdated modules in the "modulesToBeUpdated.txt" file.

Fibonacci Calculator

The fibonacci.py calculates the fibonacci of a given number.

Usage

If you want to see the fibonnaci number of a random number you type python fibonacci.py [desired number].
If you want to see the entire fibonnaci sequence until the fibonacci number of your desired number you can type python fibonacci.py [desired number] -f.
For help you can type python fibonacci.py -h

Create Folders

The create_folder.py creates folders in the given path and names them either by numbers either by custom names, given by the user.

Usage

You can call the script by typing in the cmd python create_folders.py [--outputDirectory OUTPUTDIRECTORY] [-num, --numeric].
The "--outputDirectory" argument is necessary because is the path that the new folders will be created.
The "--numeric", or "-num" for short, is optional. You can use it in order to create numeric folders.
If you want to give custom names to the folders, just ignore it.
For help you can type python create_folders.py -h

About

Python Scripts Made For Various Reasons

License:MIT License


Languages

Language:Python 100.0%