First  |  Prev |  Next  |  Last
Pages: 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Inconsistency in the format docstring (2.7).
Small inconsistency in the format.__doc__ sys.version 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] ''.format.__doc__ S.format(*args, **kwargs) -> unicode type('{}'.format(999)) <type 'str'> type('{}'.format('abcé')) <type 'str'> ... 21 Jul 2010 19:07
ANN: blist 1.2.0
On Wed, 21 Jul 2010 09:47:08 -0500 Daniel Stutzbach <daniel(a)stutzbachenterprises.com> wrote: What's new? ----------- - blist.sort() is now *substantially* faster than list.sort() when using int or float keys (O(n) vs. O(n log n)) Are you using some kind of radix sort? Could it be contributed ba... 22 Jul 2010 20:13
Multiline regex
I'm trying to read in and parse an ascii type file that contains information that can span several lines. Example: createNode animCurveTU -n "test:master_globalSmooth"; setAttr ".tan" 9; setAttr -s 4 ".ktv[0:3]" 101 0 163 0 169 0 201 0; setAttr -s 4 ".kit[3]" 10; setAttr -s 4 ".kot[3]" 10; ... 21 Jul 2010 21:18
An ODBC interface for Python 3?
A quick web search yielded no current support for the ODBC interface for Python 3. I'd like to get a simple "tracer bullet" up and running ASAP. I need to connect to an MSSQL database from Windows XP/2000, using an ODBC interface. Is this a case where I'll need to go back to Python 2.6? -- Neil Cerutti ... 21 Jul 2010 10:13
detect endianness of a binary with python
Hi all, I use python 2.5 and I am looking for a possibility to determine a file type. Especially the endianness of a file is needed for me. Is there a way to detect this easily in python? Something like the "file" utility for linux would be very helpfull. Any help is appreciated. Best regards Holger Brunck ... 23 Jul 2010 12:31
Sorting a list created from a parsed xml message
Hi pythonistas, From the subject of my message it's clear that i get an xml message from a socket, i parse it and the result is a list like the one that follows: ID_Col 4 Server ak ip OFFLINE 29 Server and2 ip OFFLINE 5 Proxy l34e ip OFFLINE 6 Proxy barc ip ... 27 Jul 2010 06:14
source install of python2.7 and rpm install of cx_Oracle collision
> I make installed python 2.7 from source, and also installed the RPM version of cx_Oracle for python 2.7. But ldd tells me : #ldd cx_Oracle.so libpython2.7.so.1.0 => not found I find out that only libpython2.7.a generated when I install python2.7, who can tell me what I nee... 22 Jul 2010 13:35
SQLalchemy+py2exe+pymssql error
Hi everyone, I'm trying to build an executable with py2exe. My script uses SQLalchemy and pymssql with python 2.6. Here is my setup file: from distutils.core import setup import py2exe manifest = """ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" ma... 21 Jul 2010 05:54
Multidimensional Fitting
I want to fit an n-dimensional distribution with an n-dimensional gaussian. So far i have managed to do this in 2d (see below). I am not sure how to convert this to work in n-dimensions. Using "ravel" on the arrays is not ideal, but optimize does not appear to work on multidimensional arrays. It seems "meshgrid" ... 21 Jul 2010 01:35
How to treat the first or last item differently
A Python newcomer asked this question on python-ideas list. I am answering here for the benefit of others. Example: building a string res with commas separating substrings s from some sequence. Either the first item added must be s versus ', '+s or the last must be s versus s+', '. For building strings, of c... 21 Jul 2010 04:50
First  |  Prev |  Next  |  Last
Pages: 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45