Thread: PyGTKEditor
View Single Post
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#34
use the code tags

Code:
for arg in sys.argv:
    argcount = argcount + 1
    if (argcount > 1):
           self.open_file(arg)
 

The Following User Says Thank You to cripes For This Useful Post: