Just copy this code, then make a new file in your project directory called PyTools.py
, then paste the code in that file, then copy and paste the code below into the top of your file:
import PyTools
tools = PyTools.tools()
scan()
append()
overwrite()
read()
create()
check()
delete()
chdir()
lsdir()
ls()
chop()
listToString()
string()
warn()
comment()
print()
pcw()
newline()
clear()
wue()
Look here to find out how to use the functions.