[wxPython-users] how to handle an application when executed by opening its 'file type'

Robin Dunn robin at alldunn.com
Fri Sep 1 08:35:18 PDT 2006


Karsten Hilbert wrote:
> On Thu, Aug 31, 2006 at 10:18:54PM -0700, Robin Dunn wrote:
> 
>> Yep.  If you've got the association setup right then it will put the 
>> filename on the command line.  You can get at it with sys.path.
> 
> sys.argv[], that is

Oops, yes of course.  Must have been a little too late last night when I 
wrote that.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list