This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import pcd8544.lcd as lcd | |
import wiringPy | |
import psutil | |
import socket | |
import fcntl | |
import struct | |
import threading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
''' | |
The command "deluge-console info" generates this output: | |
/home/pi$ deluge-console info | |
Name: Some video file | |
ID: 670b10e3842dfe57bedbd0653b09f0548034cbbb |