ANN: bridge 0.1.0 a general Python and IronPython XML library

2006-11-04 Thread Sylvain Hellegouarch
Hi all, I'm happy to introduce the first release of bridge. A general purpose XML library for Python and IronPython (and ultimately Jython). bridge is very simple and light. It basically let you load an XML document via a set of different parsers (xml.dom, Amara, lxml, System.Xml) and creates a

PyPE 2.7.2 released

2006-11-04 Thread Josiah Carlson
=== What is PyPE? === PyPE (Python Programmers' Editor) was written in order to offer a lightweight but powerful editor for those who think emacs is too much and idle is too little. Syntax highlighting is included out of the box, as is multiple open documents via tabs. Beyond the basic

Re: ANN: SE 2.3. Available now

2006-11-04 Thread Frederic Rentsch
Fredrik Lundh wrote: Frederic Rentsch wrote: And here's the proof I am being perceived as a nuisance. I apologize, keeping to myself that I don't care. since you're constantly targeting newbies, and are hawking your stuff also for things for which there are simple and efficient

Re: Sorted and reversed on huge dict ?

2006-11-04 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: Klaas i do not know about intern construct, i will have look, but when googling the description in the documentation is pretty concise, I think: http://effbot.org/pyref/intern /F -- http://mail.python.org/mailman/listinfo/python-list

Re: Defaultdict and speed

2006-11-04 Thread bearophileHUGS
Klaas wrote: Benchmarks? There is one (fixed in a succesive post) in the original thread I was referring to: http://groups.google.com/group/it.comp.lang.python/browse_thread/thread/aff60c644969f9b/ If you want I can give more of them (and a bit less silly, with strings too, etc). def ddict(n):

small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from CGIHTTPServer import CGIHTTPRequestHandler import BaseHTTPServer class MyRequestHandler(CGIHTTPRequestHandler):

Re: Programming Language that is Spreadsheet/Table Based

2006-11-04 Thread James Stroud
Gerard Flanagan wrote: py # the following is probably the trickiest, should it return a Table py # should it be illegal? py # should t['Last'] be the way to take the slice and get the col? py t[None, 'Last'] # 1d slice returns list (2nd dim. explicit) ['Barker', 'Burnet', 'Danson',

Re: PySchool - Online Python Web Framework Workshop.

2006-11-04 Thread James Stroud
RobJ wrote: Hi! My Name is Rob Johnson and I am a graduate student at The Richard Stockton College of NJ. To make a long story short, I'm working on my Masters project in the MAIT program (Masters of Arts in Instructional Technology). I have written a proposal to put together a free on-line

Re: small python cgi webserver

2006-11-04 Thread ArdPy
Fabian Braennstroem wrote: Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from CGIHTTPServer import CGIHTTPRequestHandler import BaseHTTPServer class

Re: Sorted and reversed on huge dict ?

2006-11-04 Thread Nick Craig-Wood
Paul Rubin http wrote: is there a good way to know how much ram is used directly from python (or should i rely on 'top' and other unix command? I think try resource.getrusage() That should work (under BSD anyway) but unfortunately doesn't under linux :-( From the man page CONFORMING

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi, * ArdPy [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from CGIHTTPServer import CGIHTTPRequestHandler

Re: Programming Language that is Spreadsheet/Table Based

2006-11-04 Thread Gerard Flanagan
James Stroud wrote: Gerard Flanagan wrote: py # the following is probably the trickiest, should it return a Table py # should it be illegal? py # should t['Last'] be the way to take the slice and get the col? py t[None, 'Last'] # 1d slice returns list (2nd dim. explicit) ['Barker',

Re: Programming Language that is Spreadsheet/Table Based

2006-11-04 Thread James Stroud
Gerard Flanagan wrote: What about symmetric 'load' and 'iterrows' methods for the Table class: t2 = Table() t2.load( t1.iterrows(LastName, Age) ) def load(self, iterable): '''expecting tuples''' for lname, age in iterable: self.append( lname, age ) def

Really strange behavior

2006-11-04 Thread IloChab
Sorry I wasn't able to be more specific on my topic but I really do not know how to classify my problem, I mean that I can't understand if it's a python or a twisted or a Qt4 problem I'm trying to run a simple application with Twisted and Qt4. To do this I downloaded this:

Re: small python cgi webserver

2006-11-04 Thread Norbert Kaufmann
Fabian Braennstroem wrote: [...] Maybe, I understood something wrong, but I thought that the above 'webserver' script would replace apache in my case; at least I hoped!? It does. The 'ServerRoot' and 'DocumentRoot' directories are the directories you are starting your webserver in. Create

Re: py2exe questions

2006-11-04 Thread robert
Thomas Heller wrote: Larry Bates schrieb: Doug Stell wrote: I have 2 questions about py2exe or any similar utility. 1. Is it possible to create a single Windows executable that does not blow out to a folder full of files and can be called from scripts using command line arguments? 2. If

Re: small python cgi webserver

2006-11-04 Thread ArdPy
Fabian Braennstroem wrote: Hi, * ArdPy [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread robert
Martin v. Löwis wrote: robert schrieb: in combination with some simple locking (anyway necessary) I don't see a problem in ref-counting. In the current implementation, simple locking isn't necessary. The refcounter can be modified freely since the code modifying it will always hold the

Re: Really strange behavior

2006-11-04 Thread ArdPy
IloChab wrote: Sorry I wasn't able to be more specific on my topic but I really do not know how to classify my problem, I mean that I can't understand if it's a python or a twisted or a Qt4 problem I'm trying to run a simple application with Twisted and Qt4. To do this I downloaded this:

Re: codecs - where are those on windows?

2006-11-04 Thread GHUM
Fredrik Lundh schrieb: If your installation directory is C:\Python25, then look in C:\Python25\lib\encodings that's only the glue code. the actual data sets are provided by a bunch of built-in modules: import sys sys.builtin_module_names ('__builtin__', '__main__', '_ast',

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread GHUM
robert, Interprocess communication is tedious and out of questio [...] I expect to be able to directly push around Python Object-Trees between the 2 (or more) interpreters by doing some careful locking. Please do yourself a favour and have a look at pyro. pyro makes InterComputer and

Re: Sorted and reversed on huge dict ?

2006-11-04 Thread vd12005
so it has worked :) and last 12h4:56, 15 dicts with 1133755 keys, i do not know how much ram was used as i was not always monitoring it. thanks for all replies, i'm going to study intern and others suggestions, hope also someone will bring a pythonic way to know memory usage :) best. --

Re: py2exe questions

2006-11-04 Thread Jerry
The McMillan (sp?) Python Installer has recently been resurrected as well, though now, it is just called PyInstaller and can be found at http://pyinstaller.python-hosting.com/ It allows you to create a one file distributable without the need to go back to Python2.3. Despite what everyone is

Re: WSDL?

2006-11-04 Thread Jorge Vargas
On 11/3/06, tobiah [EMAIL PROTECTED] wrote: Is WSDL the right answer for in house communication between programs written in different languages, or is it more for publishing interfaces for use by parties outside your own company? at work we use webservices (which is a better name) a lot for

Re: py2exe questions

2006-11-04 Thread Fredrik Lundh
Jerry wrote: Despite what everyone is saying though, I believe that any and all solutions will require that the byte-code be extracted to some directory before being run. the Python interpreter doesn't really care what you believe, though; it's perfectly capable of executing byte code that's

[OT] how to write code into a blog post?

2006-11-04 Thread Jorge Vargas
Hi I know many people here blog so sorry for the OT. Currently I have a wordpress install and went I wanted to post some code I notice how painfull it is. I'm still in shock that programmers forgot about posting code on their own engine, but oohh well they are php :D anyway I'll like to know

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread robert
Paul Rubin wrote: robert [EMAIL PROTECTED] writes: I don't want to discourage you but what about reference counting/memory management for shared objects? Doesn't seem fun for me. in combination with some simple locking (anyway necessary) I don't see a problem in ref-counting. If at least

Re: WSDL?

2006-11-04 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Jorge Vargas wrote: and please please don't go to corba we need to kill that. Have you real reasons or is this a religious thing? As I see it Corba is much better supported by Python libs than SOAP is. Ciao, Marc 'BlackJack' Rintsch --

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread robert
GHUM wrote: robert, Interprocess communication is tedious and out of questio [...] I expect to be able to directly push around Python Object-Trees between the 2 (or more) interpreters by doing some careful locking. Please do yourself a favour and have a look at pyro. pyro makes

Re: Forum written in Python?

2006-11-04 Thread Jorge Vargas
On 11/2/06, Karlo Lozovina [EMAIL PROTECTED] wrote: Are there any forum or bulletin board systems written entirely in Python? I got sick of PhpBB, mostly because I can't tweak and fiddle with the code, since I really don't like PHP and don't know it that well. I thought of writting my own

Re: WSDL?

2006-11-04 Thread Jorge Vargas
On 11/4/06, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], Jorge Vargas wrote: and please please don't go to corba we need to kill that. Have you real reasons or is this a religious thing? As I see it Corba is much better supported by Python libs than SOAP is. I

Re: py2exe questions

2006-11-04 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Jerry wrote: Despite what everyone is saying though, I believe that any and all solutions will require that the byte-code be extracted to some directory before being run. It's not Python bytecode. The problem is native libraries which are hard to run from memory without

Re: how do I pass values between classes?

2006-11-04 Thread Larry Bates
kath wrote: hi everyone. I have a task, I have fragmented the task into subtask. I have planned to create a class to each subclass and one parent class to handle the sub tasks. Each subclass are saved in seperate file and all my subclasses and parent class are placed in the same

Re: WSDL?

2006-11-04 Thread Steve Holden
Jorge Vargas wrote: On 11/4/06, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], Jorge Vargas wrote: and please please don't go to corba we need to kill that. Have you real reasons or is this a religious thing? As I see it Corba is much better supported by Python libs

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi Norbert, * Norbert Kaufmann [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: [...] Maybe, I understood something wrong, but I thought that the above 'webserver' script would replace apache in my case; at least I hoped!? It does. The 'ServerRoot' and 'DocumentRoot' directories are

Python crushing on kinterbasdb connect @ FreeBSD

2006-11-04 Thread Almad
Hi, I uploaded my application on our production server running FreeBSD and I found it crashing at startup. Problem is in connecting to my Firebird database: kinterbasdb.connect(with either good or wrong arguments) is resolving in: python in free(): error: junk pointer, too high to make sense

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread Martin v. Löwis
robert schrieb: PS: Besides: what are speed costs of LOCK INC mem ? That very much depends on the implementation. In http://gcc.gnu.org/ml/java/2001-03/msg00132.html Hans Boehm claims it's 15 cycles. The LOCK prefix itself asserts the lock# bus signal for the entire operation, meaning that the

Re: PySchool - Online Python Web Framework Workshop.

2006-11-04 Thread RobJ
Thanks James and Steve for the feedback I have made the appropriate changes and republished the survey at the following URL: http://killersurvey.com/answer_survey.php?id=490 Rob J James Stroud wrote: RobJ wrote: Hi! My Name is Rob Johnson and I am a graduate student at The Richard

Re: PySchool - Online Python Web Framework Workshop.

2006-11-04 Thread Fuzzyman
RobJ wrote: Hi! My Name is Rob Johnson and I am a graduate student at The Richard Stockton College of NJ. To make a long story short, I'm working on my Masters project in the MAIT program (Masters of Arts in Instructional Technology). I have written a proposal to put together a free on-line

Re: WSDL?

2006-11-04 Thread Jorge Vargas
On 11/4/06, Steve Holden [EMAIL PROTECTED] wrote: Jorge Vargas wrote: On 11/4/06, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], Jorge Vargas wrote: and please please don't go to corba we need to kill that. Have you real reasons or is this a religious thing?

Re: Sorted and reversed on huge dict ?

2006-11-04 Thread vd12005
just to be sure about intern, it is used as : d, f = {}, {} s = this is a string d[intern(s)] = 1 f[intern(s)] = 1 so actually the key in d and f are a pointer on an the same intern-ed string? if so it can be interesting, print intern.__doc__ intern(string) - string ``Intern'' the given

elementtree terminology + tangential questions

2006-11-04 Thread mirandacascade
Was prompted to ask these questions when reading the following link: http://effbot.org/zone/element-infoset.htm#mixed-content provides a clear explanation of what the tail member is in the elementtree package. Questions: 1) In the xml world, is the text between an element's end tag and the next

Re: PySchool - Online Python Web Framework Workshop.

2006-11-04 Thread czhang . cmu
Interesting idea. Just realized that I am the first person who took the republished survey. :-) I suggest that you also post this message to various Python web framework's m-list. RobJ 写道: Thanks James and Steve for the feedback I have made the appropriate changes and republished the survey at

disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread Dustan
Back in this post, I attempted to make a label look like a button:

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread Dustan
Dustan wrote: Back in this post, I attempted to make a label look like a button:

Re: python GUIs comparison (want)

2006-11-04 Thread Mudcat
I have been using Tkinter for several years now. Recently I have been thinking about switching to something else that may have a sharper appearance. However I'm not sure what that may be, and if that something else is *that* much better than what I'm already using. Does everyone agree that

python to sharepoint ?

2006-11-04 Thread curtin
anyone have code that allows me to post files direct to sharepoint from python? any pointers, FAQ, etc, appreciated! thanks, craig -- http://mail.python.org/mailman/listinfo/python-list

Re: python GUIs comparison (want)

2006-11-04 Thread Peter Decker
On 4 Nov 2006 08:23:40 -0800, Mudcat [EMAIL PROTECTED] wrote: I have been using Tkinter for several years now. Recently I have been thinking about switching to something else that may have a sharper appearance. However I'm not sure what that may be, and if that something else is *that* much

Re: python GUIs comparison (want)

2006-11-04 Thread Fredrik Lundh
Mudcat wrote: I have been using Tkinter for several years now. Recently I have been thinking about switching to something else that may have a sharper appearance. However I'm not sure what that may be, and if that something else is *that* much better than what I'm already using. Tk 8.5 isn't

Trouble compiling win32all on Windows

2006-11-04 Thread robert
I've trouble compiling win32all. VC98 and latest SDK installed (otherwise with original SDK it won't even compile). It tells that uuid.lib(cguid_i.obj) : fatal error LNK1103: debug info is destroyed. This lib file is in the SDK file tree. What should I do? ( a cguid_i.* file is not in this SDK

Re: py2exe questions

2006-11-04 Thread Thomas Heller
Marc 'BlackJack' Rintsch schrieb: In [EMAIL PROTECTED], Jerry wrote: Despite what everyone is saying though, I believe that any and all solutions will require that the byte-code be extracted to some directory before being run. It's not Python bytecode. The problem is native libraries

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread Paul Rubin
Martin v. Löwis [EMAIL PROTECTED] writes: PS: Besides: what are speed costs of LOCK INC mem ? That very much depends on the implementation. In http://gcc.gnu.org/ml/java/2001-03/msg00132.html Hans Boehm claims it's 15 cycles. I think that has to be on a single processor, or at most a dual

Re: WSDL?

2006-11-04 Thread Paul Boddie
Jorge Vargas wrote: [quotefest trimmed] I have to disagree WSDL is a great standard and SOAP is great for transfering data from point a to point b. and it's very usefull for giving an interface for people to use like all those web2.0 api's out there. Well, unless you're dealing with some

Re: Really strange behavior

2006-11-04 Thread Steven D'Aprano
On Sat, 04 Nov 2006 13:02:26 +0100, IloChab wrote: If I run this: # import qt4reactor import sys from PyQt4 import QtGui from winIum import Window def creApp(): app = QtGui.QApplication(sys.argv) qt4reactor.install(app) retrun app This is not actually the code you are

win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Jim
I'm not sure how to perform this operation in Python. The difficulty is in knowing the size of the output buffer: if it is too small, I get an insufficient buffer exception; too large, and I get an end of file exception. In neither case is any partial data available. I'd rather not resort to a

Re: win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Martin v. Löwis
Jim schrieb: I'm not sure how to perform this operation in Python. The difficulty is in knowing the size of the output buffer: if it is too small, I get an insufficient buffer exception; too large, and I get an end of file exception. In neither case is any partial data available. What

Re: win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Jim
Mea culpa: files with *no* clusters return the end-of-file error. -- http://mail.python.org/mailman/listinfo/python-list

Re: PySchool - Online Python Web Framework Workshop.

2006-11-04 Thread Ramon Diaz-Uriarte
Dear Rob, On 4 Nov 2006 06:43:19 -0800, RobJ [EMAIL PROTECTED] wrote: Thanks James and Steve for the feedback I have made the appropriate changes and republished the survey at the following URL: http://killersurvey.com/answer_survey.php?id=490 Thanks for the update. However, a whole bunch

Re: elementtree terminology + tangential questions

2006-11-04 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], mirandacascade wrote: 2) None of the xml documents to which I've had exposure (a very, very small set) have had text between an element's end tag and the next tag, hence the following question: are there some 'best practices' advice available to help one decide when it's

ANNOUNCE: Scribes 0.3 Released

2006-11-04 Thread mystilleef
I am pleased to release version 0.3 of Scribes. Scribes is a text editor that uniquely balances simplicity with power. This release is a significant milestone in providing you with an enjoyable text editing experience. Bugs were squashed, new features implemented, countless enhancements made and

Re: elementtree terminology + tangential questions

2006-11-04 Thread Paul McGuire
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 2) None of the xml documents to which I've had exposure (a very, very small set) have had text between an element's end tag and the next tag, Text elements are not limited to printed/visible text. If you parsed a formatted XML string,

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread jim-on-linux
On Saturday 04 November 2006 11:03, Dustan wrote: Back in this post, I attempted to make a label look like a button: http://groups.google.com/group/comp.lang.python /browse_thread/thread/a83195d3970a6851/2053cbaec 1bc1f19?auth=DQAAAHkMDAWnhNnzpuKlwOKZUwAGUTt

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-04 Thread John Salerno
Steve Holden wrote: Don't worry. It's sometimes difficult for the effbot to remember we aren't all as fearsomely intelligent as it is. I think it does a remarkably complete emulation of a human being: http://www.flickr.com/photos/[EMAIL PROTECTED]/152495923/ For what it's worth it's

NEWBIE: Script help needed

2006-11-04 Thread Lorenzo
I have this script that I want to use weekly to send me email with information regarding disk space and available upgrades for my system. This script is actually a learning tool for me as I learn Python. The problem I've run into has me stumped and I need some help. What happens is when the

program written to model population evolving over time

2006-11-04 Thread sam
dear all, i've just finished a program which sets up an initial population consisting of four different phenotypes, allows them to evolve over time and graphs the output at the end, displaying what is in effect the evolutionary steady state for the system. i'm no authority on evolutionary game

Re: Converting Microsoft Works databases.... *shudder*

2006-11-04 Thread Ian Stephenson
I have Works 8.0 and you can SAVE AS to dBase IV format. Not sure for other versions. Regards, Ian Michael B. Trausch mike$#at^nospam!%trauschus wrote in message news:[EMAIL PROTECTED] I was wondering if anyone has had any experience with this. Someone I know is trying to move away from

WebScraping

2006-11-04 Thread Graham Feeley
Can someone steer me to scripts / modules etc on webscraping please??? Ultimately I would like someone to write a script for me. However i am still searching for documentation on this subject Thanks Graham -- http://mail.python.org/mailman/listinfo/python-list

Re: Python tools for managing static websites?

2006-11-04 Thread Florian Diesch
Chris Pearl [EMAIL PROTECTED] wrote: Are there Python tools to help webmasters manage static websites? I'm talking about regenerating an entire static website - all the HTML files in their appropriate directories and sub-directories. Each page has some fixed parts (navigation menu, header,

Re: how to write code into a blog post?

2006-11-04 Thread thebjorn
Jorge Vargas wrote: Hi I know many people here blog so sorry for the OT. Currently I have a wordpress install and went I wanted to post some code I notice how painfull it is. Indeed :-) I'm using the iG:Syntax Hiliter over on http://blog.tkbe.org after I got some comments about the lack of

Re: py2exe questions

2006-11-04 Thread timmy
Doug Stell wrote: I have 2 questions about py2exe or any similar utility. 1. Is it possible to create a single Windows executable that does not blow out to a folder full of files and can be called from scripts using command line arguments? py2exe can most certainly do this. 2. If the

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread jim-on-linux
On Saturday 04 November 2006 11:03, Dustan wrote: Back in this post, I attempted to make a label look like a button: http://groups.google.com/group/comp.lang.python /browse_thread/thread/a83195d3970a6851/2053cbaec 1bc1f19?auth=DQAAAHkMDAWnhNnzpuKlwOKZUwAGUTt

Re: Defaultdict and speed

2006-11-04 Thread Klaas
[EMAIL PROTECTED] wrote: Klaas wrote: Benchmarks? There is one (fixed in a succesive post) in the original thread I was referring to: http://groups.google.com/group/it.comp.lang.python/browse_thread/thread/aff60c644969f9b/ If you want I can give more of them (and a bit less silly, with

Re: Trouble compiling win32all on Windows

2006-11-04 Thread Ross Ridge
robert wrote: I've trouble compiling win32all. VC98 and latest SDK installed (otherwise with original SDK it won't even compile). It tells that uuid.lib(cguid_i.obj) : fatal error LNK1103: debug info is destroyed. The library isn't compatable with the compiler you're using. You'll need to

Re: WSDL?

2006-11-04 Thread [EMAIL PROTECTED]
CORBA may work fine in an intranet environment, where you can control the server and the client, but it clearly failed to be a popular choice on the internet: have you seen any company offering webservices with a CORBA interface?? The main 2 choices that companies offering webservices seem to have

Re: wing ide vs. komodo?

2006-11-04 Thread gblais
I have both, but the IDE I use every day is SPE, which is shareware. I'm not savvy enough to enumerate a feature comparison, but I do find SPE extremely friendly and intuitive. Gerry -- http://mail.python.org/mailman/listinfo/python-list

Re: wing ide vs. komodo?

2006-11-04 Thread vj
I've tried both and find WingIDE much faster than Komodo and the layout is very well thought out. I love the way you can collapse all the differnet panes with a few keystrokes. I also like their autocomplete functionality. Wing is developed by a small company, focussed on python development,

Re: wing ide vs. komodo?

2006-11-04 Thread Fuzzyman
vj wrote: I've tried both and find WingIDE much faster than Komodo and the layout is very well thought out. I love the way you can collapse all the differnet panes with a few keystrokes. I also like their autocomplete functionality. +1 I use Wing and enjoy its auto-completion. Fuzzyman

Re: program written to model population evolving over time

2006-11-04 Thread Steven D'Aprano
On Sat, 04 Nov 2006 13:09:10 -0800, sam wrote: i've just finished a program which sets up an initial population consisting of four different phenotypes, allows them to evolve over time and graphs the output at the end, displaying what is in effect the evolutionary steady state for the system.

Re: WebScraping

2006-11-04 Thread Steven D'Aprano
On Sun, 05 Nov 2006 08:09:52 +1000, Graham Feeley wrote: Can someone steer me to scripts / modules etc on webscraping please??? The definitive documentation on the built-in Python modules can be found here: http://docs.python.org/modindex.html The ActiveState Python cookbook should be useful,

Pyro stability

2006-11-04 Thread writeson
Hi all, At work I'm considering proposing a solution for our distributed processing system (a web based shopping cart that feeds an actual printing production line) based on Pyro. I've done some minor experiments with this and Pyro looks interesting and like a good implementation of what I want.

Re: To remove some lines from a file

2006-11-04 Thread John Savage
Sebastian Busch [EMAIL PROTECTED] writes: The task is: Remove the first two lines that don't begin with @ from a file. How would you do it with sed? Why a sed solution in a python group? sed '/^@/!{G;/\n\n\n/{P;d;};s/[^\n]*//;h;d;}' data -- John Savage (my news address is

Re: Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

2006-11-04 Thread Martin v. Löwis
Paul Rubin schrieb: Martin v. Löwis [EMAIL PROTECTED] writes: PS: Besides: what are speed costs of LOCK INC mem ? That very much depends on the implementation. In http://gcc.gnu.org/ml/java/2001-03/msg00132.html Hans Boehm claims it's 15 cycles. I think that has to be on a single

Re: WebScraping

2006-11-04 Thread Michael Torrie
On Sun, 2006-11-05 at 13:40 +1100, Steven D'Aprano wrote: On Sun, 05 Nov 2006 08:09:52 +1000, Graham Feeley wrote: Can someone steer me to scripts / modules etc on webscraping please??? The definitive documentation on the built-in Python modules can be found here:

Re: python GUIs comparison (want)

2006-11-04 Thread timmy
Mudcat wrote: I have been using Tkinter for several years now. Recently I have been thinking about switching to something else that may have a sharper appearance. However I'm not sure what that may be, and if that something else is *that* much better than what I'm already using. Does

Re: python GUIs comparison (want)

2006-11-04 Thread Mudcat
When you say far better widgets, do you mean that it has a greater number of widgets to choose from, or that the types of widgets are basically the same but have a greater amount of flexibility in them? Personally I find programming in Tkinter fairly simple and straight-forward. I'm sure a lot of

Re: wing ide vs. komodo?

2006-11-04 Thread vj
Forgot to mention WING's file search and replace is pretty cool and powerful. It keeps checking changes in a different thread. If you want to change yyy in say 100 files you would: 1. specify yyy in the search window 2. A list of files get displayed with matching yyy 3. As you fix replace yyy in

Re: python GUIs comparison (want)

2006-11-04 Thread Paul Rubin
Mudcat [EMAIL PROTECTED] writes: When you say far better widgets, do you mean that it has a greater number of widgets to choose from, or that the types of widgets are basically the same but have a greater amount of flexibility in them? There's a lot more and they look a lot better. Tk widgets

Re: WebScraping

2006-11-04 Thread ina
This might be of help to you. http://phlik.ishpeck.net/index.php?P=a1141076600phlik http://phlik.ishpeck.net/index.php?P=b1134168973phlik Graham Feeley wrote: Can someone steer me to scripts / modules etc on webscraping please??? Ultimately I would like someone to write a script for me.

[ python-Bugs-1589480 ] inspect.py imports local tokenize.py file

2006-11-04 Thread SourceForge.net
Bugs item #1589480, was opened at 2006-11-02 12:10 Message generated for change (Settings changed) made by drfarina You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1589480group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1589480 ] inspect.py imports local tokenize.py file

2006-11-04 Thread SourceForge.net
Bugs item #1589480, was opened at 2006-11-02 12:10 Message generated for change (Comment added) made by drfarina You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1589480group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1588287 ] python: Python/ast.c:541: seq_for_testlist: Assertion fails

2006-11-04 Thread SourceForge.net
Bugs item #1588287, was opened at 2006-10-31 15:05 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1588287group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1590036 ] __getattr__ = getattr crash

2006-11-04 Thread SourceForge.net
Bugs item #1590036, was opened at 2006-11-03 08:44 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1590036group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1590592 ] where is zlib???

2006-11-04 Thread SourceForge.net
Bugs item #1590592, was opened at 2006-11-04 19:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1590592group_id=5470 Please note that this message will contain a full copy of

[ python-Bugs-1589480 ] inspect.py imports local tokenize.py file

2006-11-04 Thread SourceForge.net
Bugs item #1589480, was opened at 2006-11-02 12:10 Message generated for change (Comment added) made by drfarina You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1589480group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1590036 ] __getattr__ = getattr crash

2006-11-04 Thread SourceForge.net
Bugs item #1590036, was opened at 2006-11-03 10:44 Message generated for change (Comment added) made by ferringb You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1590036group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1574217 ] isinstance swallows exceptions

2006-11-04 Thread SourceForge.net
Bugs item #1574217, was opened at 2006-10-09 21:55 Message generated for change (Comment added) made by ferringb You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1574217group_id=5470 Please note that this message will contain a full copy of the comment