[TxMt] Re: Python testing....
Caius Durling
caius at caius.name
Tue Jun 1 09:27:13 UTC 2010
On 1 Jun 2010, at 02:08, Brian H wrote:
> 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?
Don't know how it works over in python land, but when I'm doing the same with ruby scripts I tend to just assign ARGV manually and put up with a warning whilst I'm writing it. Something like this at the top of the script before I process ARGV:
> ARGV = %w(--help)
C
---
Caius Durling
caius at caius.name
+44 (0) 7960 268 100
http://caius.name/
More information about the textmate
mailing list