Search Discussions

476 discussions - 1,699 posts

  • Hi all language lawyers! Which one is more ugly? ===== c = curs.fetchone() while c: print c c = curs.fetchone() ===== while 1: c = curs.fetchone() if c: print c else: break ===== Is there an elegant ...
    Marco MarianiMarco Mariani
    Apr 30, 1999 at 12:01 am
    May 22, 1999 at 3:44 am
  • Arne, While I'm not going to go near comparing Python to Perl, I will comment that different languages are just that - different. As such, the approach you would take in one language may not be the ...
    Brian LloydBrian Lloyd
    Apr 23, 1999 at 2:34 pm
    May 8, 1999 at 7:35 am
  • Hi All, first off all: Sorry for that slightly provoking subject ;-) ... I just switched from perl to python because I think python makes live easyer in bigger software projects. However I found out ...
    Arne MuellerArne Mueller
    Apr 23, 1999 at 12:34 pm
    May 4, 1999 at 4:39 am
  • Over my programming life, I have used a 'cowboy' programming style. Once I have a general idea for a solution to a problem, I start coding, using the text editor as sort of an etch-o-scetch. This ...
    David SteuberDavid Steuber
    Apr 26, 1999 at 11:06 pm
    Jun 9, 1999 at 6:04 pm
  • <Jamie Z quits, CSS support sucks Having recently ported a sophisticated applet using JNI (Sun's new native interface) to JRI (older Netscape) and RNI (older IE), I too can kick and scream. Despite ...
    Gordon McMillanGordon McMillan
    Apr 7, 1999 at 5:51 pm
    Apr 9, 1999 at 5:45 pm
  • Hi all, I've been designing a large game project, and I want it to be easily extensible. It's a space combat/exploration/trade game, in the spirit of the original Elite. What I want to be able to do ...
    Tim AuldTim Auld
    Apr 26, 1999 at 3:11 am
    May 9, 1999 at 5:57 am
  • I need a function to produce a Unix epoch time from a time tuple, a la time.mktime(). Problem is, mktime() gives you the tuple in localtime, which is dangerous if you're dealing with GMT times in the ...
    Mark NottinghamMark Nottingham
    Apr 30, 1999 at 12:55 pm
    May 6, 1999 at 2:24 pm
  • In my ongoing saga to build a chinese-language search engine, I've found a great deal of groundwork already. The bad news (for me) is that this was all in Perl so I've had a rather distressing day : ...
    Apr 25, 1999 at 2:57 pm
    Apr 30, 1999 at 12:51 am
  • I've seen roughly half the people here doing try: dict[key].append(foo) except: dict[key]=[foo] with the other half doing if dict.has_key(key): dict[key].append(foo) else: dict[key]=[foo] Can people ...
    Aahz MaruchAahz Maruch
    Apr 22, 1999 at 10:48 pm
    Apr 30, 1999 at 3:08 pm
  • For programmers using languages other than Tcl. I recently "discovered" the latest stable version of Tcl/Tk (8.05) and must say that was quite impressed by the simplicity and ease of use of Tk. But I ...
    Eugene DragoevEugene Dragoev
    Apr 22, 1999 at 3:23 am
    Apr 24, 1999 at 10:32 am
  • A co-worker has written an SNMP library *entirely* in Python. It works on every platform Python runs under (well, we haven't tried every platform, but it does work under Unix and Windows). ...
    Craig H. RowlandCraig H. Rowland
    Apr 5, 1999 at 5:17 pm
    Apr 18, 1999 at 8:41 pm
  • 17


    I like vim, but I come from a Unix background, and if you don't already know vim, you'ld probably be better starting off with something else. IDLE (Guido's IDE) is also up on my favourites list. ...
    Blake WintonBlake Winton
    Apr 5, 1999 at 3:23 am
    May 1, 1999 at 11:13 am
  • Well, I've just about given up on EVER getting Tkinter to work on my Win98 machine. Is there any other GUI module that I can get that doesn't require TCL/TK to be installed on my machine? Isn't there ...
    Apr 24, 1999 at 5:31 am
    Apr 28, 1999 at 5:53 am
  • Hello Everyone! I usually use C++ ,so I want to make programs like I do using C++. I don't figure out how to implement the followings by Python. If you know any solutions,Please Help! 1. #define ...
    Thooney MillennierThooney Millennier
    Apr 22, 1999 at 9:08 pm
    May 2, 1999 at 8:14 pm
  • Any one knows a quick fix to add "+=" function. I am really getting tired of typing long names twice. Thanks a lot! Fuming
    Fuming WangFuming Wang
    Apr 16, 1999 at 9:26 pm
    Apr 20, 1999 at 5:19 pm
  • Has anyone created a pov ray module for python? Thanks, Tom
    Apr 5, 1999 at 6:46 am
    Apr 12, 1999 at 10:08 pm
  • At least by my experiences the Emacs mode (at least, two versions I tried, 3.75 and whatever came with Python 1.5.2) seems to have tons of bugs; to be more precise, it seems to think a lot more of my ...
    Markus StenbergMarkus Stenberg
    Apr 28, 1999 at 9:27 pm
    Apr 29, 1999 at 10:24 pm
  • I have a program running in Python 1.5.1 under FreeBSD 2.1.7. It happens to be a nph-type CGI program. Normally, it runs a report that can take quite a while, and I'm trying to add an option to delay ...
    Clarence GardnerClarence Gardner
    Apr 12, 1999 at 7:03 am
    Apr 16, 1999 at 3:04 pm
  • Hello again everyone, I have tried all the suggestions people have sent me, and I have tried all the local debugging I could think of, but I still can't see the world from behind my proxy server. Can ...
    Apr 30, 1999 at 12:13 am
    May 4, 1999 at 5:10 pm
  • Hi, I am new to Python. I have an idea of a work-related project I want to do, and I was hoping some folks on this list might be able to help me realize it. I have Mark Lutz' _Programming Python_ ...
    Scott StirlingScott Stirling
    Apr 28, 1999 at 4:49 pm
    Apr 30, 1999 at 12:59 pm
  • I don't understand how to change instance methods. For example: class Foo: def __init__(self): self.data = 42 def m(self): print "Foo.m" print dir(self) def m2(self): print "m2" print dir(self) f = ...
    Jody WinstonJody Winston
    Apr 6, 1999 at 8:34 pm
    Apr 9, 1999 at 6:43 am
  • How can I help whom when purchasing Python books? Haven't seen enough about this on the list lately & thought it should come up again. I see on python.org a link to Amazon. I've seen in the past that ...
    Apr 28, 1999 at 6:37 pm
    Apr 29, 1999 at 10:18 am
  • This doesn't work: for ( var, str ) in [( self.min, 'min_units' ), ( self.max, 'max_units' )]: if cnf.has_key( str ): var = cnf[ str ] del cnf[ str ] It doesn't assign values to self.min, self.max ...
    Randall HopperRandall Hopper
    Apr 22, 1999 at 4:14 pm
    Apr 27, 1999 at 4:29 pm
  • Hi, I found this little surprise with Python 1.5.1: [[0, 9], [0, 9], [0, 9], [0, 9]] Is this a bug or a feature that I don't know about? Fuming
    Fuming WangFuming Wang
    Apr 23, 1999 at 3:14 pm
    May 3, 1999 at 7:41 am
  • Er, uh, hmm. I wrote my first Python program today. It took longer than I expected. Who would have guessed that you couldn't give a file object the name 'in'? Or at least that was one of the weirder ...
    David SteuberDavid Steuber
    Apr 21, 1999 at 4:33 am
    Apr 23, 1999 at 1:41 am
  • Hi! By mistake I am unable to find the PY files (source) from a project I was working on. I only have the PYC files... Is there a way to recover the sources from the PYC? I only need my sources, I ...
    Bruno MattarolloBruno Mattarollo
    Apr 16, 1999 at 12:03 am
    Apr 18, 1999 at 7:13 pm
  • Hello! I tried to add yeat another database backend to my project "Bookmarks database". My database contains now about 3000 URLs, not too much, I think. I subclass by BookmarksParser to parse ...
    Oleg BroytmannOleg Broytmann
    Apr 3, 1999 at 2:35 pm
    Apr 12, 1999 at 12:42 pm
  • Does somebody know some piece of soft which can this?? Or does somebody know if the description of the format ia avaible (for free of course). Thanks Stephan
    Apr 29, 1999 at 2:57 pm
    May 5, 1999 at 9:17 pm
  • THis is Guido's reply to my comments that tcl80.dll is not found by IDLE on a default installation. Please take it up on the newsgroup -- there are many people with similar interests and more ...
    Barry ScottBarry Scott
    Apr 13, 1999 at 9:42 pm
    Apr 23, 1999 at 11:53 pm
  • Installed the basic Python stuff. I can run the interpreter. But not clear on getting it configured properly to talk CGI with my WinNT Netscape Enterprise server. I set a CGI folder path properly, ...
    Apr 13, 1999 at 10:04 pm
    Apr 16, 1999 at 8:01 pm
  • Hi Python-Fans, I'm a great fan of python and I'm now looking for an hand held computer (something smaller than a laptop) that can be programmed with python. Is there a WEB page or any other place ...
    Dr. Peter StoehrDr. Peter Stoehr
    Apr 24, 1999 at 8:34 pm
    Apr 27, 1999 at 1:40 pm
  • As I understood from the Python documentation, dictionaries are implemented as extensible hash tables. What I didn't find either in the references or in the FAQ is: what is the actual time complexity ...
    Oliver CiupkeOliver Ciupke
    Apr 22, 1999 at 1:16 pm
    Apr 25, 1999 at 11:47 pm
  • Is there a reasonably bulletproof way to generate an rfc822-compliant date header using the time module? The reason I ask is I recall a number of subtle errors in this regard, reported by Chris ...
    Jeff BauerJeff Bauer
    Apr 13, 1999 at 5:38 am
    Apr 25, 1999 at 6:53 am
  • I have a variable, which can have a value in the range from 1 to 20. If the value is 7, I have to open 7 files. What could be an elegant way of doing this? Martin
    Martin van nijnattenMartin van nijnatten
    Apr 20, 1999 at 4:59 pm
    Apr 23, 1999 at 1:59 pm
  • I never see jobs with Python advertised so what is it that Python does? Thanks for the advice
    Susan e paoliniSusan e paolini
    Apr 14, 1999 at 5:01 pm
    Apr 16, 1999 at 10:43 pm
  • I use ConfigParser to parse the data files in a Mad Lib CGI program. See it at http://mso.oz.net/python/madbibs/ (When I add/change a story, I run a script that parses the files, creates the HTML, ...
    Mike OrrMike Orr
    Apr 10, 1999 at 12:47 am
    Apr 16, 1999 at 10:17 pm
  • To All, I would like to write a Python robot to play an Internet game. I do not know how to make a POST request. Thanks to anyone in advance that can point me in the right direction. Gary ...
    Apr 8, 1999 at 5:19 am
    Apr 13, 1999 at 8:13 am
  • Hello, I want to import modules at runtime, and get the module name from the user. Is that possible? How? Another question: is there a function to copy/move entire directory trees? TIA, Gaetan ...
    Gaetan CorneauGaetan Corneau
    Apr 9, 1999 at 1:23 pm
    Apr 10, 1999 at 12:14 pm
  • Get strange errors, when using PythonWin (win32all-124) with Python 1.5.2b2 or 1.5.2c1 on this Windows 95 machine here. The installprogram said that AXScript, Python Interpreter and Python Dictionary ...
    Bernhard ReiterBernhard Reiter
    Apr 9, 1999 at 6:15 am
    Jun 17, 1999 at 11:04 pm
  • I just spent the morning trying to find a very obscure bug related to the passing keyword arguments to a builtin method/function. I have a method that I defined with METH_VARARGS|METH_KEYWORDS, and ...
    Michael P. ReillyMichael P. Reilly
    Apr 24, 1999 at 5:48 pm
    May 4, 1999 at 11:50 pm
  • Hello, I would like to 1) create a GIF file under Python by drawing lines, text, ... I have looked at Tk which can create bitmaps and photoimage but their seem to be no possibility to transform a ...
    Apr 28, 1999 at 9:17 pm
    May 4, 1999 at 1:37 pm
  • Hi everyone, I want to manually control the scrollbar in a tkinter app, i.e. I don't want to tie it to another widget as a child. Below is what I have so far. I can't figure how to make the 'thumb' ...
    Joseph RobertsonJoseph Robertson
    Apr 8, 1999 at 6:51 pm
    Apr 30, 1999 at 2:19 am
  • Suppose we were going to make a database to help Kosovars locate their family members. This would probably result in hundreds of thousands of records (say 1 record (file) per person). Would Python be ...
    Richard van de StadtRichard van de Stadt
    Apr 21, 1999 at 10:38 am
    Apr 26, 1999 at 12:29 pm
  • I am just starting using python and I would like to learn more. I have about all the docs written by guido but I haven't found yet documentation about tkinter usage. Can you help me? Where I can find ...
    Apr 17, 1999 at 9:53 am
    Apr 25, 1999 at 11:48 pm
  • Is there a module for the bzip2 compression library available or in the making ? Thanks Andreas
    Andreas JungAndreas Jung
    Apr 19, 1999 at 7:25 am
    Apr 22, 1999 at 9:43 am
  • Help! I have previously used win32api and win32ui in Windows 95 without problem. However, I have now installed Python 1.5.2 and Pythonwin 124 (win32all-124.exe) on a brand new Windows NT machine, and ...
    Apr 18, 1999 at 1:33 am
    Apr 19, 1999 at 3:38 am
  • Coding a 'C' interface to python seems straight forward. Is swig worth the trouble ? I want to access some shared libs. I tried the dl module which isn't obvious how it works. import dl fails.
    Apr 5, 1999 at 5:33 pm
    Apr 6, 1999 at 4:18 pm
  • Folks - In trying to build Python 1.5.2 on a Sparc Solaris 2.5.1 machine using gcc 2.8.1 I get this: -- ar cr libpython1.5.a getbuildinfo.o ranlib libpython1.5.a true cd Modules; make OPT="-g -O2" ...
    Charles Y. ChoiCharles Y. Choi
    Apr 22, 1999 at 10:42 am
    May 9, 1999 at 11:53 pm
  • Say I have an application whose configuration language I want to be Python. I have all my extra types implemented in C. Now what I'm wondering is what's the best way to run that file so that the ...
    Nathan FroydNathan Froyd
    Apr 28, 1999 at 2:44 am
    May 1, 1999 at 6:33 pm
  • Hi, I created an object running python on NT and pickled it. I have no problem unpickling on NT, but when I ftp'd the file over to Solaris, I get an ImportError exception ("No module named ...
    Bill DozierBill Dozier
    Apr 20, 1999 at 2:57 pm
    Apr 23, 1999 at 4:12 am
Group Navigation
period‹ prev | Apr 1999 | next ›
Group Overview
grouppython-list @

545 users for April 1999

Tim Peters: 59 posts Randall Hopper: 49 posts Christian Tismer: 39 posts Mark Hammond: 38 posts Fredrik Lundh: 35 posts M.-A. Lemburg: 31 posts Oleg Broytmann: 25 posts Martijn Faassen: 24 posts Michael P. Reilly: 24 posts Gordon McMillan: 22 posts Andrew M. Kuchling: 21 posts Aahz Maruch: 19 posts David Steuber: 19 posts Jeremy Hylton: 16 posts Charles G Waldman: 15 posts Darrell: 15 posts Ivan Van Laningham: 15 posts Barry A. Warsaw: 14 posts Bernhard Reiter: 14 posts Joseph J. Strout: 14 posts
show more