FAQ

Search Discussions

881 discussions - 4,172 posts

  • Slashdot has a list of questions posed to Larry Wall (perl). When asked his thoughts on other scripting languages, he makes the following observation about python "Python is cool to look at small ...
    Rod StephensonRod Stephenson
    Sep 6, 2002 at 6:25 pm
    Oct 3, 2002 at 1:51 am
  • Well, sure. This is obviously a stupid way to go about...That's what object oriented programming is all about. What you need to do is create a currency class that behaves like it should, and then use ...
    ChrisBarkerChrisBarker
    Sep 18, 2002 at 5:01 pm
    Jan 4, 2003 at 7:29 pm
  • I've been reading a lot of good things about Stackless Python, especially when it comes to speed and multi-threading. Do you think that it eventually will be merged with the main Python code base? ...
    Robert OschlerRobert Oschler
    Sep 15, 2002 at 12:48 am
    Sep 22, 2002 at 12:32 am
  • I'm a fairly new programmer with experience in ASP/VBScript/DHTML. Other than small utilities, so far I've mostly written ASP apps to talk to an Oracle database on HP/UX, with Windows NT/2000 ...
    Lee GrayLee Gray
    Sep 17, 2002 at 9:05 pm
    Sep 20, 2002 at 10:37 am
  • Sorry pal, someone must have sold you some ranch land in Florida also. ;-) Python is definitely NOT weakly typed, it's dynamicly-strong typed. A variable, being only a "reference to *any* object" may ...
    Sismex01Sismex01
    Sep 19, 2002 at 2:09 pm
    Sep 29, 2002 at 7:35 am
  • I wrote a small wrapper module to "struct" today that will allow me to write C declarations and have ... print p.declare(""" struct test1 { int a,b; float this,and,that; }; struct test2 { int count; ...
    Gerson KurzGerson Kurz
    Sep 1, 2002 at 6:31 pm
    Sep 10, 2002 at 1:40 am
  • If I would like to write some code that would not be possible for others to read, after I distribute the program, would Python be suitable? I know that there are a few programs like Py2Exe, that ...
    Terje Johan AbrahamsenTerje Johan Abrahamsen
    Sep 16, 2002 at 4:31 am
    Sep 20, 2002 at 1:28 pm
  • I have read what I consider to be the narrow minded and short sighted views wrt to protecting IP in the form of Python source code, and I would like to make a few points. * Not everyone believes that ...
    David LeBlancDavid LeBlanc
    Sep 17, 2002 at 3:26 am
    Sep 20, 2002 at 2:11 pm
  • It's occurred to me after some brainstorming on the subject that the C/perl construct a ? b : c can be arranged like this in python: (a and [b] or [c])[0] or, putting into lambda form, and using ...
    Daniel w. mooreDaniel w. moore
    Sep 19, 2002 at 2:20 am
    Sep 30, 2002 at 6:34 pm
  • A small page devoted to "Thinking in Tkinter" at http://www.ferg.org/thinking_in_tkinter/index.html for whoever might find it useful. I've been trying to teach myself Tkinter out of various books, ...
    Stephen FergStephen Ferg
    Sep 7, 2002 at 4:09 am
    Sep 13, 2002 at 8:48 pm
  • That depends on what you are trying to do. Python can help in doing lots of things, since it has good libraries for many application areas. If you want to discuss further, please tell us what kinds ...
    Martin v. LöwisMartin v. Löwis
    Sep 4, 2002 at 9:03 am
    Sep 9, 2002 at 11:14 am
  • How can I tell if the version of Python I am running is thread-enabled? Also, what is a reasonable number of threads to expect to be able to run before context switching overhead becomes a problem ...
    Robert OschlerRobert Oschler
    Sep 21, 2002 at 12:35 am
    Oct 10, 2002 at 9:52 am
  • Once again my attempt to profit from Python's vaunted productivity increase has come to a screeching halt because some innocent thing that one would reasonably expect to work in one line, ...
    Jurie HornemanJurie Horneman
    Sep 29, 2002 at 4:39 pm
    Sep 30, 2002 at 11:58 am
  • Hi Why is it that we cannot rebind names in outer scopes from within the inner scope? This is perplexing to me, because you can rebind global scope variables using the global directive, e.g. x = ...
    Gonçalo RodriguesGonçalo Rodrigues
    Sep 4, 2002 at 2:29 pm
    Sep 5, 2002 at 7:54 pm
  • I am a newbie at this and this is a script I have come up with. I am looking for pointers on any "newbie" gotchas or ways to do it better. I use this to parse a log file (30MB+) for keywords and ...
    Bob XBob X
    Sep 11, 2002 at 9:01 pm
    Sep 17, 2002 at 6:51 pm
  • @ = "at" ! = "bang" . = "dot" * = "star" Is there a short (one or two syllable) pronounciation for "__" (double underscore). "Underscore underscore" and "double underscore" are kind of long. Somthing ...
    Pat NotzPat Notz
    Sep 26, 2002 at 5:56 pm
    Sep 27, 2002 at 11:58 pm
  • Hello all, here's a function I would like to have: <hypothetical code </hypothetical code Is this possible? How would this be called? Anton.
    Anton VredegoorAnton Vredegoor
    Sep 27, 2002 at 2:12 pm
    Sep 30, 2002 at 4:48 pm
  • Hi, I have the following code my problem is when I call any methods of TCVector_Object the destructor never executes. I mean v = module.CreateTCVector() del v; //destructor runs. message shown .OK ...
    VbVb
    Sep 11, 2002 at 10:50 pm
    Sep 23, 2002 at 12:49 am
  • Here's a python puzzle. Solve it and you win a prize. :) """ Ha'f ahoy ad ayfa wdqr srxhekdpyr! H phmm zhby fhv odeajf dc cryy pys jdfahez ad ajy chrfa kyrfde ad fdmby ajhf irwkadzrxo. Ixe wdq chzqry ...
    Michal WallaceMichal Wallace
    Sep 25, 2002 at 9:42 pm
    Sep 27, 2002 at 12:48 pm
  • Hello all, In a nutshell, what I'd like to do is develop a utility that would print out every line in a python program as the program executes (I may even just want to print line numbers). I can see ...
    MarkMark
    Sep 19, 2002 at 2:54 am
    Sep 22, 2002 at 11:51 pm
  • A candidate for the standard library, perhaps? I use it all the time, and if nothing else, it would be nice for DB-API modules to know that it was there, so that they could return instances of it for ...
    Simon BrunningSimon Brunning
    Sep 18, 2002 at 2:34 pm
    Sep 21, 2002 at 3:45 pm
  • I am missing something I think with the difference between the threading and Queue modules. These could really do with some updated docs with examples. I wish to have a server continually cycle ...
    RobinRobin
    Sep 14, 2002 at 5:59 am
    Sep 17, 2002 at 3:18 pm
  • I've been away from Python for awhile and I'm wondering whether Python got less "dynamic" while I was away. I thought you could just extend an object's attributes at run-time like this: Traceback ...
    Steven ShawSteven Shaw
    Sep 10, 2002 at 3:23 am
    Sep 12, 2002 at 8:53 am
  • I remember a while ago reading about tim burners-lee and how his vision of the WorldWideWeb as a medium where all can freely and easily publish information has not materialized properly, and i felt ...
    Mike henleyMike henley
    Sep 29, 2002 at 9:26 pm
    Oct 1, 2002 at 12:03 pm
  • Hi, let say I have: i1 = 1 i2 = 2 and p = [i1,i2] How can I have: p=[*i1,*i2] rather than p=[**i1,**i2] as it is curently ? ( Sorry for this nasty hybrid syntax ) Textualy, how if I want that p[0] ...
    Guy RabillerGuy Rabiller
    Sep 25, 2002 at 2:24 pm
    Sep 29, 2002 at 5:19 pm
  • If you want to learn "how it (computer languages) works" I suggest reading "Structure and Interpretation of Computer Languages" by Abelson and Sussman. This is about understanding the principles ...
    Eddie CornsEddie Corns
    Sep 20, 2002 at 10:28 am
    Sep 25, 2002 at 3:47 pm
  • I am trying to open a file, Traceback (most recent call last): File "<pyshell#4 ", line 1, in ? file = os.open("e:\\d12", "r") TypeError: an integer is required I get this error if the mode is r, r+, ...
    Robie1373Robie1373
    Sep 24, 2002 at 2:30 am
    Sep 25, 2002 at 3:19 am
  • Hello, I am going to program a small application (in Python and wxPython) which consists about 2000 - 3000 records . Can you please recommend which database is the best for that. I use Windows. Maybe ...
    AA
    Sep 5, 2002 at 1:20 pm
    Sep 6, 2002 at 3:15 pm
  • gcc: file path prefix `dynamic' never used cc -G -KPIC -Ki486 -belf -Wl,-Bexport build/temp.sco_sv-3.2-i386-2.2/timemodule.o -L/usr/local/lib -lm -o build/lib.sco_sv-3.2-i386-2.2/time.so /bin/sh: ...
    Anton GraphAnton Graph
    Sep 4, 2002 at 3:33 am
    Sep 6, 2002 at 1:12 am
  • "Bo M. Maryniuck" <b.maryniuk at forbis.lt wrote in news:mailman.1030957743.4021.python-list at python.org: Because the text in strings is stored in a single block of memory, so extending a string ...
    Duncan BoothDuncan Booth
    Sep 2, 2002 at 9:57 am
    Sep 3, 2002 at 3:53 pm
  • Hi! Is there a way to write the following method without using exceptions? def isFloat(string): is_float=1 try: float(string) except: is_float=0 return is_float print isFloat("asdf") # -- 0 print ...
    Thomas GuettlerThomas Guettler
    Sep 18, 2002 at 3:41 pm
    Jun 12, 2003 at 7:54 am
  • 15

    IDLE

    Why won't my IDLE work?
    Ali KAli K
    Sep 10, 2002 at 12:54 am
    Sep 17, 2002 at 6:01 pm
  • Hello all I would like to get your thoughts on testing if a string contains another. To do something dependent on whether a part is contained in another string, the following code is familiar to me: ...
    Stefan SchwarzerStefan Schwarzer
    Sep 11, 2002 at 8:23 pm
    Sep 16, 2002 at 10:10 pm
  • I'm curious if others have adopted any standards for choice of single vs. double quotation marks to delimit strings. A look through the standard library reveals the choice of one over the other is ...
    John WaycottJohn Waycott
    Sep 12, 2002 at 2:25 pm
    Sep 14, 2002 at 8:28 am
  • I have two lists of lists of strings which I would like to merge efficiently without repeats. I assume that each list currently contains no repeats. At the moment, I have two possible ...
    Peter SaffreyPeter Saffrey
    Sep 3, 2002 at 6:12 pm
    Sep 4, 2002 at 10:04 pm
  • I found the following interesting paragraph regarding Python during a Google search: From: Glyph Lefkowitz (glyph at twistedmatrix.com) Subject: Re: Copy constructors Newsgroups: comp.lang.python ...
    Robert OschlerRobert Oschler
    Sep 1, 2002 at 3:31 pm
    Sep 3, 2002 at 8:06 am
  • I 'd like to answer a message, e.g. on the topic ?Installation of multiple versions of Python on Unix?, but on the page http://mail.python.org/pipermail/python-list/2002-September/120875.html which ...
    Patrick CarabinPatrick Carabin
    Sep 19, 2002 at 12:42 pm
    Nov 13, 2002 at 11:32 pm
  • First of all, I am going to warn you. I will ask some stupid questions. I haven't programmed too much, and don't really know how it all links together. But, I guess my question boils down to, why is ...
    Terje Johan AbrahamsenTerje Johan Abrahamsen
    Sep 20, 2002 at 8:12 pm
    Oct 2, 2002 at 3:17 pm
  • Okay, here they are: 1. Why is 'zip(zip(x)) != x' (should be the same because it's the transposed) 2. Peter Norvig mentions in "Python for Lisp Programmers" some "don'ts": "[x] + y" and "x[1:]". Are ...
    Thorsten KampeThorsten Kampe
    Sep 23, 2002 at 9:03 pm
    Sep 25, 2002 at 3:07 am
  • Hello pythonistas, I'm about to write an application related to injury prevention in big industrial companies. It's supposed to be intranet-based (because the admins are reluctant to install it on x ...
    Nenad PropadovicNenad Propadovic
    Sep 18, 2002 at 10:30 pm
    Sep 20, 2002 at 4:57 pm
  • A colleague has been running tests of reportlab under jython-2.1 several of the tests use prodigious amounts of memory (one even failed). We're using win2k+j2sdk1.4.0_01 as the jython engine. Anyone ...
    Robin BeckerRobin Becker
    Sep 4, 2002 at 2:50 pm
    Sep 9, 2002 at 8:27 pm
  • I got a file with fields seperated by a "|". The problem is that there is also a "|" at the beginning and at the end of each line although there no fields in front or behind these "|". Now I want to ...
    Manuel HendelManuel Hendel
    Sep 11, 2002 at 10:58 am
    Sep 11, 2002 at 9:31 pm
  • Sorry if this is a Windows FAQ, I'm a newbie to Windows, but not to Python. If I double-click a Python script (or use the start command in the dos prompt) a new dos prompt window is opened and my ...
    JustJust
    Sep 9, 2002 at 3:06 pm
    Sep 11, 2002 at 12:48 pm
  • I have to print to a standard printer. I take the data from the keyboard and print it using the printer. Please help me....my job depends on this!!!! thanks naveed
    Naveed IqbalNaveed Iqbal
    Sep 4, 2002 at 6:44 pm
    Sep 11, 2002 at 9:42 am
  • On the advice of several of you here, I installed spam assassin, and had a pleasant six months of nearly spam free mail. Thank you, each and every one of you who recommmended it. Alas, the spammers ...
    Laura CreightonLaura Creighton
    Sep 26, 2002 at 2:07 pm
    Oct 16, 2002 at 4:57 am
  • I'm using python 2.2.1 on winnt. If I want to run python interactively (and perhaps using ipython), is there something better than the "cmd" terminal? I'm used to bash on linux at home, but I'd like ...
    Stephen BouletStephen Boulet
    Sep 27, 2002 at 7:23 pm
    Oct 13, 2002 at 10:40 pm
  • Hello, I'm trying to write a DBI2 compliant module for Microsoft Access databases. Now I'm not quite sure how to interpret the DBI2 specification when it comes to the execution of multiple data ...
    Henrik WeberHenrik Weber
    Sep 27, 2002 at 9:37 am
    Oct 10, 2002 at 10:26 am
  • Hi, in the firm I am working we have a big Python project. Four developers are working on it for over a half year now, and it has grown really big. Nevertheless, due to the Python syntax, and its ...
    Ulli SteinUlli Stein
    Sep 26, 2002 at 8:52 am
    Oct 7, 2002 at 4:57 pm
  • I'll be giving a presentation on Python to my local LUG (http://lugoj.org) in a few weeks, and would like to point out at least a few things that would be of particular interest to linux users. The ...
    Rob AndrewsRob Andrews
    Sep 18, 2002 at 8:38 pm
    Oct 5, 2002 at 1:44 am
  • Sadly, it seems like the excellent editor Pepper is going away. (See <http://www.hekkelman.com .) I found it the best editor for Python on the Macintosh, having never been really happy with the ...
    Paul-Michael AgapowPaul-Michael Agapow
    Sep 28, 2002 at 11:19 am
    Oct 4, 2002 at 9:48 am
Group Navigation
period‹ prev | Sep 2002 | next ›
Group Overview
grouppython-list @
categoriespython
discussions881
posts4,172
users961
websitepython.org

961 users for September 2002

Alex Martelli: 130 posts Martin v. Loewis: 87 posts Peter Hansen: 80 posts Martin v. Löwis: 79 posts Mark McEahern: 76 posts Steve Holden: 65 posts Gerhard Häring: 64 posts Terry Reedy: 61 posts Erik Max Francis: 53 posts Bengt Richter: 50 posts Greg Ewing: 43 posts Robert Oschler: 43 posts Gerhard Häring: 41 posts James J. Besemer: 39 posts Skip Montanaro: 38 posts Duncan Booth: 35 posts Sismex01: 35 posts ґРЬшРЭ і.: 34 posts Dennis Lee Bieber: 32 posts David LeBlanc: 31 posts
show more
Archives