Home

What's the proper way to call a py script and pass in variables while
doing cron jobs? I can run the scripts fine from idle, python, etc using
raw_input() to prompt users. The scripts have classes with methods that
need arguments. Here's an example... I want to run c1.d1(v,v,v) then
c2.d2(v,v,v)

class c1:
# User defined vars
def d1(var1, var2, var3):
pass

class c2:
# User defined vars
def d2(var1, var2, var3):
pass

Thanks,
Brad

previous
next

FW: OCBC connection
Re: file input problems (should be an easy question)
curiosity singleton pattern?
Re: recursion
Re: unsigned char ---- a special type of integer
Podaruj Zycie
Fundacja Avalon
Krwinka
Pajacyk
Fundacja Sloneczko