Search Discussions
-
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 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 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 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 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 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 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 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 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 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 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), ...
Achrist
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 Fincher
May 2, 2003 at 4:53 am
May 7, 2003 at 4:42 pm -
31
define
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 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 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 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 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 ...
Morden
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 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 Ballard
May 7, 2003 at 8:00 am
May 9, 2003 at 11:17 am -
23
A Standard
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 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 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 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 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 ...
Dvm5
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 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 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 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 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 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'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 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 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 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 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 ...
Enk0d
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 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 ...
Cybernut
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 ...
Waxmop
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 Pace
May 5, 2003 at 8:45 am
May 6, 2003 at 6:08 pm -
17
'20' <= 100
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 ...HP
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. Jones
May 25, 2003 at 12:10 pm
May 27, 2003 at 7:21 pm -
16
can't sort
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 Jarausch
May 17, 2003 at 10:59 am
May 27, 2003 at 4:04 pm -
16
Date type
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, 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, ...
C42
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 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 ...
Salvatore
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 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 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 McCarthy
May 14, 2003 at 8:03 am
Jun 4, 2003 at 4:08 pm -
15
lyst[:None]
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 Generowicz
May 23, 2003 at 1:09 pm
May 26, 2003 at 7:32 pm
Group Overview
group | python-list |
categories | python |
discussions | 858 |
posts | 4,859 |
users | 1,003 |
website | python.org |
1,003 user for May 2003
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)