sanostol Posted March 21, 2011 Share Posted March 21, 2011 what does it have to look like? simplest thing does not work #!/usr/bin/env print "working" it tells me, about wrong syntax???? has somebody a simple example? Quote Link to comment Share on other sites More sharing options...
graham Posted March 21, 2011 Share Posted March 21, 2011 When the type is set to Python it expects actual code, not a path to a .py file. To run a script directly you can use execfile("pathtomyfile.py") 1 Quote Link to comment Share on other sites More sharing options...
sanostol Posted March 23, 2011 Author Share Posted March 23, 2011 thanks graham, it's a bit confusing when You have a button to browse for something Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.