FAQ

Search Discussions

441 discussions - 1,890 posts

  • In general, the only thing I've found annoying about Python are the scoping rules: .. def fact_iter(n,result): .. if not n: return result .. else: fact_iter(n-1,n*result) .. return fact_iter(n,1) .. ...
    Brad KnotwellBrad Knotwell
    Nov 24, 1999 at 3:43 am
    Dec 20, 1999 at 10:02 am
  • 1) Is there a convention for what __str__ and __repr__ should return for classes? 2) Or, whatever they return, should they return the same value? 3) If so, why have both in the language? Searching ...
    Randall HopperRandall Hopper
    Nov 1, 1999 at 5:17 pm
    Nov 18, 1999 at 11:03 am
  • Hello all, I'm starting a non-profit organization dedicated to promoting computer literacy in low-income youth (ages 12-18). The curriculum will include an introduction to programming using either ...
    Aaron GinnAaron Ginn
    Nov 11, 1999 at 9:12 pm
    Nov 19, 1999 at 2:18 pm
  • One of the main problems I've had with understanding Python's depth is finding information and modules. c.l.py.announce is a good way to keep track of new things but once that info scrolls from the ...
    Jules AllenJules Allen
    Nov 14, 1999 at 4:22 pm
    Nov 29, 1999 at 10:28 pm
  • You might want to take a look at MS' SOAP (Simple Object Access Protocol) spec - it's not fully baked yet, but it basically takes xml-rpc several steps further, allowing you to communicate with ...
    Brian LloydBrian Lloyd
    Nov 30, 1999 at 2:33 pm
    Dec 14, 1999 at 5:29 pm
  • Hello, I have never used Python, but I'm currently attempting to persuade a department at my university (Geroge Washington) to use Python as an intro language. I have read that it was good for this. ...
    William AhernWilliam Ahern
    Nov 5, 1999 at 10:26 pm
    Dec 23, 1999 at 11:13 pm
  • Hi all, I'm using some simple functions to implement crude precondition, postcondition and invariant checking in Python classes. (Tim: please be gentle ;-) Is there some neat way to wrap these tests ...
    Stuart HungerfordStuart Hungerford
    Nov 1, 1999 at 10:50 am
    Nov 15, 1999 at 10:34 pm
  • Is there any function or module available for parsing ASCII delimited files, before I go and re-invent the wheel writing my own. BTW, I know it is simple to do, but I was thinking along the lines ...
    Roger IrwinRoger Irwin
    Nov 10, 1999 at 10:55 am
    Nov 16, 1999 at 4:24 am
  • Hi! Is there a function or method in the standard language that can non-destructively return a list without a specified element? Would it be possible to add it as a method to lists? i.e: # pseudocode ...
    Magnus L. HetlandMagnus L. Hetland
    Nov 16, 1999 at 12:03 am
    Nov 17, 1999 at 6:07 pm
  • Not me! Uunlees-iit-meens-yoo-juust-haav-too-wrijt-aal-yoor-voowls-twijce, Greg
    Greg EwingGreg Ewing
    Nov 24, 1999 at 10:36 am
    Aug 26, 2002 at 2:21 pm
  • Hi, I thought I understood the difference between the '==' and 'is' operators, but just found an exception to the rule. Couldn't find an explanation in the FAQs. I understand the following: 1 Why ...
    Andy FoxAndy Fox
    Nov 12, 1999 at 3:04 pm
    Dec 1, 1999 at 10:34 pm
  • Hello, Does anyone know of Python code for drawing graphs of the graph-theoretic type? Ideally, I'd like to be able to interactively add nodes and edges etc and add data to structures associated with ...
    R.M.EversonR.M.Everson
    Nov 2, 1999 at 2:25 pm
    Nov 16, 1999 at 1:45 pm
  • Is anyone using XPython around here? I need help, or at least links to examples (I haven't found any but the ones within the package) Thanks. Emmanuel
    Emmanuel PietrigaEmmanuel Pietriga
    Nov 26, 1999 at 9:30 am
    Dec 2, 1999 at 7:16 am
  • Hello, I have encountered a weird problem a few times in the past months. I'm testing COM server (written here) with Python, and it seems that there is something wrong in the code that optimizes the ...
    Gaetan CorneauGaetan Corneau
    Nov 10, 1999 at 2:31 pm
    Nov 28, 1999 at 11:55 pm
  • Hi, After I spent most of my weekend trying to get Berkley DB to work with Python on my Linux ( Suse 6.1) machine, I`ve now given up completly. I`ve tried to install DB.1.85. and DB.2.7.7, neither ...
    Thomas WeholtThomas Weholt
    Nov 1, 1999 at 9:33 am
    Nov 11, 1999 at 3:56 am
  • Has anyone ever built a version of Python that didn't include tuples, and looked at the performance of code that consistently used lists instead? I'm curious as to whether the use of tuples (which I ...
    Greg WilsonGreg Wilson
    Nov 29, 1999 at 4:29 pm
    Dec 2, 1999 at 1:12 pm
  • I'm evaluating Python and Visual Basic 6.0 as my possible tools for developing a few win32 utilities for my work and I'm realizing a few interesting facts: 1) Both these languages can be used as a ...
    Alessandro BottoniAlessandro Bottoni
    Nov 2, 1999 at 9:25 am
    Nov 7, 1999 at 10:04 pm
  • Hi, Can one access the order in which keyword arguments were passed to a function? I want to call a function with the keyword syntax: f( foo='theFooString', bar='theBarString' ) and use the fact that ...
    Andres CorradaAndres Corrada
    Nov 21, 1999 at 6:33 am
    Dec 22, 1999 at 4:32 am
  • Can anyone give me an idea how to quikly get the version info on .dll and .exe files under windows? Sent via Deja.com http://www.deja.com/ Before you buy.
    EmullerEmuller
    Nov 8, 1999 at 4:22 pm
    Nov 14, 1999 at 1:14 am
  • I'm confused: are we pythoneers or pythonistas? I tend to go for pythoneers... sounds more pythonic. Or are these two levels of experience? If so, what's higher? Confused, Bye, J PS: Of courthe, my ...
    Juergen A. ErhardJuergen A. Erhard
    Nov 7, 1999 at 9:28 pm
    Nov 9, 1999 at 1:38 pm
  • Hello, I'm interested to know who out there is interested in working on a type-inference based static type checker (i.e. LINT) for Python. I've read various snippits about static type extensions, and ...
    David JeskeDavid Jeske
    Nov 22, 1999 at 2:00 am
    Dec 12, 1999 at 4:53 am
  • Just found two bugs: - os.environ and shelve does not conform to the Mapping Type interface (2.1.6) (and in case you were wondering, I'm not interested in workarounds, but rather not having to ...
    Bjorn PettersenBjorn Pettersen
    Nov 29, 1999 at 5:00 pm
    Nov 30, 1999 at 10:56 am
  • Hi! I'm trying the following unsing Python-1.5.2 on Solaris 2.6: ... snip ... program = popen2.Popen3(commandline, self.true, buffersize) # start program with 64k Buffer stdin = program.tochild ...
    Ralf HildebrandtRalf Hildebrandt
    Nov 26, 1999 at 2:19 pm
    Nov 29, 1999 at 2:42 pm
  • Sorry, I know this has to be a FAQ in another newsgroup somewhere since this is really a Windows/DOS type question that I would think is really common. I'm trying to convert a script I wrote in Tcl ...
    MaytagrepairmanMaytagrepairman
    Nov 15, 1999 at 8:42 pm
    Nov 18, 1999 at 1:21 am
  • I've read numerous threads regarding how to deploy Python on the web and there appears to be no real consensus on what actually performs/scales well (about 3M hits/month). Is anybody taking lots of ...
    Dirk LeasDirk Leas
    Nov 8, 1999 at 9:32 am
    Nov 15, 1999 at 8:22 pm
  • I've tried to find out the "OK" indentation settings for python with vi, and a troll through deja-news found some hints (like don't do indent = 4). Yet I seem to also remember some advice to the ...
    Chris WRIGHTChris WRIGHT
    Nov 30, 1999 at 11:19 pm
    Dec 1, 1999 at 10:48 pm
  • Is there an ssh lib for Python. Or anything similar. I'm looking for something more secure than telnet. Any ideas? Write my own? John Leach http://www.bosware.com.au
    John LeachJohn Leach
    Nov 30, 1999 at 4:37 am
    Dec 1, 1999 at 9:36 pm
  • Is there a function in the standard Python library to HTML-ize text, i.e. to replace 'a b & c < d' with 'a b &amp; c &lt; d'? (I realize this can be done with regular expressions, but is there an ...
    Phil HuntPhil Hunt
    Nov 29, 1999 at 9:03 pm
    Nov 30, 1999 at 5:00 pm
  • Hi, DISLIN (http://www.linmpi.mpg.de/dislin/) is a powerful visualization package available on quite a lot of platforms, aimed at scientists. DISLIN is "ported" to Python as well. I want to report ...
    Ionel SimionescuIonel Simionescu
    Nov 16, 1999 at 4:23 pm
    Nov 22, 1999 at 7:34 pm
  • Hello, I have noticed for the local docs of python in IE5 on winnt pages randomly donot get rendered but are left as raw html in browser as I go back and forth using browser buttons. has any one ...
    MehtaMehta
    Nov 11, 1999 at 4:08 pm
    Nov 17, 1999 at 2:49 pm
  • can we get an automatic subject header : "[Python]" to ALL messages submitted to the list , including replies and newsgroup threads ? thank you, ben_
    Benoit CiceronBenoit Ciceron
    Nov 8, 1999 at 11:13 pm
    Nov 15, 1999 at 3:10 pm
  • Geez, you peoples, quit sniping on the folks posting their little modules lately (if i may snipe at you to say)! So the unix old-timers <wink know a billion and one ways to convert Dos to Unix text ...
    G. LewisG. Lewis
    Nov 1, 1999 at 3:58 am
    Nov 2, 1999 at 9:42 pm
  • Hi, I tried today the random number generator in python and have the following question: Shouldn't the following 3 lines produce the same number? 0.39613674715 0.170188890936 0.831213988577 I am used ...
    Stelios KyriacouStelios Kyriacou
    Nov 23, 1999 at 8:39 pm
    Dec 17, 1999 at 8:36 am
  • here's a few: zlib.crc32 (32-bit checksum) zlib.adler32 (32-bit checksum) md5 (128-bit digest) sha (160-bit digest) see the library reference (or the eff-bot guide) for more info. </F <!-- (the ...
    Fredrik LundhFredrik Lundh
    Nov 22, 1999 at 3:21 pm
    Nov 26, 1999 at 1:53 pm
  • Back to the subject at hand (Python in the DSP universe) has anyone investigated the possibility of conversion, compilation or whatever of MatLab to Python? I'm naive WRT to both at this point ...
    Robert CainRobert Cain
    Nov 6, 1999 at 9:34 pm
    Nov 15, 1999 at 11:16 pm
  • Does python have a module that would allow a person to write scripts on NT Server to lets say: create users, map drives, modify registry, create shares, and so on. thanks, Geoff Nordli
    Geoff nordliGeoff nordli
    Nov 13, 1999 at 10:00 pm
    Nov 15, 1999 at 4:35 am
  • As many of you know, on Wednesday November 3, Tim Berners-Lee sent the XHTML 1.0 Proposed Recommendation back to the HTML Working Group for further consideration regarding namespaces. This ...
    Patrick PhalenPatrick Phalen
    Nov 6, 1999 at 9:12 pm
    Nov 14, 1999 at 11:06 am
  • Hello, Does there exist an intelligent strptime? "26/11/99", for example, can _only_ mean the 26th November of this year, and the chance that "14:11:12" means 14 november 1912 is very small. Is there ...
    Gerrit HollGerrit Holl
    Nov 10, 1999 at 4:12 pm
    Nov 12, 1999 at 2:30 pm
  • Hello. Is it possible to return booelan from functions other than return 1==1 for true or return 1==2 for false? //Anders Olme Sent via Deja.com http://www.deja.com/ Before you buy.
    A_olmeA_olme
    Nov 4, 1999 at 11:22 am
    Nov 5, 1999 at 3:51 pm
  • I'm working in WinNT with VIM (good tool) and wanted to write some handy filters in python to help me with routine editing chores. I run my python command at the command line and get the output I ...
    Tim OttingerTim Ottinger
    Nov 30, 1999 at 1:21 pm
    Dec 1, 1999 at 8:40 pm
  • I know this sort of thing has been talked about before, but I'm looking for some information on techniques for self-testing pyhon code (something I should have been doing before, but only now am I ...
    Quinn DunkanQuinn Dunkan
    Nov 26, 1999 at 10:54 pm
    Dec 1, 1999 at 6:29 pm
  • Hi there ! I'm developping an IRC like software which must work on the Web. I can't use Java, and I'm using Python to program the CGI. But, I have a big problem : I don't know how to make the stdout ...
    LeonLeon
    Nov 29, 1999 at 2:17 pm
    Nov 29, 1999 at 9:28 pm
  • It really depends. Zope, when used with ZServer, is good at removing most of the hassles associated with setting things up to work with the CGI mechanisms of the average Web server, and provides a ...
    Paul BoddiePaul Boddie
    Nov 18, 1999 at 2:41 pm
    Nov 29, 1999 at 6:44 pm
  • Hi All, I'm trying to do something like the following: a=4.0 b=2.0 print '2(%3.1f)' % a,b where I really mean print '%3.1f %3.1f' % a,b but it's printing 2(4.0) 2.0 Is there a way of doing this so I ...
    Matthew HirschMatthew Hirsch
    Nov 2, 1999 at 3:18 pm
    Nov 24, 1999 at 5:17 am
  • Does anyone know the "approved" way to get rid of the following message: Could not find platform dependent libraries <exec_prefix Consider setting $PYTHONHOME to <prefix [:<exec_prefix ] 'import ...
    Curtis, Craig M.Curtis, Craig M.
    Nov 18, 1999 at 11:24 pm
    Nov 22, 1999 at 9:23 pm
  • Hello All, I have done some benchmark testing to see the difference in speed between plotting multi point lines using Tkinter and wxPython. I have looked at 3 different methods for doing it in Tk and ...
    Gordon WilliamsGordon Williams
    Nov 15, 1999 at 8:22 pm
    Nov 17, 1999 at 1:58 pm
  • Overriding methods of a base class is a little clunky in Python. You need to explicitly name the base class that implements the method, and you call its as an unbound method, passing self as the ...
    Jeremy HyltonJeremy Hylton
    Nov 11, 1999 at 4:51 pm
    Nov 15, 1999 at 8:21 pm
  • Does anyone know where some good info on Python's smtplib? I have looked at http://wwww.python.org but I was wondering if there was any more info out there. Any help would be appreciated. Glenn
    Glenn KiddGlenn Kidd
    Nov 16, 1999 at 1:47 pm
    Nov 30, 1999 at 5:10 am
  • Hello All, Is there a way to reset Pythonwin IDE between runs. I want to eliminate any rogue objects or modules that are still in memory from the previous run of the program. Thanks Gordon Williams
    Gordon WilliamsGordon Williams
    Nov 27, 1999 at 1:59 pm
    Nov 30, 1999 at 4:56 am
  • Is there a way you can define your python class to be final or not able to be inherited from?
    ArinteArinte
    Nov 16, 1999 at 7:24 pm
    Nov 17, 1999 at 3:22 pm
Group Navigation
period‹ prev | Nov 1999 | next ›
Group Overview
grouppython-list @
categoriespython
discussions441
posts1,890
users569
websitepython.org

569 users for November 1999

Fredrik Lundh: 69 posts Gordon McMillan: 51 posts Adrian Eyre: 42 posts Michael Hudson: 41 posts Mark Hammond: 39 posts Fred L. Drake, Jr.: 34 posts Gerrit Holl: 33 posts Greg Ewing: 29 posts Ivan Van Laningham: 27 posts Oleg Broytmann: 27 posts Tim Peters: 27 posts Aahz Maruch: 25 posts Randall Hopper: 25 posts Magnus L. Hetland: 23 posts François Pinard: 21 posts Thomas A. Bryan: 20 posts Martijn Faassen: 19 posts Ionel Simionescu: 18 posts Skip Montanaro: 18 posts Gaetan Corneau: 17 posts
show more
Archives