Search Discussions

621 discussions - 2,643 posts

  • I'm a python newbie.. but I like Python better than Perl (no ugly @$#@.. in syntax). Python does have one quirk: no end if or end loops if x == 10: print 'x is 10' print 'Hello world' # easy to get ...
    Jan 18, 2000 at 1:32 am
    Mar 1, 2000 at 7:52 pm
  • Let's see how many languages I have run into that make whitespace and/or tabs important: 1. Makefiles: I once had a problem where a rule had a space where one was not allowed, at the end of a line, ...
    Warren PostmaWarren Postma
    Jan 24, 2000 at 3:07 am
    Feb 1, 2000 at 2:10 pm
  • Hi all, Maybe someone (like PSA member) would like to submit this (below) as an entry to the To-Do list (in minor language design section)? -------------------------------- New operators: 1) 'eq' ...
    Evguenii SmogailovEvguenii Smogailov
    Jan 19, 2000 at 8:37 pm
    Jan 25, 2000 at 1:26 pm
  • Does anybody have a copy of Python/Imagemagick or pymagick or a working link? -- Piet van Oostrum <piet at cs.uu.nl URL: http://www.cs.uu.nl/~piet [PGP] Private email: Piet.van.Oostrum at gironet.nl
    Piet van OostrumPiet van Oostrum
    Jan 29, 2000 at 4:39 pm
    Feb 11, 2000 at 8:51 pm
  • Is there a (webbrowser) plugin for executing Python scripts? I'm having a lot of problem with Java, and I am seeking alternatives. Miklos Nemeth
    Nemeth MiklosNemeth Miklos
    Jan 5, 2000 at 9:39 pm
    Jan 21, 2000 at 11:13 pm
  • Hi I'm new to Python but not to programming. I currently have: Programming Python (Nutshell Handbook) by Mark Lutz But I find it a little too heavy for my liking. I'm now thinking of getting either ...
    Jan 5, 2000 at 6:39 pm
    Feb 10, 2000 at 1:39 am
  • Hi there, recently I was heavily wondering why __init__ does not allow return values ! Is there any special reason not to do this ? For example consider this C_singleton = None class C: def ...
    Helge HessHelge Hess
    Jan 6, 2000 at 5:24 pm
    Jan 12, 2000 at 7:21 am
  • Markus Stenberg and Bernhard Herzog consider the two-namespace rule to be a deficiency in python, and think it would be `simpler' to use `lexical scoping'. The Tim has given an excellent and erudite ...
    Edward WelbourneEdward Welbourne
    Jan 20, 2000 at 2:39 pm
    Jan 30, 2000 at 1:45 am
  • I have been thinking about the namespace types. That's modules, packages, classes and instances. I believe they could profitably be united into *one* type. Along the way, I see some constructive ...
    Edward WelbourneEdward Welbourne
    Jan 17, 2000 at 12:15 am
    Jan 23, 2000 at 2:48 am
  • Thinking about the notion of case sensitivity as a barrier to CP4E, as advocated quite glibly at IPC8, I typed up this module on the plane to explore the consequences of allowing/encouraging users to ...
    Tres SeaverTres Seaver
    Jan 29, 2000 at 3:26 am
    Feb 6, 2000 at 10:46 pm
  • I write a CGI useing Perl to modify passwd,set the CGI mod to 4755,and it really do. But When I change it into Python with the same function,set mod to 4755,but it not use the Setuid bit. Someone ...
    Jan 31, 2000 at 12:48 am
    Feb 3, 2000 at 5:31 pm
  • Under NT, it seems that starting up python to process even a trivial script is pretty slow. With the following python program, helloworld.py: print "Hello World" it takes a second or more for "python ...
    Jason TaylorJason Taylor
    Jan 26, 2000 at 1:45 am
    Feb 2, 2000 at 1:40 am
  • [This is a repost, since the original apparently never made it; if you see it twice, my apologies.] I'd like to announce the existence of Multimethod.py, a package that implements real (eg, ...
    Neel KrishnaswamiNeel Krishnaswami
    Jan 8, 2000 at 12:54 am
    Jan 17, 2000 at 8:25 pm
  • Just wondered if anyone had a simple and elegant little snippet that returns the cartesian products of two lists... for-loops and append is a simple solution, but not very "cool" ;) I have a *nearly* ...
    Magnus L. HetlandMagnus L. Hetland
    Jan 4, 2000 at 10:56 pm
    Jan 6, 2000 at 6:27 pm
  • "Why should I care about this, isn't my Python fine"? If you know what Generators, Coroutines and Continuations are about and want to have them at your fingertips, this is the real thing for you. If ...
    Christian TismerChristian Tismer
    Jan 24, 2000 at 5:43 am
    Feb 4, 2000 at 7:56 pm
  • Say I want to make a function that returns a new _class_. I can do this: def NewClass(whatever): class new(baseClass): pass new.SomeAttribute = whatever.whatever return new and it seems to do the ...
    David C. UllrichDavid C. Ullrich
    Jan 29, 2000 at 3:40 pm
    Feb 1, 2000 at 9:33 pm
  • Seems like many web host providers, such as MindSpring, offer CGI with Perl, but not other languages, notably Python. Does anyone know who would host a CGI Python site? -Chuck
    Chuck EsterbrookChuck Esterbrook
    Jan 6, 2000 at 1:21 am
    Jan 9, 2000 at 5:33 pm
  • I'm running Red Hat Linux 5.2, kernel 2.0.36 with 128 MB of memory. "Python 1.5.2 (#2, Jun 13 1999, 17:00:15) [GCC] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam" ...
    Roey KatzRoey Katz
    Jan 22, 2000 at 2:28 am
    Jan 27, 2000 at 4:50 am
  • Hi everyone, I'd like to know if anyone has worked with MAPI using Python with the aid of either Mark Hammond's win32 extensions or Sam Rushing's calldll/dynwin package. Some sample code would also ...
    George Thom@sGeorge Thom@s
    Jan 13, 2000 at 4:53 am
    Jan 20, 2000 at 4:07 am
  • Hello, I am building a testing harness for the components in my company?s softswitch product. I chose Python for this project because the language and the libraries seemed very well suited for such a ...
    Jan 1, 2000 at 9:40 pm
    Jan 6, 2000 at 5:19 pm
  • Just a repost of the message, because I had no replies within a week. ------ I wrote a small script that uses input() to get the user input,get the values, make some calculation and return calculated ...
    Giovanni RiccardiGiovanni Riccardi
    Jan 17, 2000 at 6:05 am
    Jan 28, 2000 at 2:16 am
  • hi everone, does anyone have expiriences with using threads and winnt ? I started working with the built-in module "thread" using the function "start_new_thread" , which needs two parameters : a ...
    Kreiner KarlKreiner Karl
    Jan 16, 2000 at 3:16 pm
    Jan 26, 2000 at 7:54 am
  • Hi All, Where can I find the instructions for the DB API? I have managed to figure out the .connect() and .fetchone() methods but am flagging with the rest. The Python Database API Specification 2.0 ...
    Simon FaulknerSimon Faulkner
    Jan 2, 2000 at 10:15 am
    Jan 19, 2000 at 8:02 pm
  • One of the most exciting things for me about the 8th Int'l Python Conference in Washington last week was the growing number of books on Python. When I had to choose a language to use in a software ...
    Jan 30, 2000 at 8:17 pm
    Feb 5, 2000 at 2:15 am
  • Are multidimensional dictionaries possible in Python? I'm sure they're possible, but I can't figure out the syntax. Here's how I do it in Perl: %dict = (); # create empty dictionary ...
    Jerry GardnerJerry Gardner
    Jan 25, 2000 at 12:02 am
    Jan 31, 2000 at 4:44 pm
  • I saw the following on slashdot: GameSpy posted a six-page essay of Tim Sweeney's entitled "A Critical Look at Programming Languages." Tim Sweeney is, of course, the lead coder for the Unreal game ...
    Edward C. JonesEdward C. Jones
    Jan 26, 2000 at 4:51 am
    Jan 27, 2000 at 11:11 am
  • Hopefully, there's a simple answer to a problem I am having. I am using import to include a file, however, it looks like the module then has another namespace, which means it can't access some ...
    John NielsenJohn Nielsen
    Jan 6, 2000 at 4:23 am
    Jan 7, 2000 at 1:40 pm
  • Dear Pythoneers, Inspired by recent postings to this newsgroup I've decided that Python, and in particular the entire Python user base, has been going about things all wrong. I've decided I would ...
    Paul MPaul M
    Jan 19, 2000 at 9:54 pm
    Jan 22, 2000 at 7:23 am
  • If anyone is interested in this combination, I have an ArcView 3.x extension which embeds the Python interpreter within ArcView. The benefits are obvious: access to COM objects and Python modules, ...
    Bruce DodsonBruce Dodson
    Jan 12, 2000 at 12:02 am
    Jan 15, 2000 at 12:20 am
  • I want to start learning computer programming and from what I have found so far I have chosen to start with Python. I am going to be focusing on CGI first but eventually want to work with desktop ...
    Patrick CooperPatrick Cooper
    Jan 30, 2000 at 5:20 pm
    Feb 15, 2000 at 5:46 pm
  • I have mySQL running on a RH Linux 6.1 box, and have added the MySQLmodule.so to my python library. I can't figure out how to connect within python. My attempts look like: Traceback (innermost last): ...
    Jim CongerJim Conger
    Jan 30, 2000 at 5:34 am
    Feb 12, 2000 at 6:12 pm
  • Straight from the Effbot guide, but it fails when you try to add an element. Any idea what it doesn't like? Traceback (innermost last): File "<stdin ", line 1, in ? File ...
    Randall HopperRandall Hopper
    Jan 21, 2000 at 4:07 pm
    Feb 3, 2000 at 2:03 pm
  • Where can I find the lib reference in Unix man format? Forgive me if this has been asked before. Have been programming in Perl for years, I found those perlfunc/perlop/perlfaq are very convenient. ...
    Tao LuTao Lu
    Jan 27, 2000 at 3:48 pm
    Jan 31, 2000 at 11:25 pm
  • I have a program that does some numerical computation on a time dependent problem. I'd like for the program to create some graphics, updating it as it goes along, to visualise the results. Up to now ...
    Harald Hanche-OlsenHarald Hanche-Olsen
    Jan 23, 2000 at 6:42 pm
    Jan 25, 2000 at 7:34 am
  • Hi again, Right now I have an app that works ok, but I forsee a problem in the future. As you know, the results from a database query are returned in a tuple. I can access those results by position ...
    Timothy GrantTimothy Grant
    Jan 19, 2000 at 10:34 pm
    Jan 20, 2000 at 7:52 am
  • Hello all-- Is the following a bug? Traceback (innermost last): File "<stdin ", line 1, in ? File "<stdin ", line 1, in <lambda AttributeError: __getitem__ Meanwhile, map(lambda x: x[0],q) -- [0,1,2] ...
    Jan 12, 2000 at 12:06 am
    Jan 20, 2000 at 3:58 am
  • I know there is a way to force emacs to go into python mode even if the file doesn't end with .py by putting something at the top of the file. Can someone remind me of how to do that? Thanks, D. Sent ...
    Jan 13, 2000 at 3:34 pm
    Jan 14, 2000 at 10:14 pm
  • I just wrote a tiny Python program to do some text processing. When I ran it I was very surprised how long it took to finish. My first guess is that Perl would be a lot faster, maybe even a factor ...
    Jan 12, 2000 at 10:02 am
    Jan 14, 2000 at 3:09 pm
  • Hello: The ConfigParser class in the default Python libraries does not support comments given on the value lines, separated by a semicolon, such as: [Section] keyword = value ; put your comments here ...
    Jan 21, 2000 at 4:35 pm
    Feb 28, 2000 at 9:04 pm
  • Has anyone ever try to access MAPI within an NT Service? I have a script that send messages thru MAPI and works fine when run from the console. I made a NT service of it, and it still runs fine with: ...
    Michel OrengoMichel Orengo
    Jan 24, 2000 at 10:19 pm
    Feb 4, 2000 at 4:17 pm
  • ANNOUNCING: Stackless Python 1.0 A Python Implementation That Does Not Use The C Stack * plus the real toy * Continuation Module 0.6 Continuations as First Class Objects What is it? A ...
    Christian TismerChristian Tismer
    Jan 20, 2000 at 8:35 pm
    Feb 1, 2000 at 12:29 pm
  • Hello, I do see the point in nesting function definitions, namely as an alternative on places where one could use lambda. But what's the point in nesting class definitions? I know it's possible, but ...
    Gerrit HollGerrit Holl
    Jan 27, 2000 at 2:55 pm
    Feb 1, 2000 at 12:58 am
  • Hello good people! I am new to python and I understand that although it is a free-to-use language, it can be used to build commercial, propritary applications. Is this correct? Does it have a ...
    J DubalJ Dubal
    Jan 22, 2000 at 2:02 am
    Jan 26, 2000 at 1:55 am
  • Sorry to introduce a strange subject to this group. Please, no flames. In fact, it isn't really strange -- I woul like to know if someone evaluated the new script language REBOL. It looked very ...
    Jayr MagaveJayr Magave
    Jan 21, 2000 at 3:20 am
    Jan 25, 2000 at 2:34 pm
  • Hello, may I suggest this function for in the posix module: def getuser(): import pwd return pwd.getpwuid(getuid())[0] I don't know how this would be implemented on W/NT. regards, Gerrit. -- Please ...
    Gerrit HollGerrit Holl
    Jan 16, 2000 at 4:40 pm
    Jan 24, 2000 at 3:05 am
  • By searching the FAQ and Deja News, the last time I saw this mentioned was May 1999. Python 1.5.2, newest Windows Installer with Tcl/Tk 8.0.5, Windows 95b Well, now I have the problem: tk.mainloop() ...
    Jan 17, 2000 at 12:00 pm
    Jan 20, 2000 at 6:11 am
  • Is there a python module available to access MS SQL (Microsoft SQL server) My client really wants to use this over mySQL. (Which I know there is a module for) Dave
    Dave CinegeDave Cinege
    Jan 17, 2000 at 6:12 pm
    Jan 19, 2000 at 5:24 pm
  • I'm planning to prototype in Python a bunch of bridge-related functionality, including selective dealing. In selective dealing, the program must repeatedly generate random deals, and apply on each ...
    Alex MartelliAlex Martelli
    Jan 5, 2000 at 11:16 pm
    Jan 8, 2000 at 3:24 am
  • I have a relatively simple XML question, but I can't seem to figure out how to do it simply and easily with the xmllib module. Assume I have some XML (stylized below): <Newsgroup <comp.lang.python ...
    Jan 6, 2000 at 5:19 am
    Jan 7, 2000 at 8:49 pm
  • Hello, With tuples, some things aren't really Pythonic. In some cases, even the Perl-like TMTOWTDI thing is true! a = {} a[1,2] = 'f' is equivalent to: a = {} a=[(1,2)] = 'f' And: "aaa %s bbb" % ...
    Gerrit HollGerrit Holl
    Jan 26, 2000 at 9:16 pm
    Feb 11, 2000 at 1:50 pm
Group Navigation
period‹ prev | Jan 2000 | next ›
Group Overview
grouppython-list @

730 users for January 2000

Aahz Maruch: 77 posts Tim Peters: 77 posts Gerrit Holl: 72 posts Fredrik Lundh: 55 posts Gordon McMillan: 55 posts Skip Montanaro: 42 posts Vivek: 39 posts Robin Becker: 36 posts Timothy Grant: 29 posts Darrell: 28 posts Ivan Van Laningham: 28 posts Adrian Eyre: 27 posts Randall Hopper: 26 posts François Pinard: 24 posts Samuel A. Falvo II: 23 posts Thomas Wouters: 23 posts Justin Sheehy: 22 posts Martijn Faassen: 20 posts Martin von Loewis: 20 posts Matt Gushee: 20 posts
show more