Re: Can Django call cscript.exe to run vbscripts

2007-07-27 Thread [EMAIL PROTECTED]
On Jul 27, 2:35 pm, braveheart <[EMAIL PROTECTED]> wrote: > script process the input and forwards the output result to django; the > result is stored in a database or displayed on the page. Have the vbscript write to the same database django reads from or just output to a logfile that django

Re: Can Django call cscript.exe to run vbscripts

2007-07-27 Thread Andrey Khavryuchenko
b> Does someone have a solution ? Have you tried subprocess module mentioned before? What was your experience? BTW, it's nothing django-specific in calling external software from your python app... -- Andrey V Khavryuchenko Django NewGate - http://www.kds.com.ua/djiggit/

Re: Can Django call cscript.exe to run vbscripts

2007-07-27 Thread braveheart
I know that can be solved with python also, but i have to call from django almost 50 VBScripts (that are functional). I don't want to rewrite all that scripts to python, cause i don't have time for this. And I also have a huge library of vbscripts so if i will need a new script in the future i

Re: Can Django call cscript.exe to run vbscripts

2007-07-21 Thread Carl Karsten
You might want to describe the current problem you need to solve. good chance it will be easier to solve using a few lines of python/django than trying to run your existing vbscript. Carl K braveheart wrote: > Anyone else have other solution ? > > On Jul 20, 8:54 pm, Dennis Allison <[EMAIL

Re: Can Django call cscript.exe to run vbscripts

2007-07-21 Thread braveheart
Anyone else have other solution ? On Jul 20, 8:54 pm, Dennis Allison <[EMAIL PROTECTED]> wrote: > actually, look at module subprocess rather than os as the subprocess > module contains the current best practice solution. (Check the Python > 3000 docs to see what will be going away and avoid

Re: Can Django call cscript.exe to run vbscripts

2007-07-21 Thread braveheart
Thanks for the info. On Jul 20, 8:54 pm, Dennis Allison <[EMAIL PROTECTED]> wrote: > actually, look at module subprocess rather than os as the subprocess > module contains the current best practice solution. (Check the Python > 3000 docs to see what will be going away and avoid using them.

Re: Can Django call cscript.exe to run vbscripts

2007-07-20 Thread Dennis Allison
actually, look at module subprocess rather than os as the subprocess module contains the current best practice solution. (Check the Python 3000 docs to see what will be going away and avoid using them. :-) ) BUT, the vbscript GUI will not be available throught the web, at least not easily.

Re: Can Django call cscript.exe to run vbscripts

2007-07-20 Thread Andrey Khavryuchenko
b> I'm an Windows System Administrator and for my job i often use b> vbscripts to automate my tasks. I was wondering if Django can call b> cscript.exe to execute a vbscript file (Offcourse django is assumed to b> run under Windows)? I know that i can also script wmi with python but b> i'm

Can Django call cscript.exe to run vbscripts

2007-07-20 Thread braveheart
Hello guys. I'm an Windows System Administrator and for my job i often use vbscripts to automate my tasks. I was wondering if Django can call cscript.exe to execute a vbscript file (Offcourse django is assumed to run under Windows)? I know that i can also script wmi with python but i'm allready