Page 1 of 1

Function import in DSHUB Python

Posted: 19 Aug 2008, 15:24
by Toast

Code: Select all

import os, sys
print 'Hello from child', os.getpid(), sys.argv[1]
Cant use the function import in anyway

the functions works

while
try
break
except
print
def
return
pass

Hello from childTraceback (innermost last):
File "C:\Users\Toast\Desktop\DSDev\/scripts/py/getpid.py", line 2, in ?
ImportError: no module named javaos

Code: Select all

*sys-package-mgr*: can't create package cache dir, 'C:\Users\Toast\Desktop\DSDev
\lib\jython.jar\cachedir\packages'
Could this be the reason why

Re: Function import in DSHUB Python

Posted: 03 Oct 2008, 15:18
by Pietry
We need to test the script again since that message is gone :D

Re: Function import in DSHUB Python

Posted: 03 Oct 2008, 18:15
by Toast
Works in current SVN

Re: Function import in DSHUB Python

Posted: 21 Apr 2015, 11:29
by Atif
Hi!

I've just found ADC and it looks much more stable and sound than DC, but I have one question.

Is there a command line only client availeble?

Like dolda connect or rtorrent to give two examples of commandline clients for P2P.

thanks in advance!

///Chris Danyael X

Re: Function import in DSHUB Python

Posted: 26 Apr 2015, 13:00
by Pretorian