ANN: Python Enthought Edition Version 0.9.7 Released

2006-06-07 Thread Bryce Hendrix
Enthought is pleased to announce the release of Python Enthought Edition Version 0.9.7 (http://code.enthought.com/enthon/) -- a python distribution for Windows. 0.9.7 Release Notes: Version 0.9.7 of Python Enthought Edition includes an update to version 1.0.7 of the

Vancouver Python Workshop: New Keynoter

2006-06-07 Thread Brian Quinlan
What's New? === The Vancouver Python Workshop is pleased to announce the addition of a third keynote speaker to this year's conference. Ian Cavén is the primary developer of the Lowry Digital Images motion picture restoration system. This Python and Zope-based system has been used to

Dr. Dobb's Python-URL! - weekly Python news and links (Jun 7)

2006-06-07 Thread Cameron Laird
QOTW: You can gain substantial speed-ups in very certain cases, but the main point of Pyrex is ease of wrapping, not of speeding-up. - Simon Percivall The rule of thumb for all your Python Vs C questions is ... 1.) Choose Python by default. . . . - Ravi Teja Do you remember Python's early

Pydev 1.1.0 Released

2006-06-07 Thread Fabio Zadrozny
Hi All, Pydev and Pydev Extensions 1.1.0 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions:

ANNOUNCE: Zenoss 0.20.0 Available

2006-06-07 Thread Erik A. Dahl
Version 0.20.0 of Zenoss is available for download. This version adds native SNMP performance monitoring and a new install system. To download: http://www.zenoss.org/download Release Notes: http://dev.zenoss.org/trac/wiki/zenoss-0.20 --- Project Blurb: Zenoss is a powerful

python-dev Summary for 2006-04-01 through 2006-04-15

2006-06-07 Thread Steven Bethard
python-dev Summary for 2006-04-01 through 2006-04-15 .. contents:: [The HTML version of this Summary is available at http://www.python.org/dev/summary/2006-04-01_2006-04-15] = Announcements = -

ANN: W3C batchvalidator script 1.6

2006-06-07 Thread Christof Höke
what is it -- A short script which calls the W3C HTML Validator in batch mode. Adapted from a Perl version. changes since the last release -- New option ``UPLOADFROMURL`` to retrieve files from e.g. a local server which the w3 validator may not be able to

IPython 0.7.2 is out.

2006-06-07 Thread Fernando Perez
Hi all, The IPython team is happy to release version 0.7.2, with a lot of new enhancements, as well as many bug fixes. We hope you all enjoy it, and please report any problems as usual. WHAT is IPython? 1. An interactive shell superior to Python's default. IPython has many

Fredericksburg, VA ZPUG June 14: meld3 templating and memcached sessions

2006-06-07 Thread Gary Poster
Please join us Wed., June 14, 7:30-9:00 PM, for another meeting of the Fredericksburg, VA Zope and Python User Group (ZPUG). We will have two full presentations, and some good snacks. If you plan to attend, an email 24 hours in advance would be appreciated (but last minute attendees are

[ANN] Firedrop 0.2.2

2006-06-07 Thread Fuzzyman
`Firedrop 2 0.2.2 http://www.voidspace.org.uk/python/firedrop2/`_ is now available. You can download it from : `Firedrop-0.2.2.zip http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=firedrop2-0.2.2.zip`_ This is an important release with several new features, and contributions

Re: Reading from a file and converting it into a list of lines

2006-06-07 Thread Girish Sahani
On 6/06/2006 4:15 PM, Girish Sahani wrote: Really sorry for that indentation thing :) I tried out the code you have given, and also the one sreeram had written. In all of these,i get the same error of this type: Error i get in Sreeram's code is: n1,_,n2,_ = line.split(',') ValueError: need

assign operator as variable ?

2006-06-07 Thread s99999999s2003
hi in python is there any way to do this op = a = 10 b = 20 if a op b : print a is less than b ?? thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: A more elegant way to do this list comprehension?

2006-06-07 Thread Gary Herron
Levi Self wrote: This probably seems very trivial, maybe even a bit silly, but I was wondering if someone has a better list comprehension that does the same thing as this one: print [[[i]*i for i in range(1,9)][j][k] for j in range(8) for k in range(j+1)] [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5,

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread Fredrik Lundh
fuzzylollipop wrote: you got no idea what you are talking about, anyone knows that something like this is IO bound. which of course explains why some XML parsers for Python are a 100 times faster than other XML parsers for Python... /F -- http://mail.python.org/mailman/listinfo/python-list

Re: assign operator as variable ?

2006-06-07 Thread -- bj0rn
[EMAIL PROTECTED] wrote: hi in python is there any way to do this op = a = 10 b = 20 if a op b : print a is less than b [EMAIL PROTECTED] wrote: hi in python is there any way to do this op = a = 10 b = 20 if a op b : print a is less than b Will this work for you?:

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread Fredrik Lundh
fuzzylollipop wrote: Is it possible to read an XML document in compressed format? compressing the footprint on disk won't matter, you still have 10GB of data that you need to process and it can only be processed uncompressed. didn't you just claim that this was an I/O bound problem ? /F

Re: assign operator as variable ?

2006-06-07 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: in python is there any way to do this op = a = 10 b = 20 if a op b : print a is less than b ?? the operator module contains functions corresponding to all builtin operators: import operator ops = { ==: operator.eq, !=:

Any good module for chart creation ?

2006-06-07 Thread struggleyb struggleyb
Hi , I am just doing a trivial job , which generate a bar chart from a collection of data , for example :I have a file like below ,Tom:23John:12Marry:56Jack:34... What I want to do is to read the data from the file and display it as a bar chart or some other chartand then put the chart in my web

Re: Using pysqlite2

2006-06-07 Thread xera121
Many thanks Gerhard - the solution you offer is workable in the scope of my project. Gracias muchacho Xera121 -- http://mail.python.org/mailman/listinfo/python-list

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: Paul, This is interesting. Unfortunately, I have no control over the XML output. The file is from Goldmine. However, you have given me an idea... Is it possible to read an XML document in compressed format? sure. you can e.g. use gzip.open to create a file

Re: python-dev Summary for 2006-04-01 through 2006-04-15

2006-06-07 Thread Fredrik Lundh
- Python 2.5a1 Released - Python 2.5 alpha 1 was released on April 5th. Please download it and try it out, particularly if you are an extension writer or you embed Python -- you may want to change things to support 64-bit sequences, and if you have

Re: newbie: python application on a web page

2006-06-07 Thread gene tani
puzz wrote: Hi all, I'd also appreciate a link to a beginner forum http://www.daniweb.com/techtalkforums/forum114.html and (not really a beginner forum, not really high volume, either) http://community.livejournal.com/python_dev/ -- http://mail.python.org/mailman/listinfo/python-list

pyqt show wizard

2006-06-07 Thread Yves Glodt
Hi, I have a mainwindow in my pyqt application, and on click of a button I want to start an assistant (wizard). I have create the wizard with the Qt Designer, generated the python code with pyuic, imported it from assistant import *, and subclassed it as usual. To show it, the onclick method

Re: how not to run out of memory in cursor.execute

2006-06-07 Thread [EMAIL PROTECTED]
whenever you are using a package that leaks memory. it can be appropriate to use Rpyc (http://rpyc.wikispaces.com/) to run the leaking code in a different process, and restart it from time to time. I've been using this method to avoid the leaks of matplotlib. --

Re: A more elegant way to do this list comprehension?

2006-06-07 Thread [EMAIL PROTECTED]
[1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8] [i+1 for i in range(8) for j in range(i+1)] [i for i in range(9) for j in range(i)] -- http://mail.python.org/mailman/listinfo/python-list

Re: what are you using python language for?

2006-06-07 Thread mystilleef
Desktop application development -- http://mail.python.org/mailman/listinfo/python-list

Re: what are you using python language for?

2006-06-07 Thread [EMAIL PROTECTED]
scientific computing testing systems hobby: games. check http://mashebali.com/?Chess_2 -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing to a certain line?

2006-06-07 Thread bruno at modulix
Tommy B wrote: bruno at modulix wrote: (snip) import os old = open(/path/to/file.txt, r) new = open(/path/to/new.txt, w) for line in old: if line.strip() == Bob 62 line = line.replace(62, 66) new.write(line) old.close() new.close() os.rename(/path/to/new.txt, /path/to/file.txt) (snip)

Bug in list comprehensions?

2006-06-07 Thread Iain King
I was playing with list comprehensions, to try and work out how doubled up versions work (like this one from another thread: [i for i in range(9) for j in range(i)]). I think I've figured that out, but I found something strange along the way: alpha = [one, two, three] beta = [A, B, C] [x for

Re: Bug in list comprehensions?

2006-06-07 Thread Fredrik Lundh
Iain King wrote: I'm guessing I'm the one confused here... but I'm confused! What's going on? reading the documentation may help: /.../ the elements of the new list are those that would be produced by considering each of the for or if clauses a block, nesting from left to

Re: Bug in list comprehensions?

2006-06-07 Thread Duncan Booth
Iain King wrote: [x for x in y for y in beta] ['C', 'C', 'C'] [y for y in beta] [['one', 'two', 'three'], ['one', 'two', 'three'], ['one', 'two', 'three']] [x for x in y for y in beta] ['one', 'one', 'one', 'two', 'two', 'two', 'three', 'three', 'three'] Shoudn't both lines '[x for x in

Use of Python in .NET

2006-06-07 Thread sushant . sirsikar
Hi, I am developing a code which has MVC (Model - View - Controler) architecture.My view is in .NET. And my controller is in Python.So can i call Python script from .NET? If yes, Can anybody tell me method or related documentation? Thanks in Advamce --

secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Hello, I'm trying to create a simple XMLRPC server and a client. It is a small application, but the connection needs to be secure. I would like the client to be as thin as possible. Ideally, the client should only require the basic python library, nothing else. I found many examples on the

Re: Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-07 Thread skip
John Was libncurses.a compiled with -fpic (or -fPIC, if necessary)? John http://mail.python.org/pipermail/python-dev/2001-March/013510.html When built shared the source was compiled with -fPIC. -fPIC is not used when not built shared. I forced that in a non-shared build. It still

Re: Python language problem

2006-06-07 Thread Boris Borcic
[EMAIL PROTECTED] wrote: class A: ... pass ... a = A() b = a del b a __main__.A instance at 0x00B91BC0 I want to delete 'a' through 'b', why It does't? How can I do that? del a,b -- http://mail.python.org/mailman/listinfo/python-list

Re: Python language problem

2006-06-07 Thread Laszlo Nagy
[EMAIL PROTECTED] i'rta: class A: ... pass ... a = A() b = a del b a __main__.A instance at 0x00B91BC0 I want to delete 'a' through 'b', why It does't? How can I do that? You must undestand that 'a' and 'b' are names. You can only delete names, not

Re: Python language problem

2006-06-07 Thread ripley
Boris Borcic wrote: [EMAIL PROTECTED] wrote: class A: ... pass ... a = A() b = a del b a __main__.A instance at 0x00B91BC0 I want to delete 'a' through 'b', why It does't? How can I do that? del a,b But 'b' is also deleted, i want use 'b' to delete 'a', 'b' is exists.

CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Ilias Lazaridis
[posted publicly to comp.lang.python, with email notification to 6 recipients relevant to the topic] I have implemented a simple schema evolution support for django, due to a need for a personal project. Additionally, I've provided an Audit: http://case.lazaridis.com/wiki/DjangoAudit As a

Re: Python language problem

2006-06-07 Thread ripley
Laszlo Nagy wrote: You must undestand that 'a' and 'b' are names. You can only delete names, not objects. Objects are freed by the garbage collector, automatically. Probably you used to write programs in C or Pascal or other languages with pointers. In Python, there are no pointers, just

Re: Python language problem

2006-06-07 Thread Diez B. Roggisch
Thanks for your so detailed explain, I think I know you, But my Engish is not enough to explain. I create same object in Tree, I want to update Tree, when I need to delete subtree. If where no references, I can't do that. some thing like blow: for i in list: del i This makes no

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Diez B. Roggisch
http://en.wikipedia.org/wiki/Ilias_Lazaridis [posted publicly to comp.lang.python, with no email notification to recipients that certainly don't consider this a relevant topic and for all those who don't know Illias] Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: tempfile Question

2006-06-07 Thread John Machin
On 7/06/2006 3:57 PM, Dennis Lee Bieber wrote: On Wed, 07 Jun 2006 09:56:13 +1000, John Machin [EMAIL PROTECTED] declaimed the following in comp.lang.python: The dir, prefix and suffix parameters are passed to mkstemp(). snip So I'd be thinking about using the (deprecated) mktemp()

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Simon Willison
Ilias Lazaridis wrote: [posted publicly to comp.lang.python, with email notification to 6 recipients relevant to the topic] I have implemented a simple schema evolution support for django, due to a need for a personal project. Additionally, I've provided an Audit:

Re: secure xmlrpc server?

2006-06-07 Thread Jeethu Rao
Using Twisted on the server side for xmlrpc doesn't restrict your options to using only Twisted on the client side. Nothing prevents you from using xmlrpclib.ServerProxy on the client side. Jeethu Rao Laszlo Nagy wrote: Hello, I'm trying to create a simple XMLRPC server and a client. It is

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Ilias Lazaridis
Diez B. Roggisch wrote: http://en.wikipedia.org/wiki/Ilias_Lazaridis What has this wikipedia entry to do with the topic here? What is the credibility and value of the provided wikipedia entry? Let's review the editor's list:

A WAD(-like) C-level exception catcher for Windows?

2006-06-07 Thread robert
For Unix there exists the WAD (part of SWIG) to catch C/machine-level errors (mem. access error, etc. ) and transform them into nice Python exceptions. ( http://www.usenix.org/events/usenix01/full_papers/beazley/beazley.pdf ) Does something like that exist for Windows? Or does somebody know a

Re: subprocesses, stdin/out, ttys, and beating insubordinate processes into the ground

2006-06-07 Thread Steve Holden
Jonathan Smith wrote: First a bit about what I'm trying to do. I need a function which takes a patchfile and patches a source directory. Thats it. However, I need to be able to do so no matter what the patchlevel (-px) of the diff is. So, my solution is to just try to patch until it works

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ -- mph -- http://mail.python.org/mailman/listinfo/python-list

Re: tempfile Question

2006-06-07 Thread Steve Holden
John Machin wrote: On 7/06/2006 3:57 PM, Dennis Lee Bieber wrote: On Wed, 07 Jun 2006 09:56:13 +1000, John Machin [EMAIL PROTECTED] declaimed the following in comp.lang.python: The dir, prefix and suffix parameters are passed to mkstemp(). snip So I'd be thinking about using the

Re: Again, Downloading and Displaying an Image from the Internet in Tkinter

2006-06-07 Thread Dustan
Fredrik Lundh wrote: Dustan wrote: Ok, that worked (was it plain w or the writelines/readlines that messed it up?). the plain w; very few image files are text files. But Tkinter still can't find the image. I'm getting an error message: TclError: image C:\Documents and [pathname

Re: Use of Python in .NET

2006-06-07 Thread Fuzzyman
[EMAIL PROTECTED] wrote: Hi, I am developing a code which has MVC (Model - View - Controler) architecture.My view is in .NET. And my controller is in Python.So can i call Python script from .NET? If yes, Can anybody tell me method or related documentation?

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Fuzzyman
Ilias Lazaridis wrote: Diez B. Roggisch wrote: http://en.wikipedia.org/wiki/Ilias_Lazaridis What has this wikipedia entry to do with the topic here? What is the credibility and value of the provided wikipedia entry? [snip..] Wow, you're a troll with your own wikipedia entry. That's

cgi and popen

2006-06-07 Thread Maarten van Veen
A long story made short, I've build a python/cgi website consisting of two pages. Page1 has a html form in which you can input a series of queries. Then via Popen it starts a pythons search script, which stores the results in a python shelve. As the Popen command is given it should redirect to

Re: how not to run out of memory in cursor.execute

2006-06-07 Thread John Hunter
[EMAIL PROTECTED] == [EMAIL PROTECTED] com [EMAIL PROTECTED] writes: [EMAIL PROTECTED] whenever you are using a package that leaks memory. [EMAIL PROTECTED] it can be appropriate to use Rpyc [EMAIL PROTECTED] (http://rpyc.wikispaces.com/) to run the leaking [EMAIL PROTECTED] code

Re: Python language problem

2006-06-07 Thread Steve Holden
ripley wrote: Boris Borcic wrote: [EMAIL PROTECTED] wrote: class A: ... pass ... a = A() b = a del b a __main__.A instance at 0x00B91BC0 I want to delete 'a' through 'b', why It does't? How can I do that? del a,b But 'b' is also deleted, i want use 'b' to delete 'a', 'b' is exists.

Re: python socket proxy

2006-06-07 Thread jstobbs
Hi Thanks for the reply. I found a proxy that works for me. Now I would like to know if its possible to run a python script, so its not visible in the cmd window (windows, i know, its bad :-) ) Maybe run it as a windows service? Filip Wasilewski wrote: [EMAIL PROTECTED] wrote: Hi all I

Re: secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before building extensions f or

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before

Re: python socket proxy

2006-06-07 Thread Jeethu Rao
Simplest way would be to rename your python file with a .pyw extension instead of a .py extension. If you're looking for windows services, checkout win32serviceutil.ServiceFramework in pywin32. Jeethu Rao [EMAIL PROTECTED] wrote: Hi Thanks for the reply. I found a proxy that works for

Re: capture video from camera

2006-06-07 Thread aljosa
i had no intention to say that videocapture is bad but it's not what i'm looking for. concerning docs, everybody has their own view on how docs should look like. that said, i should have written more clearly what i'm looking for. -- http://mail.python.org/mailman/listinfo/python-list

Re: secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Martin P. Hellwig írta: Laszlo Nagy wrote: Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET

Re: pyqt show wizard

2006-06-07 Thread David Boddie
Yves Glodt wrote: I have a mainwindow in my pyqt application, and on click of a button I want to start an assistant (wizard).I have create the wizard with the Qt Designer, generated the python code with pyuic, imported it from assistant import *, and subclassed it as usual.To show

Re: pyqt show wizard

2006-06-07 Thread David Boddie
Summary of the usual mess made by the Google Groups web interface: I suspect that you really want to call w.exec_loop() instead, since this will only return control to the method after the user has finished interacting with the wizard. Take a look at the QWizard documentation for more

curses event handling

2006-06-07 Thread John Hunter
I have a curses app that is displaying real time data. I would like to bind certain keys to certain functions, but do not want to block waiting for c = screen.getch() Is it possible to register callbacks with curses, something like screen.register('keypress', myfunc) Thanks, JDH --

Re: what are you (not) using python language for?

2006-06-07 Thread robert
hacker1017 wrote: im just asking out of curiosity. I am curious for what kind of (new) serious programs and projects the Python language and its offsprings like Pyrex would not be the optimal programming language currently? (Unless you completely misbelieve in Ruby) Device drivers, small

Re: Python language problem

2006-06-07 Thread baiju
May be you are looking for weakref module: http://www.python.org/doc/current/lib/module-weakref.html -- Baiju M -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Ilias Lazaridis
[Replying to comp.lang.python, due to censorship on Django User] [additional notification of poster via email, as medium is changed] [EMAIL PROTECTED] wrote: yep. i feel particularly hosed for trying to work with you offline to synchronize our efforts. I don't think that telling me when

wddx problem with entities

2006-06-07 Thread Tim Arnold
I'm confused about why I get this error: UnicodeError: ASCII encoding error: ordinal not in range(128) when I try to load a wddx file containing this string: stringThe image file, gif/aper#231;u.png, does not exist./string When I loop through the file as if it's text and check

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: cut http://trevp.net/tlslite/ - no exe installers. http://sourceforge.net/projects/tlslite/ - no file packages to download :-( Download the zip and unpack it: http://trevp.net/tlslite/tlslite-0.3.8.zip Then there is an installers directory SimpleXMLRPCServer uses

Re: tkinter: making widgets instance or not?

2006-06-07 Thread John Salerno
John McMonagle wrote: def __init__(self, master): self.parent = master self.entry1 = self.draw_entry('First Name:') self.entry2 = self.draw_entry('Last Name:') Genius! :) Looks like you solved both of my problems! Thanks! --

Re: what are you using python language for?

2006-06-07 Thread Dale Huffman
hacker1017 wrote: im just asking out of curiosity. Embedded control system -- http://mail.python.org/mailman/listinfo/python-list

Re: what are you (not) using python language for?

2006-06-07 Thread Grant Edwards
On 2006-06-07, robert [EMAIL PROTECTED] wrote: I am curious for what kind of (new) serious programs and projects the Python language and its offsprings like Pyrex would not be the optimal programming language currently? The stuff I work on for which I don't use Python: * Device drivers

help to install MySQL-python module

2006-06-07 Thread ciccio
Dear python users, I have an account on a Linux Cluster. I installed python version 2.3.5 on my account. I need to install the module MySQL-python to interact with a MySQL server already installed on the cluster. However, I read the README file but running python setup.py build the system

THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE

2006-06-07 Thread gen_tricomi
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE I write here to make a request on behalf of all the programmers on earth who have been or are intending to use the Google web search API for either research purposes or for the development of real world applications, that Google make their

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Steve Holden
Ilias Lazaridis wrote: [Replying to comp.lang.python, due to censorship on Django User] [additional notification of poster via email, as medium is changed] And yet you still don't see why people call you a troll? This is completely inappropriate for comp.lang.python. Please take it

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Ilias Lazaridis
Steve Holden wrote: Ilias Lazaridis wrote: [Replying to comp.lang.python, due to censorship on Django User] [additional notification of poster via email, as medium is changed] And yet you still don't see why people call you a troll? Missing liberal qualities?

Re: THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE

2006-06-07 Thread Duncan Booth
gen_tricomi wrote: Currently application programmers using the Google web search API are limited to 1000 queries a day. This on the one hand is a reasonable decision by Google because; limiting the queries will prevent harm on the Google system by unnecessary automated queries; but it is also

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Brian
Ilias Lazaridis wrote: snip http://lazaridis.com I would agree with you that this is a place to discuss python. However, your posts primarily deal with your expulsion from another group. Instead of discussing that, why don't your discuss the python technicalities of your project and leave the

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Steve Holden
Ilias Lazaridis wrote: Steve Holden wrote: Ilias Lazaridis wrote: [Replying to comp.lang.python, due to censorship on Django User] [additional notification of poster via email, as medium is changed] And yet you still don't see why people call you a troll? Missing liberal qualities?

Re: THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE

2006-06-07 Thread Steve Holden
gen_tricomi wrote: THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE I write here to make a request on behalf of all the programmers on earth who have been or are intending to use the Google web search API for either research purposes or for the development of real world

Re: How to add few pictures into one

2006-06-07 Thread Lad
K.S.Sreeram wrote: Lad wrote: I really would like to have ALL pictures in one file. import Image def merge_images( input_files, output_file ) : img_list = [Image.open(f) for f in input_files] out_width = max( [img.size[0] for img in img_list] ) out_height = sum( [img.size[1]

Re: cgi and popen

2006-06-07 Thread Thomas Guettler
Am Wed, 07 Jun 2006 14:54:41 +0200 schrieb Maarten van Veen: A long story made short, I've build a python/cgi website consisting of two pages. Page1 has a html form in which you can input a series of queries. Then via Popen it starts a pythons search script, which stores the results in a

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread gregarican
Am I missing something? I don't read where the poster mentioned the operation as being CPU intensive. He does mention that the entirety of a 10 GB file cannot be loaded into memory. If you discount physical swapfile paging and base this assumption on a normal PC that might have maybe 1 or 2 GB of

Re: cgi and popen

2006-06-07 Thread Maarten van Veen
In article [EMAIL PROTECTED], Thomas Guettler [EMAIL PROTECTED] wrote: Am Wed, 07 Jun 2006 14:54:41 +0200 schrieb Maarten van Veen: A long story made short, I've build a python/cgi website consisting of two pages. Page1 has a html form in which you can input a series of queries. Then

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Ilias Lazaridis
Brian wrote: Ilias Lazaridis wrote: snip http://lazaridis.com I would agree with you that this is a place to discuss python. However, your posts primarily deal with your expulsion from another group. Instead of discussing that, why don't your discuss the python technicalities of your

Re: pyqt show wizard

2006-06-07 Thread Iain King
David Boddie wrote: Summary of the usual mess made by the Google Groups web interface: I suspect that you really want to call w.exec_loop() instead, since this will only return control to the method after the user has finished interacting with the wizard. Take a look at the QWizard

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread fuzzylollipop
Fredrik Lundh wrote: fuzzylollipop wrote: you got no idea what you are talking about, anyone knows that something like this is IO bound. which of course explains why some XML parsers for Python are a 100 times faster than other XML parsers for Python... dependes on the CODE and the

Very nice python IDE (windows only)

2006-06-07 Thread ago
I have just discovered Python Scripter by Kiriakos Vlahos and it was a pleasant surprise. I thought that it deserved to be signalled. It is slim and fairly fast, with embedded graphical debugger, class browser, file browser... If you are into graphical IDEs you are probably going to enjoy it.

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Rene Pijlman
Ilias Lazaridis: What is the credibility and value of the provided wikipedia entry? Wikipedia always tells the Absolute Truth, because if it doesn't, we can edit it and fix it right away. -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Quick Start with Schema Evolution Support

2006-06-07 Thread Ilias Lazaridis
Steve Holden wrote: Ilias Lazaridis wrote: Steve Holden wrote: Ilias Lazaridis wrote: ... This thread is now technical. Thank you for your comments. . -- http://lazaridis.com -- http://mail.python.org/mailman/listinfo/python-list

Re: PUDGE - Project Status, Alternative Solutions

2006-06-07 Thread Ilias Lazaridis
Ilias Lazaridis wrote: Ilias Lazaridis wrote: What is going on with the pudge project? Any chance to get an comment on this? After a little bit off-list discussion, I understand that many python documentation projects stop at some point, and that efforts are in general not very

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Ilias Lazaridis
Rene Pijlman wrote: Ilias Lazaridis: What is the credibility and value of the provided wikipedia entry? Wikipedia always tells the Absolute Truth, because if it doesn't, we can edit it and fix it right away. fascinating! . -- http://lazaridis.com --

Re: help to install MySQL-python module

2006-06-07 Thread Lou Losee
On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear python users, I have an account on a Linux Cluster. I installed python version 2.3.5 on my account. I need to install the module MySQL-python to interact with a MySQL server already installed on the cluster. However, I read the

Re: curses event handling

2006-06-07 Thread Walter Dörwald
John Hunter wrote: I have a curses app that is displaying real time data. I would like to bind certain keys to certain functions, but do not want to block waiting for c = screen.getch() Is it possible to register callbacks with curses, something like screen.register('keypress',

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-07 Thread [EMAIL PROTECTED]
Thanks guys for all your posts... So I am a bit confusedFuzzy, the code I saw looks like it decompresses as a stream (i.e. per byte). Is this the case or are you just compressing for file storage but the actual data set has to be exploded in memory? fuzzylollipop wrote: Fredrik Lundh wrote:

Re: help to install MySQL-python module

2006-06-07 Thread Tim Chase
error: invalid Python installation: unable to open /usr/local/lib/python2.3/config/Makefile (No such file or directory) Ernesto, Where did the install put Python - the obvious situation is that the Makefile is not where the install of MySQL-Python thinks it is. Some binary distros of

creating and naming objects

2006-06-07 Thread Brian
I have a question that some may consider silly, but it has me a bit stuck and I would appreciate some help in understanding what is going on. For example, lets say that I have a class that creates a student object. Class Student: def setName(self, name) self.name = name def

How do I automatically redirect stdout and stderr when using os.popen2?

2006-06-07 Thread mikem76
How do I automatically redirect stdout and stderr when using os.popen2 to start a long running process. If the process prints a lot of stuff to stdout it will eventually stop because it runs out of buffer space. Once I start reading the stdout file returned by os.popen2 then the process resumes.

Re: CENSORSHIP - Django Project (Schema Evolution Support)

2006-06-07 Thread Thorsten Kampe
* Ilias Lazaridis (2006-06-07 12:35 +) [posted publicly to comp.lang.python, with email notification to 6 recipients relevant to the topic] I think I have a deja-vu... Did someone say Xah?! T. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python to C converter

2006-06-07 Thread Carl Friedrich Bolz
Chance Ginger wrote: If you are looking for a real python to C, well in this case C++ look for the shedskin compiler. It will take a rather nice subset of Python and generate C++ code from it. In which sense is shedskin a more real python to C/C++ compiler than some of the other mentioned

  1   2   3   >