Search Discussions

1,029 discussions - 5,601 posts

  • I'm posting this to this python group because a sample of what is mentioned below is done in python. And wouldn't it cool to have python used in an autocoding development environment? This posting is ...
    Timothy RueTimothy Rue
    Jan 21, 2002 at 3:01 am
    Feb 16, 2002 at 1:45 am
  • In Paul Graham's article "What Languages Fix" : <http://www.paulgraham.com/fix.html he notes at the bottom that he doesn't know enough about Python to descript it. Any suggestions? -- Steve Majewski
    Steven MajewskiSteven Majewski
    Jan 16, 2002 at 10:12 pm
    Jan 30, 2002 at 3:44 pm
  • I'm going to try to explain this tool I've been on about in a mnner of evolution, or start here, add this and why, and then expand that for more power and control.... Start here: We exist (one item) ...
    Timothy RueTimothy Rue
    Jan 28, 2002 at 3:41 pm
    Feb 27, 2002 at 6:24 pm
  • I din't answer all the answers one by one because they all make a point somehow ... but seem to miss my point. Perhaps i wasn't clear enough, this could be because english is not my native language. ...
    Jan 30, 2002 at 8:26 am
    Feb 13, 2002 at 4:34 am
  • In article <mailman.1010497332.23208.python-list at python.org , Mark McEahern wrote: Why? That's stupid. Too many sites misuse cookies, so lots of people turn cookies off. Alex's point about cookies ...
    Aahz MaruchAahz Maruch
    Jan 8, 2002 at 2:31 pm
    Jan 14, 2002 at 7:31 pm
  • A while back there was a thread here comparing Python and Ruby. It inspired me to take a look at Ruby and I must say I like what I see there. Now I'm a recent Perl refugee and so a newbie in Python ...
    Thomas GandyThomas Gandy
    Jan 9, 2002 at 9:27 pm
    Jan 29, 2002 at 5:48 pm
  • Every now and then someone asks for a library for parsing comma-separated values. Of course, using file iterators and string methods, "well-behaved" csv may be parsed with two lines of Python. ...
    Magnus Lie HetlandMagnus Lie Hetland
    Jan 15, 2002 at 1:42 pm
    Jan 18, 2002 at 7:24 pm
  • Python is just as good as C++ for real apps http://altis.manilasites.com/2002/01/21 Sticking my neck out for Pythonistas everywhere :) ka
    Kevin AltisKevin Altis
    Jan 21, 2002 at 8:47 pm
    Jan 29, 2002 at 8:35 pm
  • Hi all, Why are colons required after def, elif, else, except, finally, for, if, try and while? One would think the colon would be optional when the colon is followed by a newline. Obviously, colons ...
    Edward K. ReamEdward K. Ream
    Jan 19, 2002 at 11:18 pm
    Jan 25, 2002 at 2:30 pm
  • What is the idiomatic way in Python of implementing the following operations on a list of elements: - return the element at the front of the list, without changing the list - remove the element from ...
    David EppsteinDavid Eppstein
    Jan 15, 2002 at 12:17 am
    Jan 24, 2002 at 2:03 am
  • I'm trying to persuade my web host to install a more recent version of Python than 1.5.2. Yes, they have RH Linux system with the default 1.5.2. While I've installed my own more recent version of ...
    Sheila KingSheila King
    Jan 13, 2002 at 6:22 pm
    Feb 7, 2002 at 1:25 pm
  • What are some ways in Python to produce the equivalent of the Perl chomp function? The chomp function in Perl removes the "newline" byte(s). I know about rstrip and strip. I want to maintain any ...
    Paul WatsonPaul Watson
    Jan 30, 2002 at 9:32 am
    Feb 4, 2002 at 11:27 pm
  • World peace is alot closer than many realize and the more that do realize, the closer it gets. http://www.osearth.com/resources/wwwproject/ Knowledge is power, for having it alters how one reacts to ...
    Timothy RueTimothy Rue
    Jan 25, 2002 at 2:30 am
    Jan 30, 2002 at 3:22 pm
  • In Interpreter.py : import Command # another module ... class Interpreter: ... def interpret(self,lines): """decode statement lines (list of strings) and run associated action""" if lines[-1] == '': ...
    Francois PetitjeanFrancois Petitjean
    Jan 21, 2002 at 9:40 pm
    Jan 27, 2002 at 3:52 pm
  • I have noticed that the IMAP protocol seems to offer what I need. Can anyone give me a quick rundown of which server might 1) run on Win32 and 2) support shared folders/mailboxes? Chris Gonnerman -- ...
    Chris GonnermanChris Gonnerman
    Jan 28, 2002 at 1:08 am
    Feb 7, 2002 at 1:48 pm
  • Hi, maybe I'm just reinventing the wheel, but I just noted that Alex's Aspecter function can easily be twitched to enforce some kind of design by contract (which of course can be considered an ...
    Luigi BallabioLuigi Ballabio
    Jan 22, 2002 at 12:28 pm
    Jan 29, 2002 at 12:35 am
  • I often use a "10x" rule of thumb for comparing Python to C, but I recently hit one real-world case where Python is almost 700 times slower than C! We just rewrote the routine in C and moved on, but ...
    Brent BurleyBrent Burley
    Jan 5, 2002 at 12:47 am
    Jan 23, 2002 at 11:45 pm
  • A new online friend, jerry c, who is learning Python stumbled onto the list of Python tutorials. He is very proficient in JavaScript and HTML, and he liked the Beazley tutorials, but was accustomed ...
    Ron StephensRon Stephens
    Jan 6, 2002 at 2:14 am
    Jan 9, 2002 at 4:11 pm
  • I continue to be intrigued by the progress of the Mono project, which is spear-headed by the controversial Miguel de Icaza. There was a long article by Miguel about Mono in the recent issue of Linux ...
    Ron StephensRon Stephens
    Jan 2, 2002 at 12:14 am
    Jan 5, 2002 at 11:58 pm
  • Hi! I'm looking for developing a Python application which has to run on Windows, Linux and Macs. The IDE should have a form generator and an integrated debugger. The IDE itself should run on Linux ...
    Alexander SkwarAlexander Skwar
    Jan 22, 2002 at 3:50 pm
    Jan 25, 2002 at 9:18 am
  • One of the beauties of Python is that you can extend it with C modules. Recode your bottlenecks in C and you program can have the speed of programs written completely in C. Unfortunately this is not ...
    Jan 22, 2002 at 11:57 pm
    Jan 29, 2002 at 1:24 am
  • Just for fun !! Friend of mine who used to work with lisp (and is a bit interested in Python) asked me how compact I could write a program to evaluate the number of possible combinations a set of ...
    Nikolai KirsebomNikolai Kirsebom
    Jan 23, 2002 at 12:36 pm
    Feb 26, 2002 at 2:16 pm
  • I know this is a weird question, but does anyone know if someone has ported Python to be able to use it on an old Tandy Model 102 laptop? This machine has a small Basic interpreter, and I was just ...
    Dan HammDan Hamm
    Jan 14, 2002 at 6:43 am
    Feb 1, 2002 at 7:27 am
  • I am writing a product in Zope, and it works fine on Zope 2.4.3 (Python 2.1) where I developed it. Now I am testing it on Zope 2.3.3 (Python 1.5.2) To be backwards compatible, but When I start the ...
    Jan 11, 2002 at 1:45 pm
    Jan 16, 2002 at 6:00 pm
  • For what it is worth to people, I have taken the liberty of benchmarking the new Java SDK ( 1.4.0 ) against Python 2.1 and 2.2. The tests originate from: ...
    Jan 31, 2002 at 2:06 pm
    Feb 4, 2002 at 7:12 pm
  • I'm curious as to why 'self' was chosen instead of the shorter 'my' for naming the instance passed to methods. def meth(my,x,y,z): ... my.x=1 my.y=2 is IMHO even more naturally readable than def ...
    Fernando PérezFernando Pérez
    Jan 10, 2002 at 12:40 am
    Jan 15, 2002 at 1:18 am
  • Can anybody show me how to create a threaded web-server based on BaseHTTPServer? And if anybody has an opinion about it's ok performance wise to base a Threaded-webserver on BaseHTTPServer or go for ...
    Thomas WeholtThomas Weholt
    Jan 31, 2002 at 8:40 am
    Mar 29, 2002 at 3:12 pm
  • Guys, I know we have the reputation as the nicest bunch of nerds on the 'Net, but Rue is consuming more of our time and bandwidth than spam. Despite his comments to the contrary, no one on this list ...
    Chris GonnermanChris Gonnerman
    Jan 29, 2002 at 3:15 am
    Feb 5, 2002 at 9:46 am
  • I'm no expert on the Python language, or OO programming, but it's possible in the language Ruby <www.ruby-lang.org to add new methods to existing classes. For example, it is possible to had a rot13 ...
    Vincent FoleyVincent Foley
    Jan 25, 2002 at 5:12 pm
    Jan 29, 2002 at 12:52 pm
  • Well, US$100k is a bit more "reasonable" than AU$100k. But either way, most computer book authors have day jobs. I happen to be writing a book also, and so spent some time researching and thinking ...
    Dr. David MertzDr. David Mertz
    Jan 4, 2002 at 2:31 am
    Jan 27, 2002 at 8:26 am
  • Hello, There is a privacy leak problem in many Python implementations for Windows which allow a malicious Web page or HTML email message to read the contents of file from a user's hard drive and send ...
    Richard M. SmithRichard M. Smith
    Jan 15, 2002 at 10:04 pm
    Jan 17, 2002 at 2:40 pm
  • I've just played with the ZODB in standalone mode (from zodb.sf.net) and it rocks! Kudos to all the people involved in developing it and then splitting it from Zope. Sooooo easy to get a persistent ...
    Richard JonesRichard Jones
    Jan 17, 2002 at 11:21 pm
    Feb 10, 2002 at 3:08 pm
  • Why does python introduce new syntax with `x not in s'? Isn't it the same as `not (x in s)'? Same for `is not'.
    Jan 21, 2002 at 1:10 pm
    Jan 28, 2002 at 5:04 am
  • Hi all, [ I'm not a careful follower of comp.lang.python so please cc any responses to me. ] I find the print statement a very convenient idiom for putting together strings from a bunch of variables ...
    Aaron SwartzAaron Swartz
    Jan 10, 2002 at 4:32 pm
    Jan 11, 2002 at 4:34 pm
  • For many python builtins eval(repr(x)) == x. I find this property very useful for debugging and writing tests. In some cases I write my own classes so their repr is an expression that recreates their ...
    Oren TiroshOren Tirosh
    Jan 27, 2002 at 9:26 am
    Jan 29, 2002 at 4:50 pm
  • Hey all, Are you looking to hire a competent developer? I'm actively seeking employment. I have 15+ years of commercial application development experience, and would be happy to send you a resume if ...
    Joshua MuskovitzJoshua Muskovitz
    Jan 2, 2002 at 9:19 pm
    Jan 6, 2002 at 5:54 pm
  • Playing with Python goes on.... tup = 1, 2 tuptup = a, None = tup (1, 2) 1 (1, 2) How did 2 manage to propagate to tuptup through None?
    Jan 13, 2002 at 6:46 pm
    Feb 5, 2002 at 7:57 am
  • I had previously posted this to the kragen-tol mailing list; that copy is at http://lists.canonical.org/pipermail/kragen-tol/2002-January/000659.html There is an HTML version at ...
    Kragen SitakerKragen Sitaker
    Jan 23, 2002 at 10:11 pm
    Feb 1, 2002 at 5:46 pm
  • I hope this is not too OT, but since Jython *is* Python and since I guess that many Java programmers hang around here too, I dare to post the following: I have decided to give Jython/Java a try. Its ...
    Jan 24, 2002 at 7:21 am
    Jan 29, 2002 at 7:10 am
  • Hi, I'm promoting the use of Python where I work and was asked a question by one of the guys who is trying it out. He showed me some math that gave what we both thought were unusual results. Here's ...
    Doug FarrellDoug Farrell
    Jan 25, 2002 at 3:48 pm
    Jan 27, 2002 at 9:58 pm
  • Here's a builtin candidate for discussion. A common Python idiom goes like this: for i in range(len(seq)): obj = seq[i] ... ... People have complained that this is clunky. But with this: from ...
    Jason OrendorffJason Orendorff
    Jan 23, 2002 at 1:28 am
    Jan 26, 2002 at 8:33 pm
  • I'm making a small automated managing system for my website and I think I will go for Python and CGI. I have one question though: my website is in Norwegian and in valid XHTML. All characters need to ...
    Jan 2, 2002 at 1:01 pm
    Jan 5, 2002 at 7:27 am
  • Hi all. Something is broken with the completion of readline: simon at ping-pong:~$ python Python 2.1.1+ (#1, Jan 8 2002, 00:37:12) [GCC 2.95.4 20011006 (Debian prerelease)] on linux2 Type ...
    Simon BudigSimon Budig
    Jan 31, 2002 at 7:36 pm
    Feb 15, 2002 at 10:38 am
  • Has anyone ever written a class, function or regular expression, that validates EMail-Addresses (e.g. such entered in Web Forms) for their syntactical correctness? If so, is that algorithm available? ...
    Michael W. DietrichMichael W. Dietrich
    Jan 24, 2002 at 6:19 pm
    Jan 30, 2002 at 6:34 pm
  • Wild idea of the day: Extend the syntax for list comprehensions to have an optional 'yield' to create a generator rather than a list. sizegen = [ yield (len(line),line) for line in file.readline() ] ...
    Raymond HettingerRaymond Hettinger
    Jan 29, 2002 at 2:29 am
    Jan 30, 2002 at 4:35 pm
  • i need to convert a string like "[1, 2, 3, 4]" to a list [1, 2, 3, 4]. possible?
    Jan 20, 2002 at 7:38 pm
    Jan 21, 2002 at 10:07 pm
  • Hello, Is it possible to print output both in the console and in a file ? Python 2.1 Thanks
    Jan 16, 2002 at 9:54 am
    Jan 19, 2002 at 8:37 pm
  • Good day. One feature I miss in python is the ability to break out of nested loops. I've searched the newsgroup archives, and found a few threads discussing the problem, with no apparent conclusion. ...
    Tal LinzenTal Linzen
    Jan 12, 2002 at 11:14 am
    Jan 13, 2002 at 8:53 pm
  • I have written a draft PEP summarizing proposed enhancements to generators: http://users.javanet.com/~othello/download/genpep.htm The draft reflects all the comments I've received to date on the ...
    Raymond HettingerRaymond Hettinger
    Jan 30, 2002 at 8:48 am
    Feb 6, 2002 at 1:56 pm
  • how can i do port doubling? not sure if it's called like this, but i have server listening on port 5003 and need to have a script listen on the same port. possible? if yes, how? could you give an ...
    Jan 21, 2002 at 7:13 pm
    Jan 31, 2002 at 3:34 am
Group Navigation
period‹ prev | Jan 2002 | next ›
Group Overview
grouppython-list @

1,079 user for January 2002

Alex Martelli: 308 posts Jason Orendorff: 151 posts Steve Holden: 150 posts Skip Montanaro: 84 posts Mark McEahern: 83 posts Cliff Wells: 80 posts Aahz Maruch: 78 posts Oleg Broytmann: 74 posts Timothy Rue: 65 posts Tim Peters: 64 posts Courageous: 63 posts Peter Hansen: 63 posts Kragen Sitaker: 62 posts Michael Hudson: 58 posts Martin von Loewis: 55 posts Paul Rubin: 53 posts Mark Hammond: 52 posts Maximilianscherr: 51 posts Chris Gonnerman: 47 posts Phil hunt: 47 posts
show more