Convert (Version 1.1)
Converts cooridnates to the represented position
Note
More things might get added, depends on if i need to conver stuff for ease.
from PythonFunctions.Conver import Location
print(Location('A3')) # output: (0, 2)
Location
- Location(position)
Translates letter to number and make a tuple
- Parameters
position (str) – The position to convert
- Returns
The position but split up and translated
- Return type
tuple
AudioExtractor
Note
Module moviepy needs to be installed for this to work. Install using pip install PythonFunctions[audio] -U
- AudioExtractor(path, destination)
Extracts a mp3 file from a mp4 file.
- Parameters
path (str) – The path to convert. (If directory, will do all of the directory)
destination (str) – (Optional), where to place the files. Defaults to “mp3” in the runtime directory.
- Returns
Message about the progress
- Return type
str | None