FAQ

Search Discussions

858 discussions - 4,859 posts

  • Hi. This is NOT a troll, I promise ( and I realise that that probably makes it highly likely to be one!) Anyway, I've been getting into Python because I feel I should - I've looked at it several ...
    Graham NichollsGraham Nicholls
    May 19, 2003 at 12:09 am
    May 31, 2003 at 4:11 am
  • is passing by reffence possible in python? I'd like the following code to print 1 instead of 2 <file name="D.py" def spam(**ni): ni["egg"] = 1; bacon = 2 spam(egg = bacon) print bacon </file the ...
    Daan HooglandDaan Hoogland
    May 13, 2003 at 2:00 pm
    May 30, 2003 at 3:55 pm
  • So I'm trying to get Python accepted here at work (a large US government office). One of my tasks is to rewrite a number of legacy C programs in a language largely of my choice. I have my supervisor ...
    Nick VargishNick Vargish
    May 1, 2003 at 6:00 pm
    May 7, 2003 at 9:45 pm
  • PEP: 315 Title: Enhanced While Loop Version: $Revision: 1.1 $ Last-Modified: $Date: 2003/05/02 22:53:32 $ Author: W Isaac Carroll <icarroll at pobox.com Status: Draft Type: Standards Track ...
    W Isaac CarrollW Isaac Carroll
    May 3, 2003 at 3:47 am
    May 13, 2003 at 8:36 am
  • I want to do some GUI work, mostly for Win32 programs. Since I don't know either one, I have to start from scratch with both. Which is faster to learn ? Which GUI is better to use, in the long run ? ...
    Tony CTony C
    May 6, 2003 at 2:33 am
    May 11, 2003 at 7:53 am
  • Is it just me or have I noticed a decrease in articles in magazines, etc about Python in recent months? I regularly receive several magazines (dobbs, computerworld, etc) and seen very few if any ...
    John HowardJohn Howard
    May 16, 2003 at 1:11 pm
    Jun 2, 2003 at 6:10 pm
  • In Python 2.2.2 123.5 123.39999999999999 124.09999999999999 how come there are these inaccuracies? -------------------------------- P.S. I just tried in Perl print eval("123.3") + 0.1; and it gives ...
    A Puzzled UserA Puzzled User
    May 15, 2003 at 4:14 pm
    Jun 9, 2003 at 1:45 am
  • I'm a C++ programmer who's writing his very first Python program. This means the program is going to be gross, and I apologize for that in advance. I don't really have anybody I can show it to for ...
    Scott MeyersScott Meyers
    May 30, 2003 at 6:14 am
    Jun 2, 2003 at 6:50 pm
  • Hi gang, Regular readers know who I am... so I won't bother with any more than the overblown bio in the proposal text itself. Here's the story though: For a number of months, I have had in mind the ...
    David MertzDavid Mertz
    May 5, 2003 at 6:19 am
    May 7, 2003 at 1:58 pm
  • Hi, I often worry that I've become so 'comfortable' with python that I may end turning into a language bigot not appreciating the ideas and motivations behind other language designs. As a counter to ...
    Sandy NortonSandy Norton
    May 16, 2003 at 11:17 am
    May 26, 2003 at 2:45 pm
  • I'd like to generate unique identifiers for database items, sort of like the ID's that MS uses for COM. My purpose is to have unique ID's (across multiple [distributed] installations of a program), ...
    AchristAchrist
    May 23, 2003 at 8:29 pm
    May 29, 2003 at 10:36 pm
  • I've been looking for examples of metaclasses I can use for a talk I'm going to be giving next week, but I've been having trouble finding examples that solve problems that wouldn't just as easily be ...
    Jeremy FincherJeremy Fincher
    May 2, 2003 at 4:53 am
    May 7, 2003 at 4:42 pm
  • in c it is possible to define #define PH x[1] so PH = 3 means x[1]=3 how can I do this in python?
    Turhan OzenTurhan Ozen
    May 8, 2003 at 12:42 pm
    May 13, 2003 at 3:49 pm
  • Hi, sorry for this newbie question, but how can I examine a Python.coredump to find out the cause of the crash? There is no traceback info printed to stdout and the coredump contains a huge amount of ...
    Harald SchneiderHarald Schneider
    May 12, 2003 at 12:17 pm
    Jun 14, 2003 at 6:26 am
  • As per PEP 0263 [1], Python 2.3b1 gives out a depreciation warning if non-ascii chars are used and there isn't a specific encoding on the file. Is there some way to specify that all strings are ...
    Tony MeyerTony Meyer
    May 5, 2003 at 6:56 am
    Jun 2, 2003 at 12:57 pm
  • Jerry Pournelle hypes Python and 'Python in a Nutshell' at www.byte.com though you need to register in order to read his column.
    Ron StephensRon Stephens
    May 6, 2003 at 3:02 am
    Jul 20, 2003 at 1:22 am
  • Suppose I need to do some GUI on Windows. My understanding is that pythonTk is flaky on Windows. My top requirement is that the toolkit is robust. The second requirement is that the widget set is ...
    MordenMorden
    May 28, 2003 at 8:15 pm
    Jun 5, 2003 at 7:04 pm
  • How can I protect my python source code for a commerical application?
    Cameron ZemekCameron Zemek
    May 9, 2003 at 4:28 am
    May 10, 2003 at 3:11 am
  • ....Is when I do something like this: x = somefunction(a, b, c, d), and when I run Python I get a TypeError error. You spotted the error immediately didn't you? The line of code above has a trailing ...
    Peter BallardPeter Ballard
    May 7, 2003 at 8:00 am
    May 9, 2003 at 11:17 am
  • Python Language Developer: I have long been playing the idea ( and I'm sure that others have too -- of porting the STL library from C++ completely re-written in python. I have had great success in ...
    Luis CortesLuis Cortes
    May 25, 2003 at 10:52 pm
    May 30, 2003 at 5:55 pm
  • gday y'all! im using python cgi in my website, and wanted to get the system date in the format YYYY-MM-DD any help? thanks!
    Psybar PhreakPsybar Phreak
    May 10, 2003 at 3:07 pm
    May 17, 2003 at 5:10 am
  • Hi, I apologize for bringing up this topic again. I am sure I am missing something obvious. I am a relatively recent perl to python convert and I always had a nagging feeling that processing text ...
    Ganesan RGanesan R
    May 31, 2003 at 7:26 am
    Jun 5, 2003 at 11:58 pm
  • I do CGI programming with Python and I know how to make HTML forms with "user" and "password" fields. But these get sent "in the clear" over internet, somebody told me. I have no power over the ...
    Will StuyvesantWill Stuyvesant
    May 30, 2003 at 10:01 pm
    Jun 2, 2003 at 2:17 pm
  • I'm used to Basic. There is a Goto/Label command, you put goto where you want it to come from and label where you want it to go. Simple. How can I do this in Python? What I'm trying to do is create a ...
    Dvm5Dvm5
    May 29, 2003 at 12:46 am
    Jun 2, 2003 at 3:55 am
  • I hit a problem when trying to compile some Python code embedded in an XML document. For example: <execute globals="globals" locals="locals" print "hello" </execute If I just pass the string I ...
    John WilsonJohn Wilson
    May 7, 2003 at 11:53 am
    May 8, 2003 at 6:16 am
  • Greetings all, I've got a few questions about generators, coroutines, etc, that I've been meaning to ask for several weeks. But I knew it would take time to explain. So I left it until I had the time ...
    Alan KennedyAlan Kennedy
    May 29, 2003 at 3:10 pm
    Jun 4, 2003 at 10:04 am
  • Has anybody tried to implement license key for Python script in Windows ? For example, distributed Python program could be tied to the MAC address of the PC: Before program could be used, the user ...
    Pekka NiiranenPekka Niiranen
    May 16, 2003 at 6:45 pm
    May 29, 2003 at 1:38 am
  • hello, i tried to construct a program to read a file, line after line. i have no idea why it does not work... f=file("test.txt","r"); while l=f.readline(): print l; the problem is with "while ...
    Geert FannesGeert Fannes
    May 23, 2003 at 12:09 pm
    May 27, 2003 at 11:58 am
  • I was showing a friend around Python using the Shell. He asked for a few Python equivalents of common Perl and VB constructs. The use of backticks come up. After showing the use of os.popen I ...
    Iwan van der KleynIwan van der Kleyn
    May 6, 2003 at 10:13 pm
    May 12, 2003 at 5:22 pm
  • All, I'm lloking for a technique to allow me to keep memory alive between invocations of a cgi program. What I mean is that if I have two cgi requests come into a script, they should be able to ...
    Jay O'ConnorJay O'Connor
    May 20, 2003 at 4:10 pm
    May 22, 2003 at 12:29 pm
  • Hi, I am trying to test some software using unittest with Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32 and I am having some problems with exceptions: The simple test script ...
    Frithiof Andreas JensenFrithiof Andreas Jensen
    May 13, 2003 at 2:57 pm
    May 15, 2003 at 3:03 am
  • Be patient on the conditional expression thing (a better term than "ternary operator"). Guido's been hard at work on 2.3 (clearly a higher priority) and is currently on vacation. But I don't think ...
    Michael ChermsideMichael Chermside
    May 19, 2003 at 8:13 pm
    May 30, 2003 at 9:24 pm
  • Hi pythoners, I'm working on a problem in which I have to use 2-dimensional array. I'm sorry, but I feel I should describe it precisely, so the question will be at the end of this mail. I created the ...
    Peter SlizikPeter Slizik
    May 26, 2003 at 4:50 pm
    May 29, 2003 at 9:38 am
  • I wrote a little CGI script that reads in a file like so: def LoadLogFile(filename): """Loads a log file as a collection of lines""" try: logFile = file(filename, 'rU') lines = map(string.strip, ...
    Ben SBen S
    May 23, 2003 at 12:27 pm
    May 27, 2003 at 10:32 pm
  • Hello everyone, I was wondering if this was actually possible or if someone tried it already but seeing how alot of us are linux,BSD, unix users i was wondering how hard would it be to make my own ...
    Enk0dEnk0d
    May 24, 2003 at 11:30 pm
    May 27, 2003 at 5:37 am
  • Hi, and thanks to everyone for their replies to my earlier thread. The "Obfuscated Python" competition was a joke, BTW. I'm getting rsi from replying to all the posts & email I've had, but I'm not ...
    Graham NichollsGraham Nicholls
    May 20, 2003 at 8:10 pm
    May 26, 2003 at 7:03 am
  • I'm a network admin, but have had an itch to learn programming for a while and finally started looking at which language to begin with. After reading for a while it sounded like python was a really ...
    CybernutCybernut
    May 21, 2003 at 4:30 pm
    May 23, 2003 at 2:30 am
  • Hi - I wrote a program that gets two arguments: numbricks, and numbins. The program calculates every possible way to distribute all the bricks into the bins, using a recursive function. The program ...
    WaxmopWaxmop
    May 6, 2003 at 4:14 pm
    May 12, 2003 at 9:58 am
  • Hi, the first step of reading from XML (encoded in UTF-8) has been accomplished through xml.minidom. I get Unicode strings, and that's all right. But If I want to make Python modify that source xml ...
    Alessio PaceAlessio Pace
    May 5, 2003 at 8:45 am
    May 6, 2003 at 6:08 pm
  • I have a statement somewhere in the code that boils down to comparing a string object with an integer. i.e. var1 <= var2 where var1 = '20' and var2 = 100 The code runs ok but the above comparison ...
    HPHP
    May 1, 2003 at 9:58 pm
    May 2, 2003 at 4:08 pm
  • C has a preprocessor command #line n "filename" Can I do this in Python? Ed Jones
    Edward C. JonesEdward C. Jones
    May 25, 2003 at 12:10 pm
    May 27, 2003 at 7:21 pm
  • Sorry for this question, but I am just puzzled. Why does print [4,1,3,2].sort() just print None ? As far as I understood the docs 'sort' should take 'cmp' for comparisons which is well defined for ...
    Helmut JarauschHelmut Jarausch
    May 17, 2003 at 10:59 am
    May 27, 2003 at 4:04 pm
  • I need a "date type" and I can?t find it anywhere. With date type I mean something like: Fri May 16 00:00:00 GMT 2003 There is something like this already? If not, I need it enough to make it, but I ...
    Batista, FacundoBatista, Facundo
    May 16, 2003 at 2:29 pm
    May 22, 2003 at 7:27 am
  • After spending some time researching wxPython and Tkinter, I can't help but wonder, "Do most people create their original GUI designs from a text file or do they use some other tool (wxDesigner, ...
    C42C42
    May 19, 2003 at 6:59 pm
    May 22, 2003 at 1:40 am
  • [... discussion of an alternative to "%" for string interpolation...] This is the right place for the discussion. If the PEP had been written and accepted and was being implemented (or perhaps even ...
    Michael ChermsideMichael Chermside
    May 20, 2003 at 12:31 pm
    May 21, 2003 at 12:54 pm
  • Hello, I have a Forum site for beginners in Python running on Zope Squishdot. I would like to publish python scripts with syntax coloring. Although Squishdot support HTML tags it does not support the ...
    SalvatoreSalvatore
    May 3, 2003 at 7:05 pm
    May 6, 2003 at 10:51 am
  • Hi I serached around the web and some tutorials but i can't finds any documentation about function overloading in python. I want to have 3 functions: def setPos( x, y ): def setPos( pos ): def ...
    Mirko KoenigMirko Koenig
    May 24, 2003 at 3:33 pm
    Jul 3, 2003 at 10:00 pm
  • Hi all, I'm looking for a simple XML api for python. Searched high and low could not find one, I was wondering if one could point me to the right direction. I'm not talking about DOM and SAX, I have ...
    Istvan AlbertIstvan Albert
    May 22, 2003 at 7:22 pm
    Jun 9, 2003 at 6:56 pm
  • I went googling for messages on Python and adding a macro facility, but ended up with just too many hits and got lost. The reason I was looking was that I can get envisage an application but seemed ...
    Paddy McCarthyPaddy McCarthy
    May 14, 2003 at 8:03 am
    Jun 4, 2003 at 4:08 pm
  • Given that the name lyst refers to a list, I'd like to limit the number of elements returned by the slice lyst[:limit] by setting the value of limit. Now, what if I want to include the option of ...
    Jacek GenerowiczJacek Generowicz
    May 23, 2003 at 1:09 pm
    May 26, 2003 at 7:32 pm
Group Navigation
period‹ prev | May 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions858
posts4,859
users1,003
websitepython.org

1,003 user for May 2003

Alex Martelli: 131 posts Gerhard Häring: 117 posts Steven Taschuk: 114 posts Peter Hansen: 109 posts Martin v. Löwis: 101 posts Skip Montanaro: 94 posts Aahz: 89 posts Erik Max Francis: 89 posts Bengt Richter: 88 posts Robert Oschler: 79 posts Terry Reedy: 75 posts Fredrik Lundh: 58 posts Fernando Perez: 50 posts Chad Netzer: 46 posts Tim Peters: 44 posts Gerrit Holl: 38 posts Andrew cooke: 37 posts Duncan Booth: 35 posts Nick Vargish: 35 posts Andrew Bennetts: 34 posts
show more
Archives