FAQ

Search Discussions

918 discussions - 4,841 posts

  • In Python, you don't declare the type of a variable, so AFAIK there is no way for the interpreter to check that you are calling functions with variables of the correct type. Thus, if I define a ...
    BeliavskyBeliavsky
    Jun 15, 2003 at 8:28 pm
    Jul 10, 2003 at 5:24 pm
  • I don't like the fact that you can say in Python a = b = 1 but you can't say a = (b = 1) which is perfectly fine in C or Perl. In those cases, "=" is just an operator with associativity from right to ...
    KendearKendear
    Jun 3, 2003 at 7:44 am
    Jun 14, 2003 at 1:25 pm
  • 67

    XML

    I have a feeling that XML steadily moves out of buzz-word set into usual life. But along with this I have a feeling that XML is not as useful as it was presented during it's hype period. I myself ...
    Roman SuziRoman Suzi
    Jun 20, 2003 at 6:24 pm
    Jun 29, 2003 at 8:36 am
  • Hi, A new PEP was checked in: This wasn't mine actually. Mine was: def classmethod(foo(self)) def synchonized(classmethod(foo(self)), lock) However, def foo as bar is IMHO more readable, so I will ...
    Gerrit HollGerrit Holl
    Jun 9, 2003 at 9:34 am
    Jun 12, 2003 at 2:22 pm
  • ..or "Empathy and Envy on the Road to Enlightenment." I'm a doit-yer-selfer counting signposts on my path to PyNirvana, and I'm wondering what epiphanies the better traveled have experienced along ...
    PoiboyPoiboy
    Jun 10, 2003 at 6:27 pm
    Jun 21, 2003 at 6:18 pm
  • The current way of declaring a method to be a class method or a static method leaves much to be desired. While it is flexible in the sense that new types of method modifiers can be created without ...
    Kevin SmithKevin Smith
    Jun 3, 2003 at 8:45 pm
    Jun 6, 2003 at 5:20 pm
  • I have received many comments on this proposal already and have taken them into account in this proposal. The proposed syntax is still essentially the same, but more implementation details have been ...
    Kevin SmithKevin Smith
    Jun 10, 2003 at 12:25 pm
    Jun 13, 2003 at 4:35 pm
  • Hi, I installed a brand new linux Mandrake and I noticed a strange thing when using the shebang in a python script. $ which python /usr/bin/python $ python ... $ /usr/bin/python ... myscript.py: ...
    Gilles LenfantGilles Lenfant
    Jun 20, 2003 at 11:26 am
    Jun 29, 2003 at 10:30 pm
  • Greetings! Which web server software would be more appropriate for a DOS (long filename enabled) environment? I have seen 4suite and Twisted. Twisted seems to offer a lot of other networking tools ...
    DeckerbenDeckerben
    Jun 4, 2003 at 11:13 am
    Jun 7, 2003 at 6:36 pm
  • Hi. I am an old school programmer looking to modernize my skill set. I want to focus on one new language. Should I choose: VB VB.net C# C++ Python Smalltalk J# JScript.net or Java?
    Pupppy WizzardPupppy Wizzard
    Jun 4, 2003 at 9:59 am
    Jun 6, 2003 at 4:54 pm
  • i hope to define a dictionary this way: lst = """ a 1 foo 3 bar 234 joe 321 """ lst = lst.split() now lst refers to ['a', '1', 'foo', '3', 'bar', '234', 'joe', '321'] i want to do something like dict ...
    KendearKendear
    Jun 18, 2003 at 4:35 am
    Jun 21, 2003 at 7:02 pm
  • Hi, I am totally new to python and want to do a few things and learn about it at the same time, so.... (A) Is there a better newsgroup than this one for "newbies" ? If so what is it please ? (B) I am ...
    John FitzsimonsJohn Fitzsimons
    Jun 18, 2003 at 11:52 pm
    Jul 2, 2003 at 1:34 am
  • Every few months, someone asks for tips on convincing 'management' that Python is as safe a business bet as closed-source, proprietary products. Here's a point that is sometimes overlooked: unlike ...
    Terry ReedyTerry Reedy
    Jun 17, 2003 at 6:13 pm
    Jun 20, 2003 at 5:50 pm
  • I need to take a list (probably 20k to 40k elements) of numbers and remove consecutive duplicates. Non consecutive duplicates are ok. Example: [6,3,3,3,5,7,6,3,4,4,3] = [6,3,5,7,6,3,4,3] The 3 and 6 ...
    LarryLarry
    Jun 18, 2003 at 3:46 pm
    Jun 19, 2003 at 7:44 pm
  • Pardon me but could anyone enlighten me if python2.2 has a math function to call to do factorials of integers?If not then is there a code snippet for doing such a thing available?I tried to write ...
    Rogue9Rogue9
    Jun 7, 2003 at 1:21 pm
    Sep 23, 2003 at 11:00 am
  • Hi, I'm new here, so maybe this is a debate that has been going on already. If that's the case, please ignore this post... ** Why isn't Python shipped with wxPython instead of Tk ? ** When I started ...
    Aurélien GéronAurélien Géron
    Jun 4, 2003 at 4:56 pm
    Jun 9, 2003 at 1:29 am
  • PEP: 317 Title: Eliminate Implicit Exception Instantiation Version: $Revision: 1.2 $ Last-Modified: $Date: 2003/06/09 04:43:39 $ Author: Steven Taschuk <staschuk at telusplanet.net Status: Draft ...
    Steven TaschukSteven Taschuk
    Jun 9, 2003 at 6:18 am
    Jun 11, 2003 at 3:04 am
  • Hi, does a long-term release schedule exist? I know that, after Python 2.3, Python 2.4 will follow. I have also read that between minor releases, 18-24 months are spent, which means that only by the ...
    Gerrit HollGerrit Holl
    Jun 3, 2003 at 9:53 pm
    Jun 17, 2003 at 2:16 am
  • Hi everyone, I have a python cgi program that uses print statements to write html. The program has grown, and for reasons I won't bore you with, I need to build the page in a string and "print" it at ...
    Gobo BorzGobo Borz
    Jun 25, 2003 at 4:20 pm
    Jun 30, 2003 at 4:01 pm
  • Can we also include people who include the entire thread with the reply? This is rude to the reader who has to sift through pages of text just to find the most recent comment, and, in a way, rude to ...
    D.W.D.W.
    Jun 10, 2003 at 7:04 pm
    Jun 13, 2003 at 12:19 pm
  • Hi, Python doesn't seems to support postfix/prefix operators (e.g. i++, --i). Why?
    HostmasterHostmaster
    Jun 6, 2003 at 5:49 am
    Jun 9, 2003 at 11:28 am
  • If anyone ever asks for what good are 'lambda' and 'reduce', show them this... print (lambda p:p[0]+'.'+p[1:])( str((lambda(x,y,t,a):2L*x*x//a)( (lambda F:(lambda S:reduce( ...
    Manuel GarciaManuel Garcia
    Jun 12, 2003 at 2:21 am
    Jun 16, 2003 at 3:43 am
  • Why does sum reject strings? Is it a matter of efficiency of the underlying implementation?
    Steve McAllisterSteve McAllister
    Jun 19, 2003 at 3:05 pm
    Jun 20, 2003 at 6:32 pm
  • I've hit a stumbling block while trying to pick up Python. I've googled around, and I don't think I'm the first to have this question, but I haven't been able to find an answer that explains things ...
    ChuckChuck
    Jun 5, 2003 at 7:10 am
    Jun 14, 2003 at 12:25 am
  • Hi all, thought you may like to know that the UK TV programme 'University Challenge' of 2nd June has just had 'The Python Programming Language' as the answer to a question in a round about ...
    John OchiltreeJohn Ochiltree
    Jun 2, 2003 at 7:23 pm
    Jun 7, 2003 at 9:24 pm
  • This recently slashdotted paper http://www.cs.rice.edu/~scrosby/hash/CrosbyWallach_UsenixSec2003/index.html suggests that many common algorithms (including perl hashing) are open to low input DoS ...
    Robin BeckerRobin Becker
    Jun 1, 2003 at 9:53 am
    Jun 2, 2003 at 5:28 pm
  • Hi, I am attempting to use Flash as a UI for a python program. I have successfully prototyped this using VB/Flash, and am not trying to convert it over to work with python. My problem is this, when I ...
    Bradley SchatzBradley Schatz
    Jun 12, 2003 at 12:08 am
    Jun 16, 2003 at 1:29 am
  • I was reading over the POP3 RFC (RFC 1939) and it states that message sizes must be in octets, but that it's different in bytes in that they are nonambigious (ie. bytes vary from platform to ...
    TyrealTyreal
    Jun 10, 2003 at 5:33 am
    Jun 13, 2003 at 10:19 pm
  • If software were tested like hardware... * You would use constrained random generation [1] of data and collect program statement coverage [2] metrics, as well as branch coverage [3] metrics and state ...
    Paddy McCarthyPaddy McCarthy
    Jun 6, 2003 at 12:50 pm
    Jun 11, 2003 at 1:22 pm
  • This Jack Klausse President & CEO of LoanSafe4AllNow. Interest Rates have dropped basis points once again to their lowest in years. We are now offering the lowest debt consolidation interest rates in ...
    Clifton JeffersonClifton Jefferson
    Jun 3, 2003 at 2:23 pm
    Jun 7, 2003 at 1:36 am
  • I'm using python (with wxPython, PySQLite, etc) under Windows, and I think that by staying with old versions of Windows (NT, 98), I may not be doing what new versions like. Are there new rules under ...
    AchristAchrist
    Jun 13, 2003 at 9:05 am
    Jun 20, 2003 at 6:28 pm
  • I have just posted a recipe on the online Cookbook that could be of interest for metaclasses users. ---------------------------------------------------------------------------- Description: Any ...
    Michele SimionatoMichele Simionato
    Jun 7, 2003 at 2:29 pm
    Jun 9, 2003 at 2:12 pm
  • I'm about to write a component-based data flow program, and I'm pondering the design, partly when it comes to efficiency. Basically, the system will instantiate a set of objects, set up in a directed ...
    Magnus Lie HetlandMagnus Lie Hetland
    Jun 4, 2003 at 8:21 pm
    Jun 6, 2003 at 7:04 pm
  • Welcome to the first wide-spread announcement of my latest project: JOTWeb. JOTWeb is a system for developing dynamic web sites using a combination of HTML+TAL/TALES/METAL and Python, with mod_python ...
    Sean ReifschneiderSean Reifschneider
    Jun 17, 2003 at 4:22 pm
    Jun 24, 2003 at 4:41 am
  • Hello, Is it possible to avoid twice instanciation of the same variable ? class Global: def __init__(self,init=0): self.value = init g = Global() #instanciating one time ok g = Global() ...
    SalvatoreSalvatore
    Jun 12, 2003 at 7:35 pm
    Jun 13, 2003 at 6:14 pm
  • Hi, I need the same as... import sys negmaxint = - sys.maxint -1 ... but for float data any hint ? Thanks in advance. --Gilles
    Gilles LenfantGilles Lenfant
    Jun 11, 2003 at 4:52 pm
    Jun 12, 2003 at 11:53 pm
  • Hi how do i get the path of the python script thats running from within python. this might not always be the same as the path I ran the program from nor os.getcwd(). like if i ran the program from a ...
    KpopKpop
    Jun 8, 2003 at 12:35 am
    Jun 9, 2003 at 4:30 am
  • Hello. In my program in need a loop from 'aaaa' over 'aaac', 'aaag', 'aaat', 'aaca' to 'tttt'. (Possible characters 'a', 'c', 'g' and 't') One idea i had is to take a number n with the base of 4 and ...
    Lars SchapsLars Schaps
    Jun 16, 2003 at 5:04 pm
    Jun 18, 2003 at 3:28 pm
  • Hello everyone! I've started writing some technical articles in my personal weblog[1] as an experience. Since I'm a python fan, some of those will certainly be about Python, so you may want to have a ...
    Gustavo NiemeyerGustavo Niemeyer
    Jun 15, 2003 at 7:13 pm
    Jun 17, 2003 at 2:34 am
  • This is a newbie question, but... I just downloaded Pyton 2.2.2 for Windows and started exploring it. I installed it so I can use TextPad or IDLE 0.8 with it and all ran just fine, until I started to ...
    Jan SundströmJan Sundström
    Jun 5, 2003 at 12:23 pm
    Jun 8, 2003 at 9:35 pm
  • I've been working with wrapping up network client functionality as a generator recently, and hit a "niceness"/"cleanness" speedbump. What I'd *like* to do (which doesn't work) is: try: sock = ...
    Michael SparksMichael Sparks
    Jun 3, 2003 at 4:41 pm
    Jun 6, 2003 at 9:23 am
  • Hello, I'm trying to put together a (basic) design for an online examination system. The system already exists, but is based on Java technologies. I have (probably prematurely) assured the author ...
    Duncan SmithDuncan Smith
    Jun 2, 2003 at 2:20 pm
    Jun 4, 2003 at 3:44 am
  • So, what did Guido say in: http://www.python.org/~guido/guido.au I hear this a thousand times, every day (my co-workers want to kill me :) ), and still can't undertand Guido's words. I especially pay ...
    Carlos MoreiraCarlos Moreira
    Jun 25, 2003 at 12:27 am
    Jun 28, 2003 at 9:45 pm
  • Hiya, I've been checking out some Python tutorials on the web, it looks cool enough. I'm already fairly good at JavaScript, ActionScript and PHP and now I'd like to tackle Python. However, I still ...
    somaBoyMXsomaBoyMX
    Jun 20, 2003 at 9:15 pm
    Jun 25, 2003 at 12:16 pm
  • Hi, i am writing a maths program where i get input from the user and store it in a string. i then use the eval fucntion to return the right answer. users could type in "(23+ 21) - (4 * 3) + 2" for ...
    KpopKpop
    Jun 23, 2003 at 12:44 am
    Jun 24, 2003 at 9:19 pm
  • Someone in another NewsGroup asked why I had picked Python as a language of choice ... I offered the following reply and would be interested in hearing from others of any obvious ommisions that I may ...
    Cousin StanleyCousin Stanley
    Jun 16, 2003 at 5:42 pm
    Jun 20, 2003 at 12:58 am
  • Hi, I am trying to post to a form using httplib or urllib. I have done this successfully before with httplib, but when the enctype must be multipart/form-data, things go awry. I tried using a header ...
    Kevin CarlsonKevin Carlson
    Jun 4, 2003 at 8:28 pm
    Jun 10, 2003 at 12:30 pm
  • How can I make executables with python? I found some utilities that claim they can do something like that like Installer and py2exe but they actualy pack the code in a huge arhive! This solves the ...
    CatalinCatalin
    Jun 26, 2003 at 9:37 am
    Jul 5, 2003 at 7:51 am
  • I need to repeat each item in a list n times, like this function does: def repeatitems(sequence, repetitions): newlist = [] for item in sequence: for i in range(repetitions): newlist.append(item) ...
    AlrAlr
    Jun 30, 2003 at 11:26 am
    Jul 2, 2003 at 8:28 am
  • OK. I've search on google groups and around the web for this and I haven't found an answer. I'm a Python newbie and have what I assume is a basic question. os.listdir takes a pathname as an arg but ...
    Jason KratzJason Kratz
    Jun 27, 2003 at 2:22 am
    Jun 27, 2003 at 3:48 am
Group Navigation
period‹ prev | Jun 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions918
posts4,841
users1,045
websitepython.org

1,045 user for June 2003

Peter Hansen: 184 posts Steven Taschuk: 132 posts Zath: 92 posts Erik Max Francis: 89 posts Gerhard Häring: 85 posts Gerrit Holl: 81 posts Martin v. Löwis: 76 posts John J. Lee: 72 posts Michele Simionato: 72 posts Skip Montanaro: 67 posts Alan Kennedy: 64 posts Bengt Richter: 63 posts Ben Finney: 58 posts Fredrik Lundh: 57 posts Aahz: 56 posts Terry Reedy: 56 posts Alex Martelli: 45 posts Ed Avis: 45 posts Lulu of the Lotus-Eaters: 44 posts Alexander Schmolck: 41 posts
show more
Archives