Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | FIle location is invalid now. |
---|---|
Timelines: | family | ancestors | popen |
Files: | files | file ages | folders |
SHA1: | 8d4a18288085352133abbed96d53bd2825b1b703 |
User & Date: | DarkLinkXXXX 2013-09-27 02:30:34 |
Context
2013-09-27
| ||
02:30 | FIle location is invalid now. Leaf check-in: 8d4a182880 user: DarkLinkXXXX tags: popen | |
2013-09-25
| ||
00:04 | Second commit. Leaf check-in: ea34849e2d user: DarkLinkXXXX tags: trunk | |
Changes
Changes to repl.py.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
file = req.urlretrieve("http://" + domain + url)[0]
file = shutil.copyfile(file, file + ".mp4")
if debug == True:
print("File saved at " + file)
lcmd = shlex.split(vlc + " -vvv ")
if debug == True:
print(lcmd + [file])
subprocess.call(lcmd + [file])
os.remove(file)
else:
print("Not in dictionary.")
commands = {'i': info, 'hs': handspeak}
|
| |
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
file = req.urlretrieve("http://" + domain + url)[0]
file = shutil.copyfile(file, file + ".mp4")
if debug == True:
print("File saved at " + file)
lcmd = shlex.split(vlc + " -vvv ")
if debug == True:
print(lcmd + [file])
subprocess.Popen(lcmd + [file])
os.remove(file)
else:
print("Not in dictionary.")
commands = {'i': info, 'hs': handspeak}
|