I have installed wx and everything looks fine. I have written a small app that uses wx.
When I run my program from the console like
ubuntu $ python PROGRAM_NAME.py
it gives error
Traceback (most recent call last):
File “Project.py”, line 6, in ?
import wx
ImportError: No module named wx
But if I run the program from SPE (Stani’s Python Editor) it just runs fine.
How can I resolve such an issue. Please help. Is my path settting worng …?
Every help is appreciated.
Thanks
Hello
I wrote my owen
PyGridTableBase, but now I cant append Rows?
I copied more or less the
append Rows from the wxPython in Action Book.
It appends the rowname to
the self.rowLabels list, but nothing more. I called a ForceRefresh(). But all
the Time the same ProblemL
Thx
Micha
Appendrows.py (1.23 KB)
Robin
3
Micha Reiser wrote:
Hello
I wrote my owen PyGridTableBase, but now I cant append Rows?
I copied more or less the append Rows from the wxPython in Action Book.
It appends the rowname to the self.rowLabels list, but nothing more. I called a ForceRefresh(). But all the Time the same ProblemL
The table needs to inform the grid that rows have been appended. See http://wiki.wxpython.org/index.cgi/AppendingGridTable for an example.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!