ANN: SPE 0.7.5.c: Improved documentation bugfixes

2005-08-26 Thread SPE - Stani's Python Editor
With special thanks to Dimitri Pater to contribute his documenation from http://www.serpia.com and Nir Aides for the documentation about the debugger. Also thanks to all Mac donors who bring real Mac support for SPE more and more close. For more info visit the homepage. Stani Spe is a free

Re: loop in python

2005-08-26 Thread travlr
I gotta say that as number cruncher, iteration in python is my biggest nightmare. I do what is possible with numpy, but element by element processing is a hassle. My programming experience is still pretty fresh at a year, so exotics as such are not in play yet. I also wish python looping/iterative

Re: Email client in Pyhton

2005-08-26 Thread Oren Tirosh
IIRC, many of the mailbox modules (such as mailbox and mhlib) are read-only, but they should provide a good starting point. The mailbox module has recently been upgraded for full read-write access by a student participating in google's Summer of Code. It is currently under review for inclusion

Re: Jargons of Info Tech industry

2005-08-26 Thread Gordon Burditt
HTML is designed to degrade gracefully (never mind that most web authors and many browser developers don't seem to comprehend this), so you don't really need a subset html to get the safety features you want. All you need to do is disable the appropriate features in the HTML renderer in your

Re: variable hell

2005-08-26 Thread Adriaan Renting
Not in my Python. for count in range(0, 10): ... value = count ... exec('a%s=%s' % (count, value)) ... dir() ['__builtins__', '__doc__', '__name__', 'count', 'value'] for count in range(0, 10): ... value = count ... exec(eval('a%s=%s' % (count, value))) ... dir()

Re: Setting the encoding in pysqlite2

2005-08-26 Thread Michele Simionato
Well, the issue is not how to input text in the database from Python (it is enough to use literal unicode strings); in my case the database has been generated from a text file containing accented chars, using .import, and it seems I cannot read it from Python because of the unicode error :-(

Re: variable hell

2005-08-26 Thread rafi
Ron Garret wrote: Because eval() takes an expression as an argument, and assignment is a statement. And if you find this distinction annoying, try Lisp. that's were I come from :-) -- rafi Imagination is more important than knowledge. (Albert

Re: while c = f.read(1)

2005-08-26 Thread Antoon Pardon
Op 2005-08-25, Steve Holden schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-08-24, Magnus Lycka schreef [EMAIL PROTECTED]: Antoon Pardon wrote: I think he did, because both expression are not equivallent unless some implicite constraints make them so. Values where both expressions

Re: Setting the encoding in pysqlite2

2005-08-26 Thread Reinhold Birkenfeld
Michele Simionato wrote: An easy question, but I don't find the answer in the docs :-( I have a sqlite3 database containing accented characters (latin-1). How do I set the right encoding? For instance if I do this: I think you should ask on the pysqlite-devel list. Reinhold --

Re: Should I move to Amsterdam?

2005-08-26 Thread Wouter van Ooijen (www.voti.nl)
True. Unless you have two proper locks. In that case your bike will last a very long time. Nope. You will probably retrieve your two locks from the fencing you attached them to (if you did!), with your bike gone. Wouter van Ooijen -- http://www.voti.nl

file access dialog

2005-08-26 Thread Wouter van Ooijen (www.voti.nl)
I have a tool in Python to which I want to add a small GUI. The tools currently runs everywhere PySerial is supported. I need a file-access dialog. What is the preffered way to to this? Is there a platform-independent file-access dialog available, or should I use the windows native version when

Re: Bug in string.find; was: Re: Proposed PEP: New style indexing, was Re: Bug in slice type

2005-08-26 Thread Antoon Pardon
Op 2005-08-25, Bryan Olson schreef [EMAIL PROTECTED]: Steve Holden asked: Do you just go round looking for trouble? In the course of programming, yes, absolutly. As far as position reporting goes, it seems pretty clear that find() will always report positive index values. In a

Re: file access dialog

2005-08-26 Thread Adriaan Renting
Well, I only know how to do it with Qt: Dialog = QFileDialog(self.filedir, 'Python files (*.py)', self, 'open file dialog') self.filename = str( Dialog.getOpenFileName()) I don't think PyQt is available for Qt4 on windows yet. You might be ablt to use this:

Language translation possible in python?

2005-08-26 Thread Jon Monteleone
I have a program that currently displays all of its messages and instructions in only English. My boss wants me to change it all to Korean. Is there a python module that will automatically translate my English to Korean? -Jon -- http://mail.python.org/mailman/listinfo/python-list

Re: variable hell

2005-08-26 Thread Adriaan Renting
I was responding to rafi's suggestion, I had not received the exec 'a%s = %s' % (count,count) response yet at that time. The exec 'a%s = %s' % (count,value) works fine. Not in my Python. ---snip--- why using the eval? exec ('a%s=%s' % (count, value)) should be fine -- rafi --- I

Re: Usenet, HTML (was Re: Jargons of Info Tech industry)

2005-08-26 Thread Ulrich Hobelmann
John Bokma wrote: Ulrich Hobelmann [EMAIL PROTECTED] wrote: On the information side (in contrast to the discussion side) RSS is replacing Usenet, LOL, how? I can't post to RSS feeds. Or do you mean for lurkers? I said information side, meaning stuff like RSS is used for. There is no

Re: variable hell

2005-08-26 Thread Martin v. Löwis
Adriaan Renting wrote: Not in my Python. for count in range(0, 10): ... value = count ... exec('a%s=%s' % (count, value)) ... dir() ['__builtins__', '__doc__', '__name__', 'count', 'value'] You did not copy the suggestion properly: for count in range(0, 10): ... exec

Re: Setting the encoding in pysqlite2

2005-08-26 Thread Martin v. Löwis
Michele Simionato wrote: Well, the issue is not how to input text in the database from Python (it is enough to use literal unicode strings); in my case the database has been generated from a text file containing accented chars, using .import, and it seems I cannot read it from Python because

Re: Jargons of Info Tech industry

2005-08-26 Thread usenet
In comp.lang.perl.misc Ulrich Hobelmann [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: the argument that usenet should never change seems a little heavy-handed and anachronistic. No, simple since there *are* alternatives: web

Re: Jargons of Info Tech industry

2005-08-26 Thread usenet
In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: the argument that usenet should never change seems a little heavy-handed and anachronistic. No, simple since there *are* alternatives:

Re: Jargons of Info Tech industry

2005-08-26 Thread Ulrich Hobelmann
Mike Meyer wrote: Mike Schilling [EMAIL PROTECTED] writes: Another advantage is that evewry internet-enabled computer today already comes with an HTML renderer (AKA browser) No, they don't. Minimalist Unix distributions don't include a browser by default. I know the BSD's don't, and

Re: Setting the encoding in pysqlite2

2005-08-26 Thread Gerhard Haering
On Thu, Aug 25, 2005 at 01:15:55AM -0700, Michele Simionato wrote: An easy question, but I don't find the answer in the docs :-( I have a sqlite3 database containing accented characters (latin-1). How do I set the right encoding? For instance if I do this: [...] You cannot set the encoding

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Chris Head [EMAIL PROTECTED] wrote: John Bokma wrote: Additionally, a user interface operating inside an HTML renderer can NEVER be as fast as a native-code user interface with only the e-mail message itself passed through the renderer. Nowadays, more then futile. Sorry, I don't

Re: Limited XML tidy

2005-08-26 Thread Toby White
[EMAIL PROTECTED] writes: The problem is that when the sax handler raises an exception, I can't see how to find out why. What I want to do is for DodgyErrorHandler to do something different depending on where we are in the course of parsing. Is there anyway to get that information back from

Re: Better crypto hash functions, long, with code

2005-08-26 Thread Paul Rubin
Nice. Note that the Sourceforge bug for this issue indicates that something is already being done about it. It just happens to have been updated a day or so ago: https://sourceforge.net/tracker/?func=detailatid=355470aid=1123660group_id=5470 Note to skeptics: the attacks are pretty serious.

Re: Better crypto hash functions, long, with code

2005-08-26 Thread Paul Rubin
Bryan Olson [EMAIL PROTECTED] writes: The module provides classes and functions. The functions are: string_to_hex(str): Return a string with two hex digits for each byte of str, representing the ord() of the byte. The case of the hex digits A-F/a-f is up to Python's built-in

classes and list as parameter, whats wrong?

2005-08-26 Thread Dirk Zimmermann
Hi! I have a problem in a program. And I don't understand what is going on. I can code something, that the error doesn't occur anymore. But I still don't know the reason and this is unsatisfactory: Did I understood something wrong or is there a bug? To make it short, I boiled down the program to

Re: Bug in string.find; was: Re: Proposed PEP: New style indexing, was Re: Bug in slice type

2005-08-26 Thread Bryan Olson
Antoon Pardon wrote: Bryan Olson schreef: Steve Holden asked: And what are you proposing that find() should return if the substring isn't found at all? please don't suggest it should raise an exception, as index() exists to provide that functionality. There are a number of good

Re: classes and list as parameter, whats wrong?

2005-08-26 Thread James
No, the default paramter LL is only ever created once, not reinitialised every time the constructor is called - this is quite a common gotcha! You want to do something like: class cClass: Base class to handle playlists, i.e. the files, the name, etc. def __init__(self, LL=None):

Re: Jargons of Info Tech industry

2005-08-26 Thread Denis Kasak
Mike Schilling wrote: Threaded mail-readers too, screen-based editors , spell-checkers, all useless frills. Interestingly enough, I have explained my opinion in the part of the post you have trimmed. On the other hand, things you mentioned are far from being useless. They introduce no

Re: Should I move to Amsterdam?

2005-08-26 Thread Sybren Stuvel
Wouter van Ooijen (www.voti.nl) enlightened us with: True. Unless you have two proper locks. In that case your bike will last a very long time. Nope. You will probably retrieve your two locks from the fencing you attached them to (if you did!), with your bike gone. That's not my experience,

Re: minimalist regular expression

2005-08-26 Thread [EMAIL PROTECTED]
the shortest description in regex way -- http://mail.python.org/mailman/listinfo/python-list

DOM text

2005-08-26 Thread Richard Lewis
Hello Pythoners, I'm currently writing some Python to manipulate a semi-structured XML document. I'm using DOM (minidom) and I've got working code for transforming the document to HTML files and for adding the 'structured' elements which populate the higher regions of the tree (i.e. near the

Re: variable hell

2005-08-26 Thread Peter Maas
Benji York schrieb: suffix = 'var' vars()['a%s' % suffix] = 45 avar 45 Quoting from http://docs.python.org/lib/built-in-funcs.html#l2h-76 about the vars built in: The returned dictionary should not be modified: the effects on the corresponding symbol table are undefined. I

Re: Should I move to Amsterdam?

2005-08-26 Thread Martin P. Hellwig
Sybren Stuvel wrote: Martin P. Hellwig enlightened us with: Personal transportation sucks in the Netherlands, if you live in the Randstad (the area of the above mentioned cities) and you have to travel across the Randstad, you go with the bike and/or bus/tram/metro/train because that is the

Re: minimalist regular expression

2005-08-26 Thread Paul Lalli
[EMAIL PROTECTED] wrote: Exists some tool, programs or some able to compute the minimal regular expression, namely ,taking a series of regular exoression, the minimal one that makes the same matching? thanx in advance m//; it matches everything. Perhaps you need to better define your

Re: DOM text

2005-08-26 Thread Diez B. Roggisch
Richard Lewis wrote: I admit I haven't tried very much code yet, but I'm not sure how I'm going to handle situations like: the user wants to insert a link in the middle of a paragraph. How can I use the DOM to insert a node into the middle of some text? Am I right in thinking that the DOM

problem with classes

2005-08-26 Thread cfgauss
I am having a strange problem with classes. I'm fairly sure the problem is with classes, anyway, because when I re-write the program without them, it works like I'd expect it to. When I run this program, at first, L[0].z[1] is 0, because z=[0,0]. But after I run that loop to assign different

Re: file access dialog

2005-08-26 Thread Eric Brunel
On Fri, 26 Aug 2005 07:52:06 GMT, Wouter van Ooijen (www.voti.nl) [EMAIL PROTECTED] wrote: I have a tool in Python to which I want to add a small GUI. The tools currently runs everywhere PySerial is supported. I need a file-access dialog. What is the preffered way to to this? Is there a

Re: Should I move to Amsterdam?

2005-08-26 Thread Sybren Stuvel
Martin P. Hellwig enlightened us with: Yes it is, and it sucks too In Amsterdam, it's the best way to go. or do you find it amusing to ride 15 clicks through rain and wind to get to your clients? Makes a man out of you ;-) Of course, rain sucks, but as long as it's not raining too hard it's

Re: problem with classes

2005-08-26 Thread bruno modulix
cfgauss wrote: I am having a strange problem with classes. I'm fairly sure the problem is with classes, anyway, because when I re-write the program without them, it works like I'd expect it to. When I run this program, at first, L[0].z[1] is 0, because z=[0,0]. But after I run that loop to

Re: DOM text

2005-08-26 Thread Richard Lewis
On Fri, 26 Aug 2005 12:13:10 +0200, Diez B. Roggisch [EMAIL PROTECTED] said: Richard Lewis wrote: I admit I haven't tried very much code yet, but I'm not sure how I'm going to handle situations like: the user wants to insert a link in the middle of a paragraph. How can I use the DOM to

ideas for university project ??

2005-08-26 Thread Jon Hewer
Hi I'm about to start my third, and final, year in computer science at cambridge uni, and i need to come up with an idea for a software project, but i'm really struggling for ideas, and i was wondering whether anyone here had any suggestions. I'd say i'm probably most experienced in Java, but I

Re: file access dialog

2005-08-26 Thread Fredrik Lundh
Wouter van Ooijen wrote: I have a tool in Python to which I want to add a small GUI. The tools currently runs everywhere PySerial is supported. I need a file-access dialog. What is the preffered way to to this? Is there a platform-independent file-access dialog available, or should I use the

Re: variable hell

2005-08-26 Thread Robert Kern
Adriaan Renting wrote: Not in my Python. for count in range(0, 10): ... value = count ... exec('a%s=%s' % (count, value)) But that's not what rafi suggested. rafi: why using the eval? exec ('a%s=%s' % (count, value)) See the difference? -- Robert Kern [EMAIL PROTECTED] In

Re: Usenet, HTML (was Re: Jargons of Info Tech industry)

2005-08-26 Thread John Bokma
Ulrich Hobelmann [EMAIL PROTECTED] wrote: John Bokma wrote: Ulrich Hobelmann [EMAIL PROTECTED] wrote: On the information side (in contrast to the discussion side) RSS is replacing Usenet, LOL, how? I can't post to RSS feeds. Or do you mean for lurkers? I said information side,

Re: DOM text

2005-08-26 Thread Robert Kern
Richard Lewis wrote: Hello Pythoners, I'm currently writing some Python to manipulate a semi-structured XML document. I'm using DOM (minidom) and I've got working code for transforming the document to HTML files and for adding the 'structured' elements which populate the higher regions of

Re: ideas for university project ??

2005-08-26 Thread Sybren Stuvel
Jon Hewer enlightened us with: Areas of interested include AI, distributed systems. Most of all i want something that is interesting, and actually useful (thats probably stating the obvious!) You could help developing Dynamite (contact Dick van Albada from the University of Amsterdam for

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] wrote: NNTP and its applications have evolved to provide a set of much more sophisticated means of accessing and giving information than any forum I've ever seen. Example(s). And do users need those sophisticated things? -- John Small Perl scripts:

Re: classes and list as parameter, whats wrong?

2005-08-26 Thread Dirk Zimmermann
Thanks for your help. * James [EMAIL PROTECTED] [2005-08-26 11:42]: No, the default paramter LL is only ever created once, not reinitialised every time the constructor is called - this is quite a common gotcha! But still, it is not absolutely clear for me, what is going on. So, at least just

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [ web based boards ] And which useful tools do you require? A choice of news readers to suit different people with different interfaces, - different browsers, different stylesheets, different board styles

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Ulrich Hobelmann [EMAIL PROTECTED] wrote: What I hate about most are the sites that don't even *mention* that they want cookies. Often I have to wonder, reinput input fields etc. and then after ten minutes trying *bang*, the idea, maybe to allow cookies for that site. So your browser

Re: Bug in string.find; was: Re: Proposed PEP: New style indexing, was Re: Bug in slice type

2005-08-26 Thread Rick Wotnaz
Bryan Olson [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Steve Holden asked: Do you just go round looking for trouble? In the course of programming, yes, absolutly. As far as position reporting goes, it seems pretty clear that find() will always report positive index values. In

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Denis Kasak [EMAIL PROTECTED] wrote: Mike Schilling wrote: Threaded mail-readers too, screen-based editors , spell-checkers, all useless frills. Interestingly enough, I have explained my opinion in the part of the post you have trimmed. On the other hand, things you mentioned are far

Re: ideas for university project ??

2005-08-26 Thread Eddie Corns
Jon Hewer [EMAIL PROTECTED] writes: Hi I'm about to start my third, and final, year in computer science at cambridge uni, and i need to come up with an idea for a software project, but i'm really struggling for ideas, and i was wondering whether anyone here had any suggestions. I'd say i'm

Re: Usenet, HTML (was Re: Jargons of Info Tech industry)

2005-08-26 Thread usenet
In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: I'm talking about using the technology for communication, instead of reinventing the wheel with crappy web forums. What is exactly crappy about those forums? They are slow They are inflexible They are slow They don't allow

Re: Command Line arguments

2005-08-26 Thread michael
On Thu, 25 Aug 2005 11:39:48 -0700, Trent Mick wrote: [michael wrote] SOLVED! Thank you. I wonder why this was needed for 2.4 and not 2.2? I don't think it was lingering things from old installs because it happened on a persons computer that had never had any python installed before 2.4.

Re: Jargons of Info Tech industry

2005-08-26 Thread usenet
In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: NNTP and its applications have evolved to provide a set of much more sophisticated means of accessing and giving information than any forum I've ever seen. Example(s). And do users need those

Re: Jargons of Info Tech industry

2005-08-26 Thread usenet
In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: They have no downsides I can possibly think of Some people never use them, and hence they use memory and add risks. So they can choose a newsreader that doesn't have these facilities, no extra memory use, no risk. -- Chris

Re: Jargons of Info Tech industry

2005-08-26 Thread Ulrich Hobelmann
John Bokma wrote: [EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [ web based boards ] And which useful tools do you require? A choice of news readers to suit different people with different interfaces, - different browsers, different

Re: Jargons of Info Tech industry

2005-08-26 Thread Ulrich Hobelmann
John Bokma wrote: Ulrich Hobelmann [EMAIL PROTECTED] wrote: What I hate about most are the sites that don't even *mention* that they want cookies. Often I have to wonder, reinput input fields etc. and then after ten minutes trying *bang*, the idea, maybe to allow cookies for that site.

Problems with kdecore...

2005-08-26 Thread Elke Hohls
When I run my Application it crashes at the following part: - [ code ] from kdecore import KLibLoader, KLibFactory def myApp (self): # ... offer = KTrader.self().query(text/html) # the offer can handle HTML - so

Re: minimalist regular expression

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: the shortest description in regex way Which is? Oh, and please quote the previous message and author. Reply under the part you are replying too, etc. Even with Google this is possible. -- John Small Perl scripts:

Excel Character object through COM

2005-08-26 Thread Krisz
Hi! Maybe this question is already answared somewhere, but I could not find it: I want to modify one of the letters of a text of a Excel cell through COM; let's say to make it red. The VB reference tells that it can be managed with: With Worksheets(Sheet1).Range(A1) .Value = abcdefg

Re: classes and list as parameter, whats wrong?

2005-08-26 Thread Diez B. Roggisch
Dirk Zimmermann wrote: But still, it is not absolutely clear for me, what is going on. So, at least just for my understanding: The parameter LL is created just once for the whole class and not for the object Yes. And because a lists are mutable, you can alter that one instance of the list -

Opportunity in Open-Source Development

2005-08-26 Thread Rohit, Careernet
Hi Madhu, I came across your reference on the net and wanted to get in touch with you regarding an interesting possibility in the open-source space. We are working with one of our client, which is starting its engineering operations in Bangalore. The focus is on building open source

Re: DOM text

2005-08-26 Thread Fredrik Lundh
Robert Kern wrote: You might find that the more Pythonic XML modules are better suited to handling mixed content. I've been using lxml and ElementTree quite successfully. fwiw, here's an ET snippet that inserts an anchor element inside a paragraph element: # from lxml.etree import * # or #

Re: file access dialog

2005-08-26 Thread utabintarbo
For simple, it's hard to beat EasyGUI: http://www.ferg.org/easygui/ Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: ideas for university project ??

2005-08-26 Thread Jon Hewer
On 8/26/05, bruce [EMAIL PROTECTED] wrote: 1st question, can this be part of a startup? 2nd question, does your university expect to own the rights/IP of your efforts 3rd question, are you serious, or just looking for a 'project' for a grade I am pretty sure the university will hold any

Re: Should I move to Amsterdam?

2005-08-26 Thread Reinout van Schouwen
On Wed, 24 Aug 2005, Wade wrote: Nice little series by Seth Stevenson for Americans daydreaming about emigration. Somewhere, anywhere ... maybe Amsterdam? For a Python newsgroup, I'm surprised no one has mentioned yet that Guido van Rossum developed Python at the CWI in Amsterdam (called

Re: algorithm for non-dimensionalization

2005-08-26 Thread Paolino
[EMAIL PROTECTED] wrote: Hi, I am trying to non-dimensionalize some data I have obtained. There are no 'standard' dimensionless groups for my application, so I would like to obtain the 'best' non-dimensional groups based on some statistical measures of the resulting transformed data. At

Re: Jargons of Info Tech industry

2005-08-26 Thread axel
In comp.lang.perl.misc Mike Schilling [EMAIL PROTECTED] wrote: Denis Kasak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mike Schilling wrote: I see a difference between X would be useful for A, B, and C and Y will always be the only proper way. Don't you? Y would not be

Re: Usenet, HTML (was Re: Jargons of Info Tech industry)

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: I'm talking about using the technology for communication, instead of reinventing the wheel with crappy web forums. What is exactly crappy about those forums? They are slow I have no problems with

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: NNTP and its applications have evolved to provide a set of much more sophisticated means of accessing and giving information than any forum I've ever seen. Example(s). And do

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Ulrich Hobelmann [EMAIL PROTECTED] wrote: John Bokma wrote: [EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: [ web based boards ] And which useful tools do you require? A choice of news readers to suit different people with different interfaces,

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Ulrich Hobelmann [EMAIL PROTECTED] wrote: John Bokma wrote: Ulrich Hobelmann [EMAIL PROTECTED] wrote: What I hate about most are the sites that don't even *mention* that they want cookies. Often I have to wonder, reinput input fields etc. and then after ten minutes trying *bang*, the

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
[EMAIL PROTECTED] wrote: In comp.lang.perl.misc John Bokma [EMAIL PROTECTED] wrote: They have no downsides I can possibly think of Some people never use them, and hence they use memory and add risks. So they can choose a newsreader that doesn't have these facilities, no extra

Re: ideas for university project ??

2005-08-26 Thread Thomas Guettler
Am Fri, 26 Aug 2005 11:49:34 +0100 schrieb Jon Hewer: Hi I'm about to start my third, and final, year in computer science at cambridge uni, and i need to come up with an idea for a software project, but i'm really struggling for ideas, and i was wondering whether anyone here had any

Re: DOM text

2005-08-26 Thread Richard Lewis
On Fri, 26 Aug 2005 13:59:09 +0200, Fredrik Lundh [EMAIL PROTECTED] said: Robert Kern wrote: You might find that the more Pythonic XML modules are better suited to handling mixed content. I've been using lxml and ElementTree quite successfully. fwiw, here's an ET snippet that inserts

Integrate C source in a Python project

2005-08-26 Thread billiejoex
Hi all. I was wondering if it ispossible to integrate C source in a python project. Best regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-08-26 Thread John Bokma
Dragan Cvetkovic [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] writes: A forum provides a single, usually rather limited, interface for the user with no way for the user to change it radically. Does the user want this? And with a user stylesheet you can change it quite radically

Re: Embedding Python in other programs

2005-08-26 Thread Alessandro Bottoni
Thomas Bartkus wrote: Name: lib64python2.4-devel Summary: The libraries and header files needed for Python development Description: The Python programming language's interpreter can be extended with dynamically loaded extensions and can be embedded in other programs. This package contains

Re: Jargons of Info Tech industry

2005-08-26 Thread Dragan Cvetkovic
John Bokma [EMAIL PROTECTED] writes: A forum provides a single, usually rather limited, interface for the user with no way for the user to change it radically. Does the user want this? And with a user stylesheet you can change it quite radically :-) And in return the user gets: colors,

How to know if connection is active when using telnetlib?

2005-08-26 Thread Wojciech Halicki-Piszko
How to know if connection is active after telnetlib.Telnet.open(host,port)? -- http://mail.python.org/mailman/listinfo/python-list

Re: Integrate C source in a Python project

2005-08-26 Thread James
billiejoex wrote: Hi all. I was wondering if it ispossible to integrate C source in a python project. There is ofcourse Python/C API http://docs.python.org/api/api.html But you will probably be easier off with Pyrex or Swig. Good summary on when to use which

Re: Jargons of Info Tech industry

2005-08-26 Thread Denis Kasak
John Bokma wrote: You can't be sure: errors in the handling of threads can cause a buffer overflow, same for spelling checking :-D Yes, they can, provided they are not properly coded. However, those things only interact locally with the user and have none or very limited interaction with

Re: Usenet, HTML

2005-08-26 Thread Dragan Cvetkovic
John Bokma [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: They don't have killfiles or scoring You can install a mod to kill people. Gee, didn't know that it's that powerful. One more reason not to use web forums :-) Dragan -- Dragan Cvetkovic, To be or not to be is true. G. Boole

Re: minimalist regular expression

2005-08-26 Thread Paul McGuire
Google for optimized regexp returns: http://laurent.riesterer.free.fr/regexp/make-regexp.html http://search.cpan.org/~dankogai/Regexp-Optimizer-0.15/ There are several more links, but all appear to be written in languages other than Python. Perhaps you could port one of them. It also seems that

Re: Excel Character object through COM

2005-08-26 Thread Max Erickson
Krisz [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: A.book.Worksheets(1).Range(a1).Characters(1,1) Traceback (most recent call last): File interactive input, line 1, in ? AttributeError: Characters instance has no __call__ method So my question is that am I doing something wrong or

Re: Integrate C source in a Python project

2005-08-26 Thread billiejoex
Than you James. I'll take a look as soon as possible. It is possible do the contrary (integrates python source in a C project)? James [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] billiejoex wrote: Hi all. I was wondering if it ispossible to integrate C source in a python

Re: Jargons of Info Tech industry

2005-08-26 Thread CBFalconer
[EMAIL PROTECTED] wrote: ... snip ... Same applies to most newsfeeds, depending on retention. If you want to look a long way back in a thread, use Google Groups. Except for those anti-social zealots who use an X-noarchive header. -- If you want to post a followup via groups.google.com,

Re: Jargons of Info Tech industry

2005-08-26 Thread Denis Kasak
John Bokma wrote: Ulrich Hobelmann [EMAIL PROTECTED] wrote: John Bokma wrote: http://www.phpbb.com/mods/ Great. How can I, the user, choose, how to use a mod on a given web server? Ask the admin? And that is, in your opinion, completely comparable to running your own, private

Re: Jargons of Info Tech industry

2005-08-26 Thread Denis Kasak
John Bokma wrote: so use Lynx :-) One forum I visit is about scorpions. And really, it talks a bit easier about scorpions if you have an image to look at :-D. In short: Usenet = Usenet, and www = www. Why some people want to move people from www to Usenet or vice versa is beyond me. If

Re: Integrate C source in a Python project

2005-08-26 Thread Alessandro Bottoni
billiejoex wrote: Hi all. I was wondering if it ispossible to integrate C source in a python project. Best regards Yes, of course. Have a look here: http://docs.python.org/ext/ext.html There are two nice tools for this: SWIG http://www.swig.org/Doc1.1/HTML/Python.html SIP

Integrate C source in a Python project

2005-08-26 Thread Uwe Schmitt
Hi all. I was wondering if it ispossible to integrate C source in a python project. Yes it is. Which tool you use depends on your requirements: http://starship.python.net/crew/theller/ctypes/ ctypes allowes loading dlls/shared libs and calling functions in that lib. www.swig.org is a

Re: Jargons of Info Tech industry

2005-08-26 Thread T Beck
John Bokma wrote: T Beck [EMAIL PROTECTED] wrote: If we argue that people are evolving the way e-mail is handled, and adding entire new feature sets to something which has been around since the earliest days of the internet, then that's perfectly feasable. HTML itself has grown. We've

Re: Fighting Spam with Python

2005-08-26 Thread David MacQuigg
On Thu, 25 Aug 2005 13:22:53 -0400, François Pinard wrote: [David MacQuigg] The key new features needed in a spam filter are the ability to extract the sender's identity (not that of the latest forwarder), and to factor into the spam score the reputation of that identity. This will only work

Re: MacPython 2.2 on Mac OS X 10.3.8 - configurePython error

2005-08-26 Thread Paul Miller
Robert Kern wrote: Paul Miller wrote: I have a user who is is having trouble getting MacPython on his OS X 10.3.8 system. When he runs ConfigurePythonCarbon, he gets this error: [terminated] 'import site' failed; use -v for traceback traceback )most recent call last): File

need a little help with time

2005-08-26 Thread nephish
Hey there. i have a time string (created with strftime) then read from a file, i am having some trouble understanding how to get the difference between times. i know i can structime(timestring) and get a time value, but i dont know how to manipulate it. basically, if i have string 2005-08-24

Re: a dummy python question

2005-08-26 Thread infidel
If that were so, Pythonistas could never write a recursive function! No, presumably at the writing of the edition of _Learning Python_ that he is reading, Python did not have nested scopes in the language, yet. One could always write a recursive function provided it was at the top-level of

  1   2   3   >