Resolve ModuleNotFoundError: No module named 'wx'

2018-04-10 Thread srfpala
Running Win10 64-Bit and Pyscripter 3.3.2 Beta and/or VS 2017 with Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32. Interpreter sees import wx so will it attempt to find a specific file or reference to wx ? Exactly what is the interpreter looking for

Re: Linux/Windows GUI programming: tk or wx?

2017-08-07 Thread Grant Edwards
I definitely think PyGtk feels the "most Pythonic". It seems simpler than wx, yet is able to handle complex applications. The last time I read up on it, it didn't sound like a very good option if you want Windows compatibility. If I hadn't cared about Windows, I definitely would

Re: Linux/Windows GUI programming: tk or wx?

2017-08-07 Thread Igor Korot
Hi, Grant, On Mon, Aug 7, 2017 at 10:37 AM, Grant Edwards wrote: > On 2017-08-05, Michael Torrie wrote: > >> Well tk is already an optional part of the Python standard library, >> whereas wx is an external package. So for your simple requirements, >> Tk may be the way t

Re: Linux/Windows GUI programming: tk or wx?

2017-08-07 Thread Grant Edwards
On 2017-08-05, Michael Torrie wrote: > Well tk is already an optional part of the Python standard library, > whereas wx is an external package. So for your simple requirements, > Tk may be the way to go. I find it much easier to get a simple application written and working with Tk tha

Re: Linux/Windows GUI programming: tk or wx?

2017-08-05 Thread Michael Torrie
On 08/05/2017 04:52 AM, Chris Green wrote: > I went through a similar process of deciding the easiest (for me) GUI > to go with. I've actually ended up with PyGtk as it feels for me the > 'least foreign' compared with doing things the CLI way. Yes PyGtk is fairly Pythonic and natural feeling. PyQ

Re: Linux/Windows GUI programming: tk or wx?

2017-08-05 Thread Dietmar Schwertberger
that e.g. contains "python27\python.exe programm.py". I have been doing this for years, sometimes just letting people run the .bat from a network share. Is there a recommendation for using tk or wx? I would recommend wx. For Python 2.7 you can use either the 'Classic' versio

Re: Linux/Windows GUI programming: tk or wx?

2017-08-05 Thread Chris Green
t; I do not like GTK and Qt, because they are too complex. > > > > I want to do VERY simple things and I prefer a simple GUI toolkit :-) > > > > Is there a recommendation for using tk or wx? > > Well tk is already an optional part of the Python standard library, > wher

Re: Linux/Windows GUI programming: tk or wx?

2017-08-05 Thread Pertti Kosunen
On 8/5/2017 2:45 AM, Ulli Horlacher wrote: I do not like GTK and Qt, because they are too complex. I'm not a programmer, but at least simple cross platform GUI notification message was easiest to do with PyQt (IMO). -- https://mail.python.org/mailman/listinfo/python-list

Re: Linux/Windows GUI programming: tk or wx?

2017-08-04 Thread Christian Gollwitzer
Am 05.08.17 um 01:45 schrieb Ulli Horlacher: I have to transfer a python 2.7 CLI programm into one with a (simple) GUI. The program must run on Linux and Windows and must be compilable with pyinstall, because I have to ship a standalone windows.exe Any kind of installer is not acceptable. TkInt

Re: Linux/Windows GUI programming: tk or wx?

2017-08-04 Thread Michael Torrie
o VERY simple things and I prefer a simple GUI toolkit :-) > > Is there a recommendation for using tk or wx? Well tk is already an optional part of the Python standard library, whereas wx is an external package. So for your simple requirements, Tk may be the way to go. I'm guessing th

Linux/Windows GUI programming: tk or wx?

2017-08-04 Thread Ulli Horlacher
wx? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de Allmandring 30aTel:++49-711-68565868 70569 Stuttgart (Germany) WWW:http://www.tik.uni-stuttgart.de

Re: SmallTalk-like interactive environment on base of cPython 2.7.x + wx

2016-08-14 Thread Chris Angelico
On Sun, Aug 14, 2016 at 9:53 PM, Dmitry Ponyatov wrote: > Does anybody can recomend some links on tutorials on making custom dynamic > languages or objects systems on top of cPython2 ? > > I want some interactive dynamic object environment with SmallTalk look&feel > but with Python syntax. Any

SmallTalk-like interactive environment on base of cPython 2.7.x + wx

2016-08-14 Thread Dmitry Ponyatov
Does anybody can recomend some links on tutorials on making custom dynamic languages or objects systems on top of cPython2 ? I want some interactive dynamic object environment with SmallTalk look&feel but with Python syntax. Other tutorials I'm interested in are reflection, dynamic bytecode (d

Re: beginners choice: wx or tk?

2015-07-14 Thread Terry Reedy
On 7/14/2015 11:43 AM, Mark Lawrence wrote: On 14/07/2015 16:21, Michael Torrie wrote: You make a good point. Although Tk is considered part of the standard Python library (though optional), Python-coded tkinter depends on C-coded _tkinter and both are in the stdlib, which means the code i

Re: beginners choice: wx or tk?

2015-07-14 Thread Grant Edwards
On 2015-07-14, Chris Angelico wrote: > On Wed, Jul 15, 2015 at 3:28 AM, Grant Edwards > wrote: >> Comparing the size of Tcl+Tk and wx/Gtk doesn't really make sense >> either since we're talking about MS Windows targets. Gtk isn't >> involved. wxWind

Re: beginners choice: wx or tk?

2015-07-14 Thread Chris Angelico
On Wed, Jul 15, 2015 at 3:28 AM, Grant Edwards wrote: > Comparing the size of Tcl+Tk and wx/Gtk doesn't really make sense > either since we're talking about MS Windows targets. Gtk isn't > involved. wxWindows on MS Windows runs on top of native widgets, not > on top o

Re: beginners choice: wx or tk?

2015-07-14 Thread Grant Edwards
On 2015-07-14, Mark Lawrence wrote: > On 14/07/2015 16:21, Michael Torrie wrote: >>> Why would you have to ship "extra" libraries for Windows? Extra >>> compared to what? When I compared bundled apps for Windows using wx >>> and Tk, you had to ship more

Re: beginners choice: wx or tk?

2015-07-14 Thread Steven D'Aprano
On Wed, 15 Jul 2015 01:43 am, Mark Lawrence wrote: > Surely if Tk is optional then IDLE is also optional, as IDLE depends on > Tk? But I thought that IDLE was always supplied with Python, so am I > missing something, or am I simply plain wrong, or what? If you try to run IDLE on a system that do

Re: beginners choice: wx or tk?

2015-07-14 Thread Mark Lawrence
On 14/07/2015 16:21, Michael Torrie wrote: On 07/14/2015 08:06 AM, Grant Edwards wrote: On 2015-07-14, Michael Torrie wrote: On 07/13/2015 08:42 AM, Grant Edwards wrote: If it didn't have to run on Windows, I'd pick pygtk over wx. I've never tried qt. PyQt is very nice to

Re: beginners choice: wx or tk?

2015-07-14 Thread Michael Torrie
On 07/14/2015 08:06 AM, Grant Edwards wrote: > On 2015-07-14, Michael Torrie wrote: >> On 07/13/2015 08:42 AM, Grant Edwards wrote: >>> If it didn't have to run on Windows, I'd pick pygtk over wx. I've >>> never tried qt. >> >> PyQt is

Re: beginners choice: wx or tk?

2015-07-14 Thread Grant Edwards
On 2015-07-14, Michael Torrie wrote: > On 07/13/2015 08:42 AM, Grant Edwards wrote: >> If it didn't have to run on Windows, I'd pick pygtk over wx. I've >> never tried qt. > > PyQt is very nice to work with. In some respects it's not as Pythonic > as

Re: beginners choice: wx or tk?

2015-07-14 Thread Mark Lawrence
On 14/07/2015 03:16, Michael Torrie wrote: On 07/13/2015 08:42 AM, Grant Edwards wrote: If it didn't have to run on Windows, I'd pick pygtk over wx. I've never tried qt. PyQt is very nice to work with. In some respects it's not as Pythonic as PyGTK. It feels a lot l

Re: beginners choice: wx or tk?

2015-07-13 Thread Michael Torrie
On 07/13/2015 08:42 AM, Grant Edwards wrote: > If it didn't have to run on Windows, I'd pick pygtk over wx. I've > never tried qt. PyQt is very nice to work with. In some respects it's not as Pythonic as PyGTK. It feels a lot like transliterated C++ code, which

Re: beginners choice: wx or tk?

2015-07-13 Thread Grant Edwards
tp://fex.belwue.de/download/schwuppdiwupp.pl >> >> I am not really happy with tk, because it has some bugs, at least its >> perl integration. I have never used wx. IMO, tk is quite a bit easier to use than wx for simple apps. >> What is the recommendation for a python beginne

Re: beginners choice: wx or tk?

2015-07-12 Thread Laura Creighton
In a message of Sat, 11 Jul 2015 15:50:05 -0700, Paul Rubin writes: >Ulli Horlacher writes: >> This is not an option for me. My users only accept standalone executables. >> They cannot install any runtime environment or extra libraries. > >Long ago I was involved with a thing like this and used In

Re: beginners choice: wx or tk?

2015-07-12 Thread Chris Angelico
On Sun, Jul 12, 2015 at 6:00 PM, Christian Gollwitzer wrote: > Am 12.07.15 um 09:55 schrieb Ulli Horlacher: >> >> wxjmfa...@gmail.com wrote: >> >>> On Windows, there are no more usable, working GUI toolkits (wrappers). >> >> >> What is the problem with tkinter? >> A first "hello world" program wor

Re: beginners choice: wx or tk?

2015-07-12 Thread Christian Gollwitzer
Am 12.07.15 um 09:55 schrieb Ulli Horlacher: wxjmfa...@gmail.com wrote: On Windows, there are no more usable, working GUI toolkits (wrappers). What is the problem with tkinter? A first "hello world" program worked. Don't listen. jmf is a troll, who always complains about Unicode support, wh

Re: beginners choice: wx or tk?

2015-07-12 Thread Ulli Horlacher
wxjmfa...@gmail.com wrote: > On Windows, there are no more usable, working GUI toolkits (wrappers). What is the problem with tkinter? A first "hello world" program worked. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum IZUS/TIK E-Mail: horlac...@tik.uni-stutt

Re: beginners choice: wx or tk?

2015-07-11 Thread Ned Deily
In article , Kevin Walzer wrote: > On 7/11/15 10:48 AM, Laura Creighton wrote: > > Unless I was misinformed 2 weeks or so ago when I asked, that is the > > problem. Tcl/Tk 8.6 works (and is shipped with) OSX, but tkinter > > and idle don't work with it. We will see what Ned Deily says > > when

Re: beginners choice: wx or tk?

2015-07-11 Thread Paul Rubin
Ulli Horlacher writes: >> Do you mean it's not ok for the setup tool to install files? > Yes, as I wrote before: They cannot install any files. You wrote before that the users couldn't install files, but it wasn't clear before that the setup tool also can't install files. >> Hmm. It might still

Re: beginners choice: wx or tk?

2015-07-11 Thread Kevin Walzer
On 7/11/15 10:48 AM, Laura Creighton wrote: Unless I was misinformed 2 weeks or so ago when I asked, that is the problem. Tcl/Tk 8.6 works (and is shipped with) OSX, but tkinter and idle don't work with it. We will see what Ned Deily says when he gets around to reading this. You were misinfor

Re: beginners choice: wx or tk?

2015-07-11 Thread Jugurtha Hadjar
Hello, On 07/11/2015 11:20 AM, Chris Angelico wrote: Yeah, I'd distribute the .py files and have done with it. Maybe do it up as a package and distribute it via pip, which allows you to fetch dependencies automatically. I'm also writing something, and the target audience is Windows users in a

Re: beginners choice: wx or tk?

2015-07-11 Thread Ian Kelly
On Sat, Jul 11, 2015 at 5:10 PM, Paul Rubin wrote: > Ulli Horlacher writes: >>> Long ago I was involved with a thing like this and used Inno Setup, >>> which was great. It's a very slick installer >> It is not a matter of knowledge, but one of user rights. >> It is also forbidden by organization

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
Paul Rubin wrote: > Ulli Horlacher writes: > >> Long ago I was involved with a thing like this and used Inno Setup, > >> which was great. It's a very slick installer > > It is not a matter of knowledge, but one of user rights. > > It is also forbidden by organization rules. > > Do you mean it'

Re: beginners choice: wx or tk?

2015-07-11 Thread Paul Rubin
Ulli Horlacher writes: >> Long ago I was involved with a thing like this and used Inno Setup, >> which was great. It's a very slick installer > It is not a matter of knowledge, but one of user rights. > It is also forbidden by organization rules. I might not understand what you're looking for.

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
Paul Rubin wrote: > Ulli Horlacher writes: > > This is not an option for me. My users only accept standalone executables. > > They cannot install any runtime environment or extra libraries. > > Long ago I was involved with a thing like this and used Inno Setup, > which was great. It's a very sl

Re: beginners choice: wx or tk?

2015-07-11 Thread Paul Rubin
Ulli Horlacher writes: > This is not an option for me. My users only accept standalone executables. > They cannot install any runtime environment or extra libraries. Long ago I was involved with a thing like this and used Inno Setup, which was great. It's a very slick installer whose user experi

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
Chris Angelico wrote: > > pyinstaller can make a standalone executable, there is no need for the > > users to install "another library". They just click on the program icon, > > that's it. > > Yeah, I'd distribute the .py files and have done with it. This is not an option for me. My users only

Re: beginners choice: wx or tk?

2015-07-11 Thread Michael Torrie
On 07/11/2015 11:39 AM, Chris Angelico wrote: >> I'm happy with PyQt. I haven't created standalone executable files with it, >> though. Do they necessarily have to be large? I would think that >> well-written import statements would cut down on the file size. Just import >> the objects you n

Re: beginners choice: wx or tk?

2015-07-11 Thread Laura Creighton
In a message of Sat, 11 Jul 2015 19:37:17 +0200, Laura Creighton writes: >Kivy has its own way to make standalone windows executables, which >uses pyinstallers. s/pyinstallers/PyInstaller/ sorry about that. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: beginners choice: wx or tk?

2015-07-11 Thread Chris Angelico
BIG executables, much bigger than with wx or tk. > > I worked with wxPython back when I was using Python 2. I got impatient > waiting for Phoenix when I switched to Python 3, so I started using PyQt as > my GUI. > > I'm happy with PyQt. I haven't created standalone e

Re: beginners choice: wx or tk?

2015-07-11 Thread Laura Creighton
In a message of Sat, 11 Jul 2015 16:01:05 -, Ulli Horlacher writes: >> I'd also recommend kivy, which has the added advantage that if >> somebody wants to use your app from a cellphone or a tablet, it >> will just work. see: http://kivy.org/#home > >Is it compatible with pyinstall? >My main ta

Re: beginners choice: wx or tk?

2015-07-11 Thread John Ladasky
On Saturday, July 11, 2015 at 2:51:32 AM UTC-7, Ulli Horlacher wrote: > Chris Angelico wrote: > > There are other choices, too - pygtk/pygobject (GTK) and pyqt (Qt) > > come to mind > > Both create BIG executables, much bigger than with wx or tk. I worked with wxPython

Re: beginners choice: wx or tk?

2015-07-11 Thread Ian Kelly
png >> http://fex.belwue.de/download/schwuppdiwupp.pl >> >> I am not really happy with tk, because it has some bugs, at least its perl >> integration. I have never used wx. >> >> What is the recommendation for a python beginner: wx or tk? > > Using wxPython m

Re: beginners choice: wx or tk?

2015-07-11 Thread nickgeovanis
I've recently been facing the same question but with a new (probably simpler) app than your own. I've decided to re-implement what I have in tk, replacing GTK in the python code. I am no expert in either but I find tk to be more coherent at the API level and better documented. However Windows an

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
Christian Gollwitzer wrote: > > I have already an implementation in perl/tk : > > http://fex.rus.uni-stuttgart.de/fop/ZAcXSugp/schwuppdiwupp.png > > http://fex.belwue.de/download/schwuppdiwupp.pl > > May I ask what is the reason to port this over to Python? Is it to learn > Python, or do you wa

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
Laura Creighton wrote: > The question is, why do you want to reimplement this thing in Python? The Windows support of perl/pp (a perl "compiler" similar to pyinstall) is really bad. It does not work any more with Windows 7, I still have to use Windows XP. > If the plan is to get rid of some p

Re: beginners choice: wx or tk?

2015-07-11 Thread Ned Deily
In article <201507111448.t6bemh6z025...@fido.openend.se>, Laura Creighton wrote: > In a message of Sat, 11 Jul 2015 13:56:09 +0200, Christian Gollwitzer writes: > >Am 11.07.15 um 13:27 schrieb Laura Creighton: > >> Also, if you need your app to work with MacOS, be warned that you > >> will need a

Re: beginners choice: wx or tk?

2015-07-11 Thread Laura Creighton
In a message of Sat, 11 Jul 2015 13:56:09 +0200, Christian Gollwitzer writes: >Am 11.07.15 um 13:27 schrieb Laura Creighton: >> Also, if you need your app to work with MacOS, be warned that you >> will need an older version of tk than the most recent one. >> This information is current: https://www

Re: beginners choice: wx or tk?

2015-07-11 Thread Christian Gollwitzer
Am 11.07.15 um 13:27 schrieb Laura Creighton: Also, if you need your app to work with MacOS, be warned that you will need an older version of tk than the most recent one. This information is current: https://www.python.org/download/mac/tcltk/ Don't use 8.6 I'm not sure how recent this really is

Re: beginners choice: wx or tk?

2015-07-11 Thread Laura Creighton
tion in perl/tk : >http://fex.rus.uni-stuttgart.de/fop/ZAcXSugp/schwuppdiwupp.png >http://fex.belwue.de/download/schwuppdiwupp.pl > >I am not really happy with tk, because it has some bugs, at least its perl >integration. I have never used wx. > >What is the recommenda

Re: beginners choice: wx or tk?

2015-07-11 Thread Chris Angelico
On Sat, Jul 11, 2015 at 7:51 PM, Ulli Horlacher wrote: > Chris Angelico wrote: > >> On Sat, Jul 11, 2015 at 7:28 PM, Ulli Horlacher >> wrote: >> > I want to start a project with python. >> > The program must have a (simple) GUI and must run on Linux and Windows. >> > The last one as standalone e

Re: beginners choice: wx or tk?

2015-07-11 Thread Christian Gollwitzer
Am 11.07.15 um 11:28 schrieb Ulli Horlacher: I want to start a project with python. The program must have a (simple) GUI and must run on Linux and Windows. The last one as standalone executable, created with pyinstaller. I have already an implementation in perl/tk : http://fex.rus.uni-stuttgart.

Re: beginners choice: wx or tk?

2015-07-11 Thread Mark Lawrence
-stuttgart.de/fop/ZAcXSugp/schwuppdiwupp.png http://fex.belwue.de/download/schwuppdiwupp.pl I am not really happy with tk, because it has some bugs, at least its perl integration. I have never used wx. What is the recommendation for a python beginner: wx or tk? Right now if you only have the choice of wx

Re: beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
s > with Python. pyinstaller can make a standalone executable, there is no need for the users to install "another library". They just click on the program icon, that's it. > There are other choices, too - pygtk/pygobject (GTK) and pyqt (Qt) > come to mind Both crea

Re: beginners choice: wx or tk?

2015-07-11 Thread Chris Angelico
t has some bugs, at least its perl > integration. I have never used wx. > > What is the recommendation for a python beginner: wx or tk? Using wxPython means you need another library, while tkinter comes with Python. There are some limitations to tk, and I personally don't like its st

beginners choice: wx or tk?

2015-07-11 Thread Ulli Horlacher
://fex.belwue.de/download/schwuppdiwupp.pl I am not really happy with tk, because it has some bugs, at least its perl integration. I have never used wx. What is the recommendation for a python beginner: wx or tk? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum IZUS/TIK

Re: wx (not responding)

2014-01-14 Thread ngangsia akumbo
On Tuesday, January 14, 2014 4:56:42 PM UTC+1, cassiope wrote: > On Tue, 14 Jan 2014 07:26:10 -0800, ngangsia akumbo wrote: > Not sure whether your wx version might have a 'Mainloop'. I think is ok now thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: wx (not responding)

2014-01-14 Thread Frank Miles
t; if __name__ == "__main__": > main() When I tried to run it I got a "AttributeError: 'App' object has no attribute 'Mainloop' Not sure whether your wx version might have a 'Mainloop'. -- https://mail.python.org/mailman/listinfo/python-list

wx (not responding)

2014-01-14 Thread ngangsia akumbo
When i run this code on my pc it actually runs but signals that the app is not responding. import wx class Example(wx.Frame): def __init__(self, *args, **kwargs): super(Example, self).__init__(*args, **kwargs) self.InitUI

Suppress PyDev warning for wx event variable

2013-03-20 Thread Wanderer
I have two versions of Eclipse on two different machines; Indigo and Juno. In Indigo, the wxPython event variable in the definitions is not flagged as an unused variable even though I don't use it in the method. In Juno I keep getting the warnings. The event variable is just there to bind the me

RE: Problem with a wx notebook

2011-10-20 Thread Mel
Prasad, Ramit wrote: > I've created a wx NoteBook in wich I set multiples panels in wich I > set one or more sizers. But nothing displays in the notebook, > everything is outside. I've been searching an answer for 2 days ><. > Can you help me plz ? Here is my code(wi

RE: Problem with a wx notebook

2011-10-20 Thread Prasad, Ramit
-Original Message- From: python-list-bounces+ramit.prasad=jpmorgan@python.org [mailto:python-list-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of faucheuse Sent: Monday, October 17, 2011 5:33 AM To: python-list@python.org Subject: Problem with a wx notebook Hi there

Problem with a wx notebook

2011-10-17 Thread faucheuse
Hi there, I've created a wx NoteBook in wich I set multiples panels in wich I set one or more sizers. But nothing displays in the notebook, everything is outside. I've been searching an answer for 2 days ><. Can you help me plz ? Here is my code(with only one panel, to sum up th

Re: wx MenuItem - icon is missing

2011-07-07 Thread Laszlo Nagy
ever seen one under OSX, and I don't even know if it's supported at all. Maybe you are right, I'm not familiar with OS X. But they are common in GTK, Qt and Windows. Me, I would start by addressing the error in the traceback. wx doesn't seem happy with an orphan menu item; why

Re: wx MenuItem - icon is missing

2011-07-06 Thread Gregory Ewing
Philip Semanchuk wrote: I can understand why it's frustrating but a menu items with icons on them aren't exactly common... Now that I think about it, I don't know that I've ever seen one under OSX, and I don't even know if it's supported at all. It's supported -- I've got FruitMenu running at

Re: trouble creating tooltips using Wx in Tk canvas

2011-07-06 Thread Kevin Walzer
On 7/6/11 3:35 PM, Ravikanth wrote: As it says, you haven't created the wx.App object necessary for pretty much all wxPython code. You could create one, but your tooltip still would not work correctly because you would be running the Tkinter event loop rather than the wxPython event loop. If y

Re: trouble creating tooltips using Wx in Tk canvas

2011-07-06 Thread Ravikanth
tinsideTkInter\plotInTk.py", line 12, in > > > >    tooltip = wx.ToolTip(tip='tip with a long %s line and a newline\n' > > % (' '*100)) # needs to be added to getover the bug with tooltip. > >  File "C:\Python27\lib\site-packages\wx-2.8-msw-

Re: trouble creating tooltips using Wx in Tk canvas

2011-07-06 Thread Ian Kelly
a newline\n' > % (' '*100)) # needs to be added to getover the bug with tooltip. >  File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py", > line 771, in __init__ >    _misc_.ToolTip_swiginit(self,_misc_.new_ToolTip(*args, **kwargs)) > PyNoAppE

Re: wx MenuItem - icon is missing

2011-07-06 Thread Philip Semanchuk
On Jul 6, 2011, at 2:25 AM, Laszlo Nagy wrote: > >>> Under windows, this displays the icon for the popup menu item. Under GTK it >>> doesn't and there is no error message, no exception. >> >> I get different results than you. >> >> Under U

trouble creating tooltips using Wx in Tk canvas

2011-07-06 Thread Ravikanth
he bug with tooltip. File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py", line 771, in __init__ _misc_.ToolTip_swiginit(self,_misc_.new_ToolTip(*args, **kwargs)) PyNoAppError: The wx.App object must be created first! I am not able to figure out the reason. I am trying

Re: wx MenuItem - icon is missing

2011-07-06 Thread Laszlo Nagy
Under windows, this displays the icon for the popup menu item. Under GTK it doesn't and there is no error message, no exception. I get different results than you. Under Ubuntu 9.04 w with wx 2.8.9.1, when I right click I see a menu item called test with little icon of a calculat

Re: wx MenuItem - icon is missing

2011-07-05 Thread Philip Semanchuk
On Jul 5, 2011, at 3:32 PM, Laszlo Nagy wrote: > >> 1. Post a complete example that demonstrates the problem so that we don't >> have to dummy up a wx app ourselves to try your code. > [code sample snipped] > > Under windows, this displays the icon for the

Re: wx MenuItem - icon is missing

2011-07-05 Thread Laszlo Nagy
1. Post a complete example that demonstrates the problem so that we don't have to dummy up a wx app ourselves to try your code. import sys import wx from wx.lib.embeddedimage import PyEmbeddedImage img = PyEmbeddedImage( "iVBORw0KGgoNSUhEUgAAABA

Re: wx MenuItem - icon is missing

2011-07-05 Thread Philip Semanchuk
the Menu. So did I, but it doesn't work. Menu item > icons are not showing up in Ubuntu. On Windows 7, everything is fine. What am > I doing wrong? > > System: Ubuntu 11 amd64 > Python: 2.7.1+ > wx.__version__ '2.8.11.0' Hi Laszlo, Two suggestions -- 1. Post a

wx MenuItem - icon is missing

2011-07-05 Thread Laszlo Nagy
ows 7, everything is fine. What am I doing wrong? System: Ubuntu 11 amd64 Python: 2.7.1+ wx.__version__ '2.8.11.0' Thanks, Laszlo -- http://mail.python.org/mailman/listinfo/python-list

Re: wx Just Print!

2011-01-14 Thread Miki
I think you need to create a wxApp first. Try adding app = wx.PySimpleApp() at the beginning. -- http://mail.python.org/mailman/listinfo/python-list

wx Just Print!

2011-01-14 Thread Mark Carter
I'm using Python 2.6.5. I would like to be able to print an RTF file, with no prompts for printers or anything like that. Here's the code so far: import wx.richtext rtp = wx.richtext.RichTextPrinting() rtp.PrintFile('C:\\path\\to\\file.rtf') When I run it, it says: ... assert "(wxThePrintPaperDat

Re: executing python scripts within wx frames

2010-07-13 Thread Philip Semanchuk
On Jul 13, 2010, at 11:15 AM, Astan Chee wrote: Hi, I'm trying to make one of those frames thats similar to the wx python demo where a folder is filled with demo wx python scripts and there is one main script that opens the other ones in as different items in a tree/notebook. I'

executing python scripts within wx frames

2010-07-13 Thread Astan Chee
Hi, I'm trying to make one of those frames thats similar to the wx python demo where a folder is filled with demo wx python scripts and there is one main script that opens the other ones in as different items in a tree/notebook. I've gotten most of it figured out except the part

Re: python 2.6 py2exe wx app fails

2010-04-23 Thread Robin Becker
On 22/04/2010 13:56, Robin Becker wrote: I'm trying to move a wxPython application forward to 2.6, but although the app runs fine in 2.6 when run directly when I build the app into an exe using py2exe I get this popup message "application failed to initialize properly (0xc142)" when I try

python 2.6 py2exe wx app fails

2010-04-22 Thread Robin Becker
I'm trying to move a wxPython application forward to 2.6, but although the app runs fine in 2.6 when run directly when I build the app into an exe using py2exe I get this popup message "application failed to initialize properly (0xc142)" when I try to run the built exe. The same applicati

wx error, I suspect my class

2010-03-13 Thread Alex Hall
e error: 'none' type object has no attribute 'FindWindowById'" Here is my complete code: import wx from wx import xrc class myapp(wx.App): def OnInit(self): #load the xrc file res=xrc.XmlResource('dictionary.xrc') #load the frame containing everything el

New 2.6 and wx install => DLL load failed: The specified procedure could not be found

2009-08-11 Thread RJ
I just installed python-2.6.2.msi from Python.org and wxPython2.8-win32-ansi-2.8.10.1-py26.exe and now can't import this wx. (I had 2.4, but uninstalled) This reminds me of a basic question I had before: what are the compilers used for the Win32 binaries? Is this a compiler compatibility

Re: qt, gtk, wx for py3 ?

2009-03-06 Thread Peter Billam
for Py3; Phil Thompson replied > > The next release of PyQt is planned for the end of this month. > > It *might* make it to that release. > which, *if* it happens, is not so far away. > But that still leaves Gtk and Wx... In the Gtk front, Johan Dahlin of gnome.org points me to: h

Re: wx, qt, gtk

2009-03-05 Thread sturlamolden
On Mar 5, 11:11 am, "Stefano" wrote: > In the end of all  i searched in internet and i've found that applications > ( even commercial ) written with gtk are more and more than other written > with wx and qt (not only with python) >From a technical point of view,

wx, qt, gtk

2009-03-05 Thread Stefano
Hello everybody After many little programs now I must prepare a serious desktop application . Without discussing about licensing but only from the technical point of view I have tried wx,wt,gtk graphical gui to build 'normal gui apps ' and everyone goes well. In the end of all i s

Re: qt, gtk, wx for py3 ?

2009-03-05 Thread Peter Billam
for PyQt either >> > on their website. I mailed riverbankcomputing about PyQt for Py3; Phil Thompson replied > The next release of PyQt is planned for the end of this month. > It *might* make it to that release. which, *if* it happens, is not so far away. But that still leaves G

Re: qt, gtk, wx for py3 ?

2009-03-04 Thread sturlamolden
On Mar 3, 8:15 pm, Scott David Daniels wrote: > Qt: simplest model, well-documented, until very recently not available > on Windows w/o a restrictive license or substantial cost. As of March 3, Qt is LGPL on all platforms!!! The problem is PyQt which is still dual GPL/commercially licensed

Re: qt, gtk, wx for py3 ?

2009-03-04 Thread Paul Boddie
On 4 Mar, 00:40, Peter Billam wrote: > > Thanks for that.  I also checked out: >  http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits > which seemed surprisingly even-handed. I don't have a horse in this race, but apart from needing to update that page based on recent developments (at

Re: qt, gtk, wx for py3 ?

2009-03-03 Thread Peter Billam
>> Peter Billam wrote: >> > I've been trying (newbie warning still on) tkinter with python3.0, >> > and I'm getting to that stage where I'm beginning to think there >> > must be a better a way to do this...  But I'm unsure if the >>

Re: qt, gtk, wx for py3 ?

2009-03-03 Thread Mike Driscoll
m unsure if the > > big names Qt, Gtk and Wx are available for Py3 yet - e.g. > >http://pypi.python.org/pypi?:action=browse&c=533&show=alldoesn't > > seem to show any... What's the gossip on these toolkits for Py3 ? > > Well, here are my biases (you wil

Re: qt, gtk, wx for py3 ?

2009-03-03 Thread Scott David Daniels
Peter Billam wrote: I've been trying (newbie warning still on) tkinter with python3.0, and I'm getting to that stage where I'm beginning to think there must be a better a way to do this... But I'm unsure if the big names Qt, Gtk and Wx are available for Py3 yet - e.g. ht

qt, gtk, wx for py3 ?

2009-03-03 Thread Peter Billam
I've been trying (newbie warning still on) tkinter with python3.0, and I'm getting to that stage where I'm beginning to think there must be a better a way to do this... But I'm unsure if the big names Qt, Gtk and Wx are available for Py3 yet - e.g. http://pypi.python.org/pypi?

Re: import wx works interactive but not from script

2009-02-11 Thread jefm
ok, sorry for the long wait. I tried this on both my work (XP) and home PC (Vista64) and they are both consistent. I had both Python2.6 and Python 3.0 installed. wxPython didn't like that. As soon as I uninstalled Python3.0, my wxPython started running again. Must be some kind of registry thing.

Re: import wx works interactive but not from script

2009-02-10 Thread Tim Golden
jefm wrote: I ran the script from a command line, so it is not a file association thing. Ummm... if you ran it by just typing the script name -- c:\test\whatever.py rather than c:\pythonxx\python c:\test\whatever.py -- then it certainly could be a file association issue. I do have multiple ve

Re: import wx works interactive but not from script

2009-02-10 Thread jefm
I ran the script from a command line, so it is not a file association thing. I do have multiple versions of Python installed on that machine. I will uninstall them all and install a single version from clean. Thanks for the suggestion -- http://mail.python.org/mailman/listinfo/python-list

Re: import wx works interactive but not from script

2009-02-10 Thread Tim Golden
jefm wrote: when I call "import wx" from the interactive console, it works (i.e. it doesn't complain). But when I call the same from a script, it complains that it can not find the wx module. works for interactive Python 2.6.1 (r261:67517,

import wx works interactive but not from script

2009-02-10 Thread jefm
when I call "import wx" from the interactive console, it works (i.e. it doesn't complain). But when I call the same from a script, it complains that it can not find the wx module. works for interactive Python 2.6.1 (r261:67517, Dec 4 2008, 1

Re: Question about wx folder browser widget

2009-02-02 Thread Rhodri James
On Mon, 02 Feb 2009 02:58:07 -, Steve Holden wrote: Sam Price wrote: Is there any good wx widgets that provide the same feel as folder/file browser. I want to be notified when a user tries to drag and drop a file/folder on the widget, and then copy that file/folder to a new folder an do

  1   2   3   >