FAQ

Search Discussions

716 discussions - 3,180 posts

  • There is also a constructive proof based on the Fundamental Theorem of Arithmetic, that is little more complex. But I am at a complete loss to know why you need to be able to prove that there are an ...
    Nick MaclarenNick Maclaren
    Apr 4, 2000 at 12:58 pm
    May 30, 2000 at 12:11 am
  • Before I launch into another question and gripe, I'd like to thank everyone who offered comments and suggestions on the advanced Python books that are out there. Now something I can't quite figure ...
    LewstLewst
    Apr 5, 2000 at 5:39 am
    Jun 3, 2000 at 7:49 pm
  • A brief article in today's NY Times discusses a new (Feb 2000) paper explores the economics of open source software: http://www.nytimes.com/library/financial/columns/042000econ-scene.html (The ...
    Jeremy HyltonJeremy Hylton
    Apr 20, 2000 at 5:23 pm
    May 2, 2000 at 2:56 pm
  • I am two weeks plus into learning Python and have started on a first real project. Amazing language. BUT, now that I've gotten going with classes, I'm finding I hate seeing all those "self." prefixes ...
    Louis M. PecoraLouis M. Pecora
    Apr 27, 2000 at 9:06 pm
    May 5, 2000 at 3:06 pm
  • Garbage collection for Python: http://www.enme.ucalgary.ca/~nascheme/python/gc.html I think I have all of the wrinkles ironed out of this patch. Reference cycles involving lists, tuples, instances, ...
    Neil SchemenauerNeil Schemenauer
    Apr 8, 2000 at 4:17 am
    Apr 18, 2000 at 7:58 am
  • Well, starting to use Python, there are two Algol 68 constructions that I sorely miss. Here is an example of them in C: if ((x = non_trivial_expression) != NULL) { do_something_using_x; } elif ((x = ...
    Nick MaclarenNick Maclaren
    Apr 8, 2000 at 8:38 am
    Apr 19, 2000 at 4:57 pm
  • New Features in Python 1.6 ========================== With the recent release of Python 1.6 alpha 1, a lot of people have been wondering what's new. This short note aims to explain the major changes ...
    Guido van RossumGuido van Rossum
    Apr 1, 2000 at 5:00 pm
    Apr 8, 2000 at 6:56 pm
  • I've just started fooling with python. I've looked around the python site and a number of the other sites referenced there and am a bit puzzled. Umm... how does one go about using python for web ...
    Charley HorseCharley Horse
    Apr 18, 2000 at 7:23 am
    Jun 2, 2000 at 12:37 pm
  • This is not an [intentional] flame bait, nor an April Fool's message, but think about it: Python has two "sequence" data types, lists and tuples, which from the Python programmer's perspective are ...
    Bob AlexanderBob Alexander
    Apr 3, 2000 at 3:24 pm
    Apr 10, 2000 at 10:54 pm
  • Does anyone know why it is not a type error to compare a string and an int with ' ' ? For example, I just spent over an hour debugging code that essentially did this: Of course, the '0' was a ...
    Mark H.H. MontagueMark H.H. Montague
    Apr 10, 2000 at 3:32 pm
    May 2, 2000 at 6:16 pm
  • What's going on here? Exception except.AttributeError: "'None' object has no attribute 'time'" in <met hod lwdb_base.__del__ of lwdb_hash instance at 5de410 ignored Exception except.AttributeError: ...
    Warren PostmaWarren Postma
    Apr 18, 2000 at 7:13 pm
    Apr 21, 2000 at 7:29 am
  • Why does the second example return false? 1 Sent via Deja.com http://www.deja.com/ Before you buy.
    Jeff_islayJeff_islay
    Apr 22, 2000 at 11:49 am
    Apr 24, 2000 at 7:51 pm
  • Hi, I'm just trying to familiarize myself with Python. In Magnus Lie Hatland's Instant Python, he mentions that `all parameters in Python are passed by reference'. So I tried the following code: ...
    Jacek GenerowiczJacek Generowicz
    Apr 3, 2000 at 9:30 am
    Apr 11, 2000 at 2:11 pm
  • Hi All-- I'm finally getting a chance to use Python at work. I have two questions: 1) Is there a way to run silent (i.e., we determine where things go and the customer never sees any wizards) ...
    Ivan Van LaninghamIvan Van Laningham
    Apr 4, 2000 at 9:34 pm
    Apr 9, 2000 at 10:29 pm
  • Hi All, I have this: [[], [], []] [[1.23], [1.23], [1.23]] I only want to append 1.23 to entire_list[0]. Why did it also append it to entire_list[1] and entire_list[2]? Thanks for your help, Matt
    Matthew HirschMatthew Hirsch
    Apr 24, 2000 at 3:19 pm
    Apr 28, 2000 at 2:19 pm
  • Having finished "Learning Python", I'm now looking for an advanced Python text. ORA's "Programming Python" is a natural choice, but I can't bear buying this outdated book when the 2nd edition is due ...
    LewstLewst
    Apr 4, 2000 at 4:09 am
    Apr 5, 2000 at 9:34 pm
  • Hello all, I'm relatively new to Python and am trying to gain support for it at my work place. To that end, I'm giving a brief (overview) presentation. One of the items I have been asked to consider ...
    J vickroyJ vickroy
    Apr 19, 2000 at 1:46 pm
    May 5, 2000 at 5:43 am
  • Okay, another quick question. If it is quicker to do: import random from random import randint for i in range(1,1000000): print randint(1,10) than this: import random for i in range(1,1000000): print ...
    Jeff MassungJeff Massung
    Apr 17, 2000 at 3:22 pm
    Apr 28, 2000 at 1:14 pm
  • This might seem an odd way to choose a GUI, but if you had the choice between scripting Gnome/Gtk or KDE/Qt-based components using Python, which would you go for? Thanks peeps Alex
    Alex ThomasAlex Thomas
    Apr 14, 2000 at 8:46 pm
    Apr 27, 2000 at 10:17 pm
  • If i PyErr_SetString(PyExc_TypeError,"Invalid command value for IOCTL"); in my c/c++ program, how would python script get that error string? Thanx Sent via Deja.com http://www.deja.com/ Before you ...
    ArintéArinté
    Apr 17, 2000 at 4:18 pm
    May 19, 2000 at 4:09 pm
  • Does anyone know python's language level? I did not find it in the list at: http://www.spr.com/library/0langtbl.htm I would guess that it would be somewhere between 15 and 30. This is an important ...
    Chuck MeyersChuck Meyers
    Apr 4, 2000 at 4:42 pm
    Apr 10, 2000 at 7:25 pm
  • Hi, I read an old post about metaclasses (included on the cd-rom with the book "Mit Python programmieren"), and got very interested, because I imagine that by making a new metaclass, I could maybe ...
    Robb ShecterRobb Shecter
    Apr 25, 2000 at 7:40 pm
    Apr 29, 2000 at 2:03 am
  • Can Python be used for writing device drivers? I just got BeOS 5 and it doesn't support some video cards. I'd like to write one for the Cirrus Logic card and I want a language that's clear and ...
    DaveDave
    Apr 22, 2000 at 1:10 am
    Apr 29, 2000 at 1:39 am
  • Hello, I've just started with Pythonwin and I want to create a main application with many dialogs and stuff like that. But how do I create a main Window? With the example down here, it doesn't shows ...
    A[r]TAA[r]TA
    Apr 19, 2000 at 4:37 pm
    Apr 21, 2000 at 6:35 am
  • I'm trying to create a converter from our own internal language (horrid) into python.? My only problem so far is that the original language uses *LOTS* of goto's.? Is there any way that this can be ...
    Richard JonesRichard Jones
    Apr 19, 2000 at 7:09 am
    Apr 20, 2000 at 4:35 am
  • Hi All, Let's say I have four variables: a=1 b=2 c=3 d=4 And I have a function that adds these variables together: def add(a,b,c,d): return a+b+c+d But now let's say I have twenty variables that I ...
    Matthew HirschMatthew Hirsch
    Apr 3, 2000 at 7:16 pm
    Apr 7, 2000 at 2:35 pm
  • I've searched the docs and my "Learning Python" book and I can't find anything on printing to a real printer. Through trial and error I finally made the following work: printer = open('/dev/lp0', ...
    Albert WagnerAlbert Wagner
    Apr 13, 2000 at 5:03 pm
    May 10, 2000 at 4:20 am
  • Is there a Python "read-partner" for the write(string) function, e.g., fileobject.write(" %e %e %d" % (1.2, -3.5, 10)) in the sense that the C functions fprintf and fscanf are partners. I've looked ...
    Louis M. PecoraLouis M. Pecora
    Apr 28, 2000 at 9:00 pm
    May 2, 2000 at 4:53 pm
  • i've come to the point where i can't get by even the simplest python project without dumping this code into my files. it is a simple class that handles the "while 1: .... break" carnival for reading ...
    Pete ShinnersPete Shinners
    Apr 24, 2000 at 11:00 pm
    Apr 27, 2000 at 3:53 am
  • I've been playing around with the Unicode support in Python 1.6. IDLE uses a Unicode enabled text widget so a script like the following: print "hi ?" works well. There is a good chance this didn't ...
    Neil HodgsonNeil Hodgson
    Apr 3, 2000 at 1:25 am
    Apr 4, 2000 at 12:46 pm
  • Hi again, other trivial (looking) question: I cannot find the hook to get back the name of 'dd' as a string. Why? Cause I need the names for code generation :-) like estimated any hacks available? ...
    Spex66Spex66
    Apr 26, 2000 at 3:13 pm
    Apr 29, 2000 at 10:45 pm
  • Hi, I can't access the www.pythonware.com webpages since yesterday evening. Does someelse also have the problems or is it just me? Bye, Oliver
    Oliver AndrichOliver Andrich
    Apr 19, 2000 at 1:42 pm
    Apr 22, 2000 at 1:10 pm
  • There's got to be a better way. Is there a Python idiom I'm missing? I want to do search-and-replace of multiple symbols on each line of a file. But the simple-minded code below takes a while. It ...
    Randall HopperRandall Hopper
    Apr 12, 2000 at 2:08 pm
    Apr 16, 2000 at 4:04 am
  • Just a quick question, im writing a small webbot for a python learning experience and it comes across some sites that will make it hang for a while, if the site is down or extremely slow etc, is ...
    DarrellDarrell
    Apr 11, 2000 at 5:28 pm
    Apr 14, 2000 at 10:47 am
  • Hello! I want a filtering web proxy. I can write one myself, but if there is a thing already... well, I don't want to reinvent the wheel. If there is such thing (free and opensourse, 'course), I'll ...
    Oleg BroytmannOleg Broytmann
    Apr 17, 2000 at 2:20 pm
    May 12, 2000 at 5:02 pm
  • Okay, I've been looking all over the net and the documentation that came with the MacPython distribution, but can't seem to find the answers to these questions. Hopefully someone else out there on a ...
    Jeff MassungJeff Massung
    Apr 19, 2000 at 3:04 pm
    Apr 30, 2000 at 2:14 pm
  • If shoe is None then len(shoe) raises an exception. Would be nice if len(None) was 0 and NOT raise an exeption. Example: (Python 1.5.2) def show_shoe_wear_to_complaint_dept(name): if name == "Idle": ...
    MusingattheruinsMusingattheruins
    Apr 13, 2000 at 4:20 pm
    Apr 15, 2000 at 5:26 am
  • Hi All, Let's say I had something like: number_of_variables=int(raw_input('Enter number of variables: ')) if number_of_variables==1: variable1=[] elif number_of_variables==2: variable1=[] ...
    Matthew HirschMatthew Hirsch
    Apr 6, 2000 at 2:44 pm
    Apr 7, 2000 at 8:12 pm
  • Hi, Consider the expression str(1.14 * 200). In CPython it yields 228.0 In JPython it yields 227.99999999999997 Shouldn't this result in consistent values across variuos implementation? If so, which ...
    Venkatesh Prasad RanganathVenkatesh Prasad Ranganath
    Apr 30, 2000 at 10:04 pm
    May 2, 2000 at 4:09 am
  • Hi I have quite a big problem. I have two different files, where I in one file want to declare a variable and then in the other file be able to access and use this variable (no need to change it), ...
    Thomas RasmussenThomas Rasmussen
    Apr 26, 2000 at 7:37 pm
    Apr 27, 2000 at 3:04 pm
  • Hi y'all, I'm experimenting with Python for a number of purposes (an embedded language for simulations, a tool for exploring experimental data, a good first programming language) and so I've cobbled ...
    Paul-Michael AgapowPaul-Michael Agapow
    Apr 13, 2000 at 8:10 am
    Apr 19, 2000 at 2:22 pm
  • how do I define a propper global variable that works in all functions in all modules? I have tried simply defining one outside of any function in the main module, I have tried using the global ...
    Anders Eggers-KragAnders Eggers-Krag
    Apr 12, 2000 at 5:28 pm
    Apr 13, 2000 at 2:36 am
  • ... if x: ... z['x'] = x ... if y: ... z['y'] = y ... print str(z) ... {'x': 'a'} {'x': 'b'} {'x': 'b', 'y': 'c'} {'x': 'a', 'y': 'c'} I don't get it. Why isn't the dictionary reset to {'x':'a'} when ...
    Roger BaklundRoger Baklund
    Apr 11, 2000 at 12:34 pm
    Apr 12, 2000 at 3:14 pm
  • Hi, asa side effect, I happened to observe the following rounding bug. It happens in Stackless Python, which is built against the pre-unicode CVS branch. Is this changed for 1.6, or might it be my ...
    Christian TismerChristian Tismer
    Apr 6, 2000 at 9:22 pm
    Apr 7, 2000 at 7:18 pm
  • I just had an idea. Using the Emacs python-mode, would it be possible to somehow hide the function-bodies? Sometimes it would be useful to get an overview of the functions provided by a class. vr
    Vetle RoeimVetle Roeim
    Apr 1, 2000 at 10:24 am
    Apr 3, 2000 at 8:02 am
  • Hi, people. Bruno Haible is convincing me to put `recode' in an open source environment, like `sourceforge', say. I have been reluctant to CVS so far (for various reasons), and if I was doing such a ...
    François PinardFrançois Pinard
    Apr 25, 2000 at 11:46 pm
    Aug 6, 2000 at 6:07 am
  • I am working on a helicopter simulation user-interface that takes commands such as: I would like to add scripting capabilities to this user-interface, so I am attempting to extend and embed Python. I ...
    MdefreitasMdefreitas
    Apr 27, 2000 at 6:19 pm
    May 4, 2000 at 6:29 am
  • What are the performance issues when using Python for ASP, as opposed to JScript (and dare I say VBScript). What are the other advantages/disadvantages Sent via Deja.com http://www.deja.com/ Before ...
    Gdeering_telstraGdeering_telstra
    Apr 18, 2000 at 10:10 pm
    May 4, 2000 at 2:24 am
  • Examples of multi-valued returns: (head, tail); (quotient, remainder); (left, right); (prologue, body, epilogue); (data, code); (CAR, CDR); (count, size); (handle, status); (decomposition; ...
    Cameron LairdCameron Laird
    Apr 20, 2000 at 7:37 pm
    May 2, 2000 at 3:42 am
  • Hi! I want to concatenate a string containing both strings and integers like: strTemp = 'I make test number: ' + iMyNumber + ' once again' It doesn't work, how should I do this? BR Joacim
    JJJJ
    Apr 27, 2000 at 1:46 pm
    Apr 28, 2000 at 9:16 am
Group Navigation
period‹ prev | Apr 2000 | next ›
Group Overview
grouppython-list @
categoriespython
discussions716
posts3,180
users802
websitepython.org

802 users for April 2000

Fredrik Lundh: 122 posts Michael Hudson: 90 posts Gordon McMillan: 74 posts Mark Hammond: 58 posts Martijn Faassen: 51 posts Moshe Zadka: 46 posts Oleg Broytmann: 39 posts Christian Tismer: 37 posts Robert Cragie: 37 posts Ivan Van Laningham: 33 posts Warren Postma: 33 posts Andrew Dalke: 32 posts Randall Hopper: 32 posts Tim Peters: 32 posts Remco Gerlich: 30 posts Alex: 27 posts Nick Maclaren: 27 posts Thomas Wouters: 27 posts Michal Wallace (sabren): 25 posts Sue: 25 posts
show more
Archives