First  |  Prev |  Next  |  Last
Pages: 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
Generating diagrams from PostgreSQL with Python (Re:postgresql_autodoc in Python?)
Hello, I will re-precise my question: Has anyone ever implemented a script in Python that generates documentation (especially diagrams, in a format such as e.g. Dia, Inkscape SVG or Tikz) for a PostgreSQL database either from an SQL script or by connecting to the database? Postgresql_autodoc is unfortunately w... 10 Dec 2009 06:49
DCT transform (API)? (scipy or otherwise)
I am looking for a 2-D DCT transform function for use in python. Does anyone have any good pointers? I see that one is promised in scipy 0.8.0, but I cannot find any details on how close that is to being released. I am not sure if running bleeding-edge scipy would solve my problem; I should have liked more ex... 10 Dec 2009 05:44
Connecting to Python COM server from Excel VBA does not work
I ran this script: --------------------------- class Example(object): _public_methods_ = ['Add','Mul'] _reg_progid_ = 'MyPython.Example' _reg_clsid_ = '{E39ECD8C-7FAF-48B0-B914-1202319499D4}' def Add(self,a,b): return a+b def Mul(self,a,b): return a*b if __name__ == '__main__': im... 10 Dec 2009 11:11
Parsing html with Beautifulsoup
I am trying to get csv-output from a html-file. With this code I had a little success: ========================= from BeautifulSoup import BeautifulSoup from string import replace, join import re f = open("configuration.html","r") g = open("configuration.csv",'w') soup = BeautifulSoup(f) t = soup.findAll('... 14 Dec 2009 17:42
Python for Newbies
Here is a new tutorial that may be a good starting point for learning Python. http://www.themaemo.com/python-for-newbies/ ... 10 Dec 2009 00:22
Porting pyftpdlib to Python 3.x: question about tarball naming convention
Hi, I've started the (hard) process of porting pyftpdlib [1] to Python 3. In order to do that I'm working on a separate SVN branch and I plan to maintain two different releases of my software, one for 2.x and another one for 3.x. My doubts are about the naming convention I have to use for the tarball and how it... 9 Dec 2009 18:52
Parsing json where object keys are not quoted?
Is there some way to finagle the json module to parse JSON (well, almost JSON) where the object keys are not in quotes? I know it's not 100% valid JSON, but I'm just curious. I don't have control over the data, so I can't make it fit the spec :) ... 9 Dec 2009 18:52
Recommendation for small, fast, Python based web server
python(a)bdurham.com wrote: I'm looking for a small, simple, fast, Python based web server for a simple, client side application we're building. I've used WebStack[1] for this in the past. It allows for stand-alone serving as well as plugging nicely into various "real" servers (apache+mod_python, etc) with... 27 Dec 2009 09:45
a huge shared read-only data in parallel accesses -- How? multithreading? multiprocessing?
On 12/9/2009 6:58 AM Valery said... Hi all, Q: how to organize parallel accesses to a huge common read-only Python data structure? I have such a structure which I buried in a zope process which keeps it in memory and is accessed through http requests. This was done about 8 years ago, and I think to... 9 Dec 2009 16:38
Perl to Python conversion
First off: I am new here and this is my first post after lurking for quite some time. Second off: I don't know much Python---yet. Problem: I have come across a small open source application that I find quite useful. It does have one major flaw though. Its output is in imperial units. Converting isn't a big dea... 28 Dec 2009 08:33
First  |  Prev |  Next  |  Last
Pages: 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233