Not perfect, but you could check for each browser's binary.
import os
os.path.isfile("/usr/bin/firefox")
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I think you're looking for this:
http://docs.python.org/library/argparse.html
you'll also want to read up on sys.argv
http://docs.python.org/library/sys.html#sys.argv
On Mon, Sep 6, 2010 at 8:48 AM, aug dawg wrote:
> I've seen Python programs that can be activated from the command line. For
There's also eric. It's geared towards pyqt slightly, but I do a lot of
wxpython development in it as well.
It's got project management and svn plugins, too.
http://eric-ide.python-projects.org/
On Fri, Oct 8, 2010 at 6:01 AM, Sayth Renshaw wrote:
>
> Message: 5
>> Date: Thu, 07 Oct 2010 20:08:10
Ctrl+M isn't bound to anything in particular in wxPython (the 'enter' key or
otherwise).
Drop down menus will auto-bind menu items if you include the shortcut keys
on the menu's line item; Ctrl+N for New, for example.
The OS could also be catching the event and doing something unwanted.
Ctrl+M wo
Is there a reason you don't want to use the newer, already pre-installed
version?
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/python.1.html
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscrip
wx.Panel provides better cross-platform reliability, so it's fairly standard
practice to go with a Panel in a Frame, and place the buttons, etc. on the
panel.
On Tue, Apr 19, 2011 at 11:59 AM, Eric Stevens wrote:
> I've been noticing that in all the example codes I have seen, when someone
> cre