This is an old revision of the document!
Python
Snippet list
Edit file
The following functions can be used to edit any provided file. In the selected file a string can be searched that can then be replaced with a given string.
Edit a file with python
Send mail
The following functions can be used to emails from python.
Send mails with python
Send mails with python using AUTH
Execute Bash command and capture output
The output will be captured when the command exited.
Run subprocess
Sourced from stackoverflow.com - Python Email
Get current Memory (RAM) information/statistics (Linux)
Using op.popen
and Linux build-in binary free
.