[IPython-user] checking for qthread

Frédéric Mantegazza mantegazza at ill.fr
Tue Nov 15 09:52:11 CST 2005

Le Mardi 15 Novembre 2005 16:09, Glen W. Mabey a écrit :

> Thanks!

Note that it does not work when using IPShellEmbed class :

argv = ["-pi1",
        "PyMAD@%s>>> " % Pyro.config.PYRO_NS_HOSTNAME,
        " ",
startMsg = "Welcome to PyMAD"
exitMsg = "Bye!"
ipshell = IPShellEmbed(argv, banner=startMsg, exit_msg=exitMsg)

In this case, sys.argv will contain the name and params of the script 
containing this code.

So there may be a better way to do that...


More information about the IPython-user mailing list