What I do is test for TM_APP_PATH in os.environ:
Hi there,
I had a quick question on the Textmate "Python -> Run Script" command. Since I mostly write command line utilities, I pass command line arguments to my scripts on a regular basis.
Is there a way to test your python script (CMD-R) and have Textmate populate sys.argv[:] for the script to use? Either via a dialog box, a TM Variable, etc?
Thanks for any help,
----
Brian H
binarynomad@gmail.com
http://www.binarynomad.com
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate