#1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    hate that dos window!!


    Ok i when along and started learning wxpython rox.. but not.. when i try to compile it with py2exe -w i get an error

    Code:
    C:\Python23>python setup.py py2exe -w
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: option -w not recognized
    any suggestion? i know i did this before.. but dont know why its not working now
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    If your using the latest version of py2exe then its worth noting that they totaly revamped the options a while back . Just out of interest are you trying to create an exe from wxPython or Tk?

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    wxPython i like it.. thanx for recomending it.. :P, any idea on that exe part though?

    btw.. Im getting confused with Tkinter and wxPython.. damn sux but.. heh i will get over it
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    103
    Rep Power
    11
    Originally Posted by xlordt
    any suggestion? i know i did this before.. but dont know why its not working now
    from the py2exe page:

    The above setup script creates a console program, if you want a GUI program without the console window, simply replace console=["myscript.py"] with windows=["myscript.py"].


    i have also read,that by changing the file extension from ".py" to ".pyw" before you compile will also have the same effect.
    It is not important if the glass is half full or half empty.What is important,is who has been drinking from MY glass?!?!?

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo