Function import in DSHUB Python

Python Scripting
Toast

Function import in DSHUB Python

Post by Toast » Tue Aug 19, 2008 3:24 pm

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

Pietry
Senior Member
Posts: 328
Joined: Tue Dec 04, 2007 7:25 am
Location: Bucharest

Re: Function import in DSHUB Python

Post by Pietry » Fri Oct 03, 2008 3:18 pm

We need to test the script again since that message is gone :D
Just someone

Toast

Re: Function import in DSHUB Python

Post by Toast » Fri Oct 03, 2008 6:15 pm

Works in current SVN

Atif
Newbie
Posts: 1
Joined: Tue Apr 21, 2015 11:27 am

Re: Function import in DSHUB Python

Post by Atif » Tue Apr 21, 2015 11:29 am

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

Pretorian
Site Admin
Posts: 214
Joined: Tue Jul 21, 2009 10:21 am

Re: Function import in DSHUB Python

Post by Pretorian » Sun Apr 26, 2015 1:00 pm


Who is online

Users browsing this forum: Google (Crawler) and 0 guests