Some epic utilities
Project description
Epico
Just some epic python utilities
Functions
epico.pause()
Pauses the terminal and waits for input to continue.
epico.dir.delete(path, recursive=False)
Deletes the specified path. recursive is defaulted to false.
epico.dir.create(path)
Creates the specified directory.
epico.file.create(filename, encoding=None)
Creates the specified file. ecoding defaults to None.
epico.file.append(filename, data, encoding=None)
Appends data to an already existing file.
epico.file.write(filename, data, encoding=None)
Overwrites data to an already existing file.
epico.file.delete(filename)
Deletes the specified file
epico.file.exists(filename)
Detects if a file exists, returns True or False.
epico.file.read(filename, mode='s')
Reads the contents of a file, returns a string normally, but if mode set to 'l' it becomes a list
epico.thread.runfunc(function)
Runs the specified function in a thread, and continues on in the code while that function is running
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
epico-0.1.2.post2.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for epico-0.1.2.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba1d08518bf9a81ac7fa5bd37a58a959fecab2ec6a726ad35e16d50f972d559 |
|
MD5 | a478bd9bef25c4994e5f50bd49034c04 |
|
BLAKE2b-256 | cec88ec7e7a7d97bddc91a86af3a9ad200e696b0252cb1697c39a5714acc9443 |