Function import in DSHUB Python

Python Scripting
Locked
Toast

Function import in DSHUB Python

Post by Toast » 19 Aug 2008, 15:24

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: 04 Dec 2007, 07:25
Location: Bucharest
Contact:

Re: Function import in DSHUB Python

Post by Pietry » 03 Oct 2008, 15:18

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 » 03 Oct 2008, 18:15

Works in current SVN

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

Re: Function import in DSHUB Python

Post by Atif » 21 Apr 2015, 11:29

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: 21 Jul 2009, 10:21

Re: Function import in DSHUB Python

Post by Pretorian » 26 Apr 2015, 13:00


Locked