Forum: Python Sep 29th, 2009 |
| Replies: 22 Views: 946 It took a bit of playing around, but think I've found a workaround for this....
I noticed in the docs for os.system() (Yes I RTFM!) it mentions that the subprocess.call() should be used instead.... |
Forum: Python Sep 28th, 2009 |
| Replies: 1 Views: 339 OK, I know it's been a while since I originally posted this and I've marked the thread as solved, but this is a valid bug in wxPython....So here's a quick update!
I finally managed to get onto the... |
Forum: Python Sep 25th, 2009 |
| Replies: 4 Views: 268 OK, here's a very simple class and some code to test it, based on what you posted previously!
# here's a simple class
class MyClass:
# class constructor/initialisation
# if no string is... |
Forum: Python Sep 21st, 2009 |
| Replies: 9 Views: 391 I can't see a problem with the code you've posted!
However if you were using this before:
if x==1 or 2:
Then as gerard has said, the if statement would always evaluate to True...
for... |
Forum: Python Aug 6th, 2009 |
| Replies: 5 Views: 325 OK,
After this line:
label = Tkinter.Label(pg4_group.interior(), image=photo)
try adding the following:
label.photo = photo
This will create an instance of your image in the label,... |
Forum: Python Jun 9th, 2009 |
| Replies: 3 Views: 956 There are a few Python libraries out there which can do this. I think the most popular is py2exe. Google it, you'll find it!
If you're a windows user, there are py2exe installers available for... |
Forum: Python Jun 9th, 2009 |
| Replies: 7 Views: 863 This is purely down to .dll's. Namely the msvcrXX runtimes (msvcr70.dll, msvcr90.dll etc)
If the target machine does not have Python installed, then it needs to have the correct version of the... |