First  |  Prev |  Next  |  Last
Pages: 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
Consolidate Credit Card Debt
Consolidate Credit Card Debt ------------------------------ http://sites.google.com/site/creditcarddebtconsolidation33 ... 31 Mar 2010 00:02
Fetch files from mail in python
On Tue, Mar 30, 2010 at 4:33 PM, <hidura(a)gmail.com> wrote: Hello list, i want to know how could i fetch a file from an email, what kind of library i have to use for that, actually i am working in the support of IMAP and POP3. Next time, consult the Global Module Index (http://docs.python.org/modindex.html... 30 Mar 2010 21:50
sort array, apply rearrangement to second
I have two arrays, made with numpy. The first one has values that I want to use as sorting keys; the second one needs to be sorted by those keys. Obviously I could turn them into a dictionary of pairs and sort by the first member, but I think that's not very efficient, at least in space, and this needs to be done ... 1 Apr 2010 11:14
Sometimes the python shell cannot recognize the presence of anattribute.
Sometimes when I am working on an already generated package, the python shell cannot perceive the presence of an attribute that I implemented on top of what was there. Is there a way to have it perceive newly created attributes? Thanks, Justin. ... 12 Apr 2010 12:31
psycopg2 / psycopg2.DataError: invalid input syntax for typetimestamp with time zone:
On Mar 30, 2010, at 4:47 PM, ASh wrote: Hi, please help me understand why am I getting error with this query new_start_date = "NOW() - '29 days'::INTERVAL" self.dyndb.orderdb.query('''update xxxx set creation_date = %s where id_order = %s''', (new_start_date, "1... 31 Mar 2010 05:26
psycopg2 / psycopg2.DataError: invalid input syntax for type timestamp with time zone:
Hi, please help me understand why am I getting error with this query new_start_date = "NOW() - '29 days'::INTERVAL" self.dyndb.orderdb.query('''update xxxx set creation_date = %s where id_order = %s''', (new_start_date, "123")) .... psycopg2.DataError: invalid input s... 31 Mar 2010 07:36
How many packages there are in PyPI
Hi, PyPI is reaching the 10000 package figure (In the case of 3.x only about 140 packages and increasing very very slowly). Looking at available packages for 3.x I observed that some packages are listed several times. For example, lxml is listed 5 times. Are these repetitions included in the package count? If ye... 30 Mar 2010 14:58
Python Script Creator/Generator (function factory)
Hello, I have the following situation: I've got a 3rd party application that has a Python API. The applicaiton has integrated support for MIDI Hardware Controllers, which can be used to manipulate various parameters of the application. The app can also load Python User Scripts, which can define the mapping betwe... 30 Mar 2010 12:44
(a==b) ? 'Yes' : 'No'
Hi, how can I write the popular C/JAVA syntax in Python? Java example: return (a==b) ? 'Yes' : 'No' My first idea is: return ('No','Yes')[bool(a==b)] Is there a more elegant/common python expression for this? ... 20 Apr 2010 15:48
Binary Decimals in Python
To get the decimal representation of a binary number, I can just do this: int('11',2) # returns 3 But decimal binary numbers throw a ValueError: int('1.1',2) # should return 1.5, throws error instead. Is this by design? It seems to me that this is not the correct behavior. - Aditya ... 30 Mar 2010 17:13
First  |  Prev |  Next  |  Last
Pages: 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170