Forum: Python 16 Days Ago |
| Replies: 5 Views: 198 yeah that would be nice. so much for windows 7 being "my idea" |
Forum: Python 16 Days Ago |
| Replies: 5 Views: 198 Anyone know the developers? Anyone else waiting for 3.x support? This is the only thing keeping me from upgrading to python 3.1 .... |
Forum: Python 24 Days Ago |
| Replies: 5 Views: 239 I appreciate both comments. I'll check out pyscripter and I'll look over the globals again. It just seems weird to me that the old variables don't get overwritten at next run. |
Forum: Python 25 Days Ago |
| Replies: 5 Views: 239 Yes. It works fine as a standalone as well. |
Forum: Python 27 Days Ago |
| Replies: 5 Views: 239 Here's my problem. I wx application that works great until I close it (leaving the idle editing session open) and then restart it. Then parts of the program see variables that should be things like... |
Forum: Python 33 Days Ago |
| Replies: 5 Views: 219 |
Forum: Python 33 Days Ago |
| Replies: 5 Views: 219 |
Forum: Python 33 Days Ago |
| Replies: 5 Views: 219 I have a Syncing program that, while idle, crawls through the sub-directories of the sources and destinations saved to a 'sync profile'. It starts a new thread and walks the directories calculating... |
Forum: Python Oct 3rd, 2009 |
| Replies: 3 Views: 235 .. Okay. I'm just not quite sure of where to start, I'm sure you've had some experience with this. I've looked at several other package modules and have really only seen explicit import calls (... |
Forum: Python Oct 3rd, 2009 |
| Replies: 3 Views: 235 What is the consensus on the best way reference module level variables? I have a wx app that has grown too large, so I started to do some housekeeping. I'm trying to move several functions outside... |
Forum: Python Sep 17th, 2009 |
| Replies: 1 Views: 229 yeahaha. Found a solution:
added the "includes" option in the py2exe script. Posted is the new opts variable in the py2exe script to reflect the working change.
opts = {
... |
Forum: Python Sep 17th, 2009 |
| Replies: 1 Views: 229 My app works fine when its a .py file, however as soon as I compile it with py2exe 0.6.9 I get LookupErrors when using the email MIME library. I tried including the "packages": ["encodings"] option... |
Forum: Python Aug 5th, 2009 |
| Replies: 1 Views: 169 After a lot of googling I came across this which seems to be exactly what I'm looking for. http://wiki.wxpython.org/LoadIconFromWin32Resources Apparently everything from C++ to VB has some sort of... |
Forum: Python Aug 3rd, 2009 |
| Replies: 1 Views: 169 I've been looking around for the best way to access a frozen exe's stored resources, specifically bitmaps. Apparently this isn't very common or everyone already knows how to do it. I found the... |
Forum: Python Jul 8th, 2009 |
| Replies: 1 Views: 180 If I wanted to save the binary information of an executable as a string object in a .py file what would be the easiest way to go about that without receiving null byte and EOF errors.. I've messed... |
Forum: Python May 30th, 2009 |
| Replies: 1 Views: 402 Is it possible to separate python's syntax checker and check a string object with it? I've read through the py_compile module but it looks like syntax checking it done at a fairly low interface... |
Forum: Python May 26th, 2009 |
| Replies: 9 Views: 358 sounds like you want someone to write it for you. If not, there's a sticky post near the top of the python section that details graphical user interface programming for python beginners. |
Forum: Python May 26th, 2009 |
| Replies: 2 Views: 217 I've googled this quite a bit and can't find a way to tell if a file is currently being accessed or at least written to. Anyone dealt with this before? If one app if writing to a file another can be... |
Forum: Python Apr 30th, 2009 |
| Replies: 2 Views: 251 For anyone searching this looking for an answer, I made a simple workaround vbs script. The app builds it, executes it and then closes itself. The vbs has a delay built into it so file access doesnt... |
Forum: Python Apr 29th, 2009 |
| Replies: 2 Views: 251 I'm working on a simple update function to add to an existing program. It does a stat check of the source file and then copies the new file if necessary. This is easily accomplished with .py files.... |
Forum: Python Apr 23rd, 2009 |
| Replies: 1 Views: 305 I have a shared drive that I'm trying to access from another computer on the network with a script. I keep getting IO errors(does not exist), is there a module that deals with network locations?... |
Forum: Python Apr 20th, 2009 |
| Replies: 2 Views: 228 ahhhh.. very wise. thanks. |
Forum: Python Apr 20th, 2009 |
| Replies: 2 Views: 228 The question is in the title.
How do you create a list
r = range(5)
and just reference the data without referencing the object itself.
ie.
o = r |
Forum: Python Apr 16th, 2009 |
| Replies: 4 Views: 268 Sweetness, I googled threading and came up with this for anyone else searching for a similar answer.
http://wiki.wxpython.org/index.cgi/LongRunningTasks
-thanks for the help |
Forum: Python Apr 16th, 2009 |
| Replies: 4 Views: 268 thanks for the post.. that definitely helps, the prog still goes non responsive sometimes tho. |
Forum: Python Apr 16th, 2009 |
| Replies: 4 Views: 268 How do you keep a wx frame from not responding while the code is running in the background? ie a search or other demanding function. |
Forum: Python Feb 15th, 2009 |
| Replies: 3 Views: 239 I would but SetSelection requires an integer to indicate the list position you would like to set it to.. |
Forum: Python Feb 15th, 2009 |
| Replies: 3 Views: 239 How do you bind something like a listbox to an event, but keep that events default actions... ie when you bind a listbox to EVT_RIGHT_DOWN it overrides the SetSelection method that is normally... |
Forum: Python Nov 21st, 2008 |
| Replies: 3 Views: 455 as much fun as it is writing to myself.. can someone explain how I use:
"To convert a class instance to Unicode, a __unicode__ method can be defined by a class, analogous to __str__. "
Its found... |
Forum: Python Nov 20th, 2008 |
| Replies: 3 Views: 455 anyone know anything about encoding. The actual character that is throwing the error is a 1/2 symbol. Could I do
x='some string'
for each_letter in x:
try:
... |
Forum: Python Nov 19th, 2008 |
| Replies: 3 Views: 455 the following is a function within a 'worddocument' class. It basically parses tables in word documents. def GetTables(self):
doc = self.app.Documents[0]
tables = []
... |
Forum: Python Nov 18th, 2008 |
| Replies: 3 Views: 455 Does anyone know how to convert an instance to unicode?
I understand how to convert a string into unicode format
u=unicode(s, 'ASCII', ignore), however this assumes that s is already a string and... |
Forum: Python Nov 17th, 2008 |
| Replies: 2 Views: 451 |
Forum: Python Nov 16th, 2008 |
| Replies: 14 Views: 875 |
Forum: Python Nov 15th, 2008 |
| Replies: 14 Views: 875 Ok, I reinstalled wx as an admin, then re-ran the app. It looks the same as it did. But it never returns an error, just piles everything on top of each other.... and then as I was going to take a... |
Forum: Python Nov 15th, 2008 |
| Replies: 2 Views: 451 Im trying to write a script that can return directions to an address from google. I've looked over urllib for a while and I cannot figure out how to send the information to the server and then... |
Forum: Python Nov 13th, 2008 |
| Replies: 14 Views: 875 I reinstalled wx same problem. Theres no option in vista to run .py files as admins. I tried to set the python.exe to run as an administrator but it was greyed out. Same problem exists. |
Forum: Python Nov 13th, 2008 |
| Replies: 14 Views: 875 the vista.. . running python 2.5, wx 2.8 unicode... |
Forum: Python Nov 12th, 2008 |
| Replies: 14 Views: 875 I just f5 in idle.... that worked for you?? Its not all stacked on top of each other? |
Forum: Python Nov 12th, 2008 |
| Replies: 14 Views: 875 No I have all the events defined. I didnt post them cuz it would triple the length of the post. The app works great until I try add the menubar. |