Search Discussions

861 discussions - 5,139 posts

  • Please ignore if you are allergic to ramblings :-) Despite a puritan streak I've always tried to refrain from language wars or syntax bickering; call it enforced pragmatism. That's the main reason ...
    Iwan van der KleynIwan van der Kleyn
    Jan 4, 2005 at 7:48 am
    Jan 8, 2005 at 3:06 am
  • The feature is called "pychecker", and, although it isn't included in the standard distribution, it's readily available: http://pychecker.sourceforge.net/ Robert Brewer MIS Amor Ministries fumanchu ...
    Robert BrewerRobert Brewer
    Jan 31, 2005 at 5:33 am
    Feb 25, 2005 at 11:52 pm
  • Hi. It would be great to be able to reverse usage/definition parts in haskell-way with "where" keyword. Since Python 3 would miss lambda, that would be extremly useful for creating readable sources. ...
    Andrey TatarinovAndrey Tatarinov
    Jan 7, 2005 at 5:56 pm
    Jan 16, 2005 at 12:04 pm
  • I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? ...
    Reed L. O'BrienReed L. O'Brien
    Jan 19, 2005 at 4:33 am
    Jan 31, 2005 at 1:30 pm
  • Is it possible to write purely procedural code in Python, or the OO constructs in both language and supporting libraries have got so embedded that it's impossible to avoid them? Also, is anyone aware ...
    Jan 25, 2005 at 9:49 pm
    Jan 27, 2005 at 7:00 pm
  • Hello, I know that there are different YAML engines for Python out there (Syck, PyYaml, more?). Which one do you use, and why? For those of you who don't know what YAML is: visit http://yaml.org/! ...
    Reinhold BirkenfeldReinhold Birkenfeld
    Jan 20, 2005 at 5:09 pm
    Jan 29, 2005 at 9:59 pm
  • why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
    Egor BolonevEgor Bolonev
    Jan 13, 2005 at 10:53 am
    Jan 21, 2005 at 8:15 am
  • While I agree that the Zen of Python is an amazingly concise list of truisms, I do not see any meaning in: Flat is better than nested. I strive for balance between flat and nested. Does anyone have a ...
    Timothy FitzTimothy Fitz
    Jan 19, 2005 at 7:13 pm
    Feb 15, 2005 at 10:03 pm
  • hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = [1,2,3,4] would like to produce : [1,2], [2,3], [3,4], [1,2,3], [2,3,4] but ...
    Jan 21, 2005 at 1:58 pm
    Jan 28, 2005 at 1:57 pm
  • Hello. I recently came across a free operating system called Unununium (or something like that) and it was developed in Python and Assembly. Now, I have been looking for a way to make an operating ...
    David BrownDavid Brown
    Jan 6, 2005 at 9:22 pm
    Jan 15, 2005 at 3:02 am
  • Hi, I have sets.Set() objects having up to 20E20 items, each is composed of up to 20 characters. Keeping them in memory on !GB machine put's me quickly into swap. I don't want to use dictionary ...
    Martin MOKREJ©Martin MOKREJ©
    Jan 10, 2005 at 4:11 pm
    Jan 17, 2005 at 1:25 pm
  • Please consider the timings below, where a generator expression starts out slower than the equivalent list comprehension, and gets worse: in orig)" 10 loops, best of 3: 6.84e+004 usec per loop in ...
    John MachinJohn Machin
    Jan 16, 2005 at 5:46 am
    Jan 19, 2005 at 5:52 pm
  • i've started to read python tutorial recently. http://python.org/doc/2.3.4/tut/tut.html Here are some quick critique: quick example: If the input string is too long, they don't truncate it, but ...
    Xah LeeXah Lee
    Jan 21, 2005 at 11:08 am
    Feb 2, 2005 at 5:35 pm
  • Yeah, I think there are a lot of people out there who would like something like this, but it's not quite clear how to go about it. If you search Google Groups, there are a lot of examples of how you ...
    Steven BethardSteven Bethard
    Jan 25, 2005 at 7:22 pm
    Jan 30, 2005 at 8:30 pm
  • I am interested in developing an application where the user has an ample amount of power to customize the application to their needs, and I feel this would best be accomplished if a scripting ...
    Quest MasterQuest Master
    Jan 24, 2005 at 11:56 pm
    Jan 27, 2005 at 5:36 pm
  • python.org = 194 + 109 + 137 + 226 = 666 What is this website with such a demonic name and IP address? What evils are the programmers who use this language up to? From http Wed Jan 12 ...
    Jan 12, 2005 at 2:06 am
    Jan 15, 2005 at 12:10 pm
  • "Movement" seems quite an exaggeration. Maybe 2-3 people made some experiments, but nobody within the core Python developers seems to be willing to advocate the introduction of macros. But at least ...
    Michele SimionatoMichele Simionato
    Jan 11, 2005 at 10:06 am
    Jan 14, 2005 at 10:24 pm
  • Why does slicing a tuple returns a new tuple instead of a view of the existing one, given that tuples are immutable ? I ended up writing a custom ImmutableSequence class that does this, but I wonder ...
    George SakkisGeorge Sakkis
    Jan 24, 2005 at 4:47 pm
    Jan 28, 2005 at 2:01 am
  • Short version of what I am looking for: Given a class "public_class" which is instantiated a few times e.g. a = public_class() b = public_class() c = public_class() I would like to find out the name ...
    Jan 22, 2005 at 12:13 am
    Jan 24, 2005 at 1:52 pm
  • Hello Everyone, I have to say: Python! Is! Truly! Amazing! So I started with python about a month ago and put in 24 hours across three weekends. My first project was to recreate a simple maze-let ...
    Erik BethkeErik Bethke
    Jan 2, 2005 at 9:17 am
    Jan 4, 2005 at 10:55 am
  • Hello All, I am trying to convince my client to use Python in his new product. He is worried about the license issues. Can somebody there to point me any good commercial applications developed using ...
    Jan 3, 2005 at 11:00 am
    Jan 10, 2005 at 2:54 pm
  • Hello, I have a rather large (100+ MB) FASTA file from which I need to access records in a random order. The FASTA format is a standard format for storing molecular biological sequences. Each record ...
    Chris LasherChris Lasher
    Jan 12, 2005 at 10:46 pm
    Jan 16, 2005 at 12:22 am
  • in computer languages, often a function definition looks like this: subroutine f (x1, x2, ...) { variables ... do this or that } in advanced languages such as LISP family, it is not uncommon to ...
    Xah LeeXah Lee
    Jan 28, 2005 at 11:10 pm
    Feb 2, 2005 at 5:21 pm
  • Who are the appropriate people to report security problems to in respect of a module included with the Python distribution? I don't feel it appropriate to be reporting it on general mailing lists.
    Jan 27, 2005 at 9:59 pm
    Feb 2, 2005 at 8:05 am
  • Hi everybody, it is my first post in this newsgroup. I am a newbie for python though I have several years development experience in c++. recently, I was stumped when I tried to del item of a list ...
    Jan 15, 2005 at 8:27 pm
    Jan 16, 2005 at 8:38 pm
  • I think it would be cool if you could refer to instance variables without prefixing with "self." I know noone else thinks like me so Python will never be changed, but maybe you can already do it with ...
    BJörn LindqvistBJörn Lindqvist
    Jan 7, 2005 at 1:39 pm
    Jan 10, 2005 at 9:51 am
  • Well, after playing with python for a bit I came across something weird: The statement (1 None) is false (or any other value above 0). Why is this? (The reason I ask is sortof unrelated. I wanted to ...
    Jan 27, 2005 at 7:03 pm
    Jan 28, 2005 at 9:54 pm
  • I'm done porting the C code, but now when running the script I continually run into problems with lists. I tried appending and extending the lists, but with no avail. Any help is much appreciated ...
    Lucas RaabLucas Raab
    Jan 16, 2005 at 7:41 pm
    Jan 18, 2005 at 1:00 pm
  • I recently found out that unicode("\347", "iso-8859-1") is the lowercase c-with-cedilla, so I set out to round up the unicode numbers of the extra characters you need for French, and I found them all ...
    Sean McIlroySean McIlroy
    Jan 11, 2005 at 3:48 am
    Jan 14, 2005 at 10:29 pm
  • It doesn't work because Python scripts must be in ASCII except for the contents of string literals. Having a function name in anything but ASCII isn't supported. John Roth "Michel Claveau - ...
    John RothJohn Roth
    Jan 10, 2005 at 11:14 pm
    Jan 12, 2005 at 9:31 pm
  • Hi All, For sometime now, I have just been a passive lurker on this list. Of late I saw an increase in the number of posts by Xah Lee, and I have to admit, what he lacks in understanding of the ...
    Jan 29, 2005 at 1:35 pm
    Feb 3, 2005 at 9:31 pm
  • I think there may be a bug in string.atoi and string.atol. Here's some output from idle. s.atoi('4',3) should result in 11 s.atoi('13',4) should result in 31 s.atoi('12',4) should result in 30 ...
    Mike MoumMike Moum
    Jan 25, 2005 at 11:23 pm
    Jan 27, 2005 at 8:35 am
  • I have a problem that is suspect isn't unusual and I'm looking to see if there is any code available to help. I've Googled without success. Basically, I have two databases containing lists of postal ...
    Andrew McLeanAndrew McLean
    Jan 18, 2005 at 12:02 am
    Jan 24, 2005 at 4:52 am
  • Hello everyone, I'm reading the rows from a CSV file. csv.DictReader puts those rows into dictionaries. The actual files contain old and new translations of software strings. The dictionary ...
    Jan 4, 2005 at 3:58 pm
    Jan 10, 2005 at 8:51 pm
  • Hi, Is there an elegant way to assign to a list from a list of unknown size? For example, how could you do something like: if line could have less than three fields? Thanks, TB
    Jan 21, 2005 at 11:14 pm
    Jan 25, 2005 at 12:36 am
  • Hi, I would like to embed a python interpreter within a program, but since that program would be able to automatically download scripts from the internet, I'd like to run those in a restricted ...
    Rolf MagnusRolf Magnus
    Jan 4, 2005 at 11:38 pm
    Jan 17, 2005 at 7:11 pm
  • Hello! Just gone though an article via Slashdot titled "The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software" [http://www.gotw.ca/publications/concurrency-ddj.htm]. It argues ...
    Jan 7, 2005 at 9:35 pm
    Jan 9, 2005 at 7:29 pm
  • Hello, I am having trouble with throwing class instances around. Perhaps I'm approaching my goals with the wrong solution, but here's nevertheless a stripped down example which demonstrates my ...
    Frans EnglichFrans Englich
    Jan 17, 2005 at 6:45 pm
    Feb 12, 2005 at 10:59 pm
  • Hi there, I'd like to know if there is a way to add and else condition into a list comprehension. I'm sure that I read somewhere an easy way to do it, but I forgot it and now I can't find it... for ...
    Luis M. GonzalezLuis M. Gonzalez
    Jan 9, 2005 at 8:20 pm
    Jan 13, 2005 at 2:46 pm
  • [...] So? The Math::Complex module is part of the standard installation already, no need for any "packages" (whatever that might be). Did you check "perldoc Math::Complex" NAME Math::Complex - ...
    Jürgen ExnerJürgen Exner
    Jan 9, 2005 at 8:58 am
    Jan 13, 2005 at 7:47 am
  • Hi. How does GvR suggestions on removing map(), reduce(), filter() correlate with the following that he wrote himself (afaik): http://www.python.org/doc/essays/list2str.html ? From http Sun Jan 9 ...
    Andrey TatarinovAndrey Tatarinov
    Jan 9, 2005 at 2:17 pm
    Jan 11, 2005 at 7:22 am
  • Hi, 1) I want to iterate over a list "N at a time" sort of like: # Two at a time... won't work, obviously ... print a,b ... Traceback (most recent call last): File "<interactive input ", line 1, in ? ...
    Chris WrightChris Wright
    Jan 28, 2005 at 1:59 pm
    Feb 13, 2005 at 1:52 am
  • Hello all, I have a misunderstanding about dynamic class methods. I don't expect this behavior: In [2]: class test: ...: def __init__(self, method): ...: self.method = method ...: self.method() ...: ...
    Bill MillBill Mill
    Jan 28, 2005 at 3:20 pm
    Jan 31, 2005 at 11:56 am
  • Thought some folks here might find this one interesting. No great revelations, just a fairly sensible piece on writing readable code :) The whole article: ...
    Nick CoghlanNick Coghlan
    Jan 29, 2005 at 12:07 am
    Jan 31, 2005 at 5:16 am
  • I am currently taking a course to learn Python and was looking for some help. I need to write a Python statement to print a comma- separated repetition of the word, "Spam", written 511 times ("Spam, ...
    Judi KeplarJudi Keplar
    Jan 26, 2005 at 3:55 pm
    Jan 27, 2005 at 6:06 pm
  • Hi, I only know a little bit of xml and I'm trying to parse a xml document in order to save its elements in a file (dictionaries inside a list). When I access a url from python 2.3.3 running in Linux ...
    Luis P. MendesLuis P. Mendes
    Jan 19, 2005 at 8:02 pm
    Jan 22, 2005 at 12:49 am
  • Hello, I am working on a project in Python, and I"m currently looking into the possibiliy of writing some of the project"s modules in Java. Given that a large part of the code is already written in ...
    Joachim BoomberschlossJoachim Boomberschloss
    Jan 14, 2005 at 3:46 pm
    Jan 19, 2005 at 2:39 am
  • Okay, I give up. What's the best way to count number of items in a list? For instance, a=[[1,2,4],4,5,[2,3]] I want to know how many items are there in a (answer should be 7 - I don't want it to be ...
    It's meIt's me
    Jan 12, 2005 at 5:42 pm
    Jan 13, 2005 at 7:45 pm
  • Beginners question, but really what can you do with it ? How hard is Python to learn compared with other languages (let's say C#). Can you make fullscreen game with it (for example) ? I've looked at ...
    Jan 1, 2005 at 8:57 pm
    Jan 4, 2005 at 10:31 pm
  • # -*- coding: utf-8 -*- # Python suppose you want to walk into a directory, say, to apply a string replacement to all html files. The os.path.walk() rises for the occasion. ? import os ? mydir= ...
    Xah LeeXah Lee
    Jan 27, 2005 at 7:37 pm
    Jan 29, 2005 at 7:26 pm
Group Navigation
period‹ prev | Jan 2005 | next ›
Group Overview
grouppython-list @

992 users for January 2005

Nick Coghlan: 151 posts Steve Holden: 151 posts Steven Bethard: 129 posts Fredrik Lundh: 121 posts Alex Martelli: 104 posts Peter Hansen: 99 posts Bengt Richter: 93 posts Jeff Shannon: 63 posts Terry Reedy: 63 posts John Machin: 56 posts Scott: 55 posts Antoon Pardon: 54 posts Skip Montanaro: 49 posts Craig Ringer: 45 posts Tim Peters: 42 posts Fuzzyman: 40 posts Aahz: 39 posts Bulba!: 38 posts Diez B. Roggisch: 35 posts Martin v. Löwis: 35 posts
show more