Wednesday, December 30, 2009

Run Python From Batch File Run Python From Batch File?

Run Python from Batch File? - run python from batch file

I have run a simple Python file "script.py" Search for a location for a specific text on this file to the command prompt, type open:

Change is cd C: \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ file "/ / of the directory where the script
"Script.py Python" / / gives me the invitation to the site name with the text I'm typing in the search followed

Then I type:

script.py "www.google.com", "images"

The Google.com search for the text "image" and gives me a reading of the text if found. Works great. But wan't to run a batch file to use to do the same, so you do not write this in the CMD for the word "pictures" on Google. I can not work, the batch file, even if correct. Ideas?

0 comments:

Post a Comment