[Solved] Run a external program python script

Windows specific questions, problems.
Post Reply
firecore

[Solved] Run a external program python script

Post by firecore »

I have writte a small python script that only copys the file if certen conditions are meet. Its working fine if i use write the parameters in cmd. But i cant get it to work when the torrent finishes, even if the same parameters are passed.

I have written: C:\path\to\script\file.py "f" "n" in qbittorent.

Any tips?

Solution:
I feel so stupid...

path/to/python.exe path/to/script.py parameters.
Last edited by firecore on Thu Nov 29, 2012 10:33 pm, edited 1 time in total.
tekko

Re: Run a external program python script

Post by tekko »

I don't know scripting, but perhaps...

C:\path\to\script\file.py "%f" "%n"  ?
firecore

Re: Run a external program python script

Post by firecore »

I have tried that, it didnt work. Ill to to make some bat file to just output the script to txt for debugging.
Post Reply