First  |  Prev |  Next  |  Last
Pages: 227 228 229 230 231 232 233 234 235 236 237 238
Working with Excel inside Python
I have a .plt file (which is a tab delimited ASCII file) and I want to format it to get a .dbf with data in rows and columns, detele some rows/columns and substitute decimal '.' with ','. All this using Python (I'm using Pythonwin). The .plt file looks like this: * ISCST3 (02035): Tersa * MODELING OPTIONS USE... 8 Jan 2007 15:27
TypeError: cannot concatenate 'str' and 'NoneType' objects
Hi. I'm extremely new to Python and programming as a whole. I have written a python script with the assistance of ESRI ArcGIS 9.2, which uses Python 2.4.1, however, it gives me this error when I try to run it. I've already posted at ESRI support, and I was hoping that Python people could help me more. I hope... 20 Dec 2006 15:38
py2exe Problem with cairo
Hi, I have problem with my py2exe. When I want to run my compiled exe, then i get error information like that: Trackback (most recent call last): File "mysql_gui.py", line 2 in ? File "gtk\__int__.pyc", line 12, in ? File "gtk\_gtk.pyc", line 12, in ? File "gtk\_gtk.pyc", line 10, in __load ... 9 Dec 2006 11:45
No module named _db2
For some reason the _db2 module cannot be imported. Have you had this issue before? [root(a)server1test]# python test_basic.py Traceback (most recent call last): File "test_basic.py", line 2, in ? import DB2 File "/home/itmuser/scripts/lib/PyDB2-1.1.0/test/DB2.py", line 10, in ? import _db2 Impor... 5 Dec 2006 03:50
Convert PNG files to BMP files using PIL
Hi there, I'm trying to convert some PNG files to bitmap files which can then be converted to X11 bitmaps using the im.tobitmap() function. But the error I get when using the im.tobitmap() function on the PNG files I get the following error: im.tobitmap() Traceback (most recent call last): File "<py... 4 Dec 2006 18:40
pyj file extension
I have two questions for the list: - what extension is pyj ? - is there a good python debugger that can inspect precompiled python files? Thank you :) ... 16 Nov 2006 19:17
ctypes pointer to pointer
Hi, I have a C function in the dll does the following: DLL_API int dll_foo(char **data, size_t *size) { strcpy(*data, "hello"); *size = strlen(*data); return 0; } So I would call the function as such, char data[8]; size_t size; int status = dll_foo(&data, &size); I have tried the... 28 Sep 2006 12:57
Using py2exe to wrap a service?
I have an app using active_directory.py and the std module asyncore in a Windows Service. Works perfectly! That is, until I try to use py2exe to create a standalone (need to avoid installing the entire Python etc. on the target system). When I try to start the installed Service, the system tells me it terminate... 22 Sep 2006 02:19
PumpMessages et WM_QUIT
I have a COM server that throw events that i catch after running the event loop thanks to pythoncom.PumpMessages(). How can i stop and exit this loop? I tried to use win32api.PostQuitMessage() but this has no effect ( the doc says that WM_QUIT stops the PumpMessages loop but it doesn't) Does someone know how to ... 13 Sep 2006 14:54
Unicode / cx_Oracle problem
Sorry to be back at the goodly well so soon, but... ....when I execute the following -- variable mean_eng_txt being utf-16LE and its datatype nvarchar2(79) in Oracle: cursor.execute("""INSERT INTO mean (mean_id,mean_eng_txt) VALUES (:id,:mean)""",id=id,mean=mean) I not surprisingly get this error messa... 16 Sep 2006 17:14
First  |  Prev |  Next  |  Last
Pages: 227 228 229 230 231 232 233 234 235 236 237 238