python-2.5
Class decorators in Python 2.5?
Is there a way I can make class decorators work on Google App Engine, which is limited to Python 2.5?[详细]
2023-01-28 00:44 分类:问答Merge nested dictionaries, by nested keys?
I have several dictionaries with different and c开发者_开发技巧ommon keys, plus different and common keys in the nested dictionary. Below is a simplified example, the actual dictionaries have thousand[详细]
2023-01-26 16:42 分类:问答AttributeError: '_MainProcess' object has no attribute '_exiting'
I got an AttributeError: \'_MainProcess\' object has no attribute \'_exiting\' from a Python application. Unfortunately this code has to run Python 2.5 and therefore the processing module nowadays[详细]
2023-01-24 19:57 分类:问答Multiple (asynchronous) connections with urllib2 or other http library?
I have code like this. for p in range(1,1000): result = False while result is False: ret = urllib2.Request(\'http://server/?\'+str开发者_高级运维(p))[详细]
2023-01-24 02:33 分类:问答Remove duplicate entries from nested dictionary, if two values are the same, in Python
Consider this dictionary format. {1:{\'name\':\'chrome\', \'author\':\'google\', \'url\':\'http://www.google.com/\' },[详细]
2023-01-23 21:06 分类:问答How do I print Python 2.5 Exception arguments?
Does python 2.5 allow you to pass exception arguments? try: raise Exception(\"argument here\") except Exception: print Exception.args[详细]
2023-01-20 21:11 分类:问答Override reversed(...) in Python 2.5
I need a custom __reverse__ function for my class that I am deploying on App Engine, so it needs to work with Python 2.5. Is there a __future__ import or a workaround I could use?[详细]
2023-01-20 09:59 分类:问答How to simulate ZipFile.open in Python 2.5?
I want to extract a file from a zip to a specific path, ignoring the file path in the archive. This is very easy in Python 2.6 (my docstring is longer than the code)[详细]
2023-01-17 03:39 分类:问答python print not functioning correctly after using curses
I have created a simple gui with curses.开发者_运维百科 However, when the curses menu is finished the print function does not print anything to screen until the main program exits.[详细]
2023-01-15 16:17 分类:问答Python 2.5 Windows Binaries?
I need to test开发者_Go百科 an issue that occurs on Windows with Python 2.5, but the releases page doesn\'t link to a binary for 2.5.[详细]
2023-01-10 01:12 分类:问答