Hello John Yes this is possible, I do this all the time !
The way I use it: Create a stack with a field, put the whole python script (can have multiple lines) into the field. Replace place holders (replace %NAME% with Peter etc.) in the field, and then put field into a variable and execute it with the shell command ! This works very well, if you need more info, contact me off list. Cheers Rolf Am 27.08.2014 um 01:48 schrieb use-livecode-requ...@lists.runrev.com: > Hi All, > > I manage a lot of accounts in our Google Apps for Education deployment. I > have used LiveCode to automate a lot of the csv creation for this process. > > I use a Terminal application (GAM) created in Python to do some of this too. > > I would like to be able to call the GAM Python scripts via LiveCode. A > typical GAM python terminal command would be something like: > > python gam.py create user j...@student.email.k12.ca.us firstname John > lastname Doe password 111111 change password off > > Could I call this Python script directly from LiveCode? > > Something like: > > on mouseUp > shell(python gam.py create user j...@student.sylvan.k12.ca.us firstname John > lastname Doe password 111111 change password off > end mouseUp > > This seems too easy. I?m guessing I would have to point Livecode to the > proper directory (path) to the Python app. etc. > > Is calling python scripts possible through LiveCode? ?in need of an example :) > > Thank you! > John Patten > SUSD _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode