Search Discussions

847 discussions - 4,245 posts

  • Hi! (apologies in advance as to the applicability of this message to such a general group) I checked out the TYPE-SIG material.. It's really interesting. I agree that grammars which take into account ...
    Roy KatzRoy Katz
    May 18, 2000 at 6:53 pm
    Apr 7, 2001 at 8:32 pm
  • BTW, for those who are interested, but don't have the time to look, here is the actual behavior: #define ROUNDUP(n, PyTryBlock) \ ((((n)+(PyTryBlock)-1)/(PyTryBlock))*(PyTryBlock)) static int ...
    May 16, 2000 at 5:47 am
    Jun 1, 2000 at 7:28 am
  • Hi, I would just like to know how serious python is taken in the IT industry and how it compares to something like Java. For example If a web applicatoin was written in both Java and Python, which ...
    Huy DoHuy Do
    May 15, 2000 at 5:04 am
    May 28, 2000 at 9:48 pm
  • If we do allow typing in a future version of Python, perhaps we should also allow function overloading. This would permit having several, for example, __init__ functions, each taking different ...
    Steven D. ArnoldSteven D. Arnold
    May 23, 2000 at 5:24 am
    May 4, 2001 at 9:20 pm
  • To all Python users and developers: Python is growing rapidly. In order to take it to the next level, I've moved with my core development group to a new employer, BeOpen.com. BeOpen.com is a startup ...
    Guido van RossumGuido van Rossum
    May 30, 2000 at 7:05 pm
    Jun 15, 2000 at 5:22 pm
  • Hi everybody, I like to announce that the Python4Linux effort I started finally needs a new maintainer, who has the time and passion to push the project. Chad Netzer and I don't have the time. I ...
    Oliver AndrichOliver Andrich
    May 7, 2000 at 5:35 pm
    May 15, 2000 at 2:45 am
  • Ok, here are some ideas for the new language... The evolution of languages started first with load/store primative operations for the CPU. This led to assembly which was basically a labeling system ...
    May 12, 2000 at 2:41 pm
    Apr 9, 2001 at 7:23 am
  • Does anyone have the text for the standard Python license for distributing Python language source? NOT for Python itself, but for source written to be run BY Python. TIA -- Frank V. Castellucci
    Frank V. CastellucciFrank V. Castellucci
    May 4, 2000 at 2:58 pm
    May 12, 2000 at 12:47 pm
  • While all the oldtimers here already know this, I thought I might share something really cool with some of my newbie peers.... :) 'fred, barney, wilma, betty' Check that out. Do you know what a royal ...
    May 11, 2000 at 5:02 am
    May 29, 2000 at 10:45 am
  • Okay, so I was using the sort method on a list of integers. And I wondered how the *list* knows how to sort both a list of integers and a list of strings. The answer (okay we all know that): it ...
    Juergen A. ErhardJuergen A. Erhard
    May 28, 2000 at 3:24 pm
    Jun 9, 2000 at 10:31 am
  • .... etc..and it worked.. This was rather surprising to me :) Dunno why, but I expected I would have to write -- if Case is not 0 or Case is not 1: Or: -- if Case != 1 or Case != 0 Okay, there's ...
    Stephen HansenStephen Hansen
    May 30, 2000 at 7:19 am
    Jun 2, 2000 at 1:57 pm
  • Be forwarned, I have a particularly strong hate-on for hungarian notation. I think it is no coincidence that the worst software in the world and the worst programming conventions come out of the same ...
    May 4, 2000 at 8:41 am
    May 18, 2000 at 3:46 pm
  • In some instances, case sensitive languages are exploited: 1. Case can add semantic information to the names of classes, functions, and instances. An example: You might capitalize the first letter of ...
    Edward S. VinyardEdward S. Vinyard
    May 24, 2000 at 5:09 pm
    Jun 6, 2000 at 10:20 pm
  • Hi all, I've come up with one solution to my problem. Its probably quite inefficient, but it does what I need for now. Feel free to tear it apart and/or give any advice on how to better implement it. ...
    May 16, 2000 at 9:51 pm
    May 27, 2000 at 11:09 am
  • A C-native bidirectionally linked list (deque) was tested versus the performance of native python lists as a LIFO. Items were appended to the end of each data structure, but always removed from the ...
    May 30, 2000 at 4:46 am
    Jun 4, 2000 at 11:07 pm
  • "Everybody's always talking about the weather, but nobody seems to do anything about it." So I wanted to see how hard it would be to make Python's error messages friendlier to case-insensitive ...
    Nick MathewsonNick Mathewson
    May 23, 2000 at 5:18 pm
    May 28, 2000 at 4:57 am
  • I thought about this for a while, and my suspicion is that the first negative reaction that people have against case insensitivity is probably the instinctive (and false) idea that everyone would be ...
    May 20, 2000 at 3:52 am
    May 25, 2000 at 12:51 am
  • I will be giving a short course on Python to my research group (computational chemistry and materials science). I would like to raise the average level of programming ability in our group, so that ...
    Richard P. MullerRichard P. Muller
    May 1, 2000 at 10:39 pm
    May 12, 2000 at 9:30 am
  • Can anyone tell me why Python uses 'j' instead of 'i' for imaginary numbers? I know this is really minor, but every bloody time I use complex numbers I forget and type i's, and have to go back and ...
    Jeff PetkauJeff Petkau
    May 13, 2000 at 6:19 am
    May 27, 2000 at 6:39 pm
  • Hi, people. I would have vaguely hoped that len(3) or len(3L) gives me the number of bits taken by the integer 3, but that function is not available over integers. The closest thing I found is ...
    François PinardFrançois Pinard
    May 17, 2000 at 5:16 pm
    May 22, 2000 at 12:50 am
  • I need to write a command line script in Python that needs to know the width of the terminal in characters. I've looked through several modules and haven't yet found what I'm looking for. Does anyone ...
    Craig P McDanielCraig P McDaniel
    May 2, 2000 at 11:44 pm
    May 5, 2000 at 10:17 pm
  • I like the look-and-feel of the gtk-based balsa emailer. But it has classic C-based crashes in the current pre-release. I was wondering if anyone knows of a python-based rendition? A lot of ...
    Harry GeorgeHarry George
    May 7, 2000 at 6:43 pm
    May 31, 2000 at 7:13 pm
  • This isn't really intended to launch into Yet Another Indentation Threat, but I have one plausible argument in favor of some form of block marking: When a newsreader, browser, or mail program trashes ...
    May 25, 2000 at 6:12 pm
    May 29, 2000 at 8:39 pm
  • Hi I have implemented loop in Python for k in xrange(1,100000000): pass and the same one in C for ( i = 0 ; i < 1e8; i++ ) ; and the second one seems to be working hundreds of times faster than the ...
    May 27, 2000 at 8:08 am
    Jun 1, 2000 at 4:35 am
  • How would you rewrite the following code, in good python style ? list1 = [ 1,2,3,4,5,6 ] list2 = [ 6,5,4,3,2,1 ] count = 0 for item in list1: print item - list2[count] count = count + 1 In other ...
    Jacek GenerowiczJacek Generowicz
    May 10, 2000 at 7:50 am
    May 11, 2000 at 8:48 pm
  • Based on some recent code I have been writing I am courious on describing the following as 'syntactic sugar' a common operation is to a=a+1 which in C can be written as a+=1 in its simplest form I ...
    Eric HagemannEric Hagemann
    May 23, 2000 at 1:26 am
    Jun 3, 2000 at 5:25 am
  • I colleague the other day, who was familiar with various procedural languages said: "I want to learn OOP. Can you recommend a book (and language)?" Both of us are scientists, and my bias is Python in ...
    Nick BowerNick Bower
    May 25, 2000 at 5:27 am
    May 30, 2000 at 12:19 pm
  • How's this: 1. By definition: For python to be case insensitive, the token {A} must be the same as the token {a}. 2. Therefore: x.A = 1 is the same as: x.a = 1 where x is some kind of module or ...
    Michal Wallace (sabren)Michal Wallace (sabren)
    May 21, 2000 at 7:47 am
    May 30, 2000 at 8:47 pm
  • Over the last few weeks, I've taken to creating classes thusly: class MyClass i=0 f=3.1 s="str" ll=[] def __init__(...)... This has been an interesting experiment. While I was aware that class ...
    May 15, 2000 at 1:19 am
    May 20, 2000 at 10:55 am
  • So, I've been doing module level enums like this: ## My module VAL1=0 VAL2=1 VAL3=3 While this works, and gives me great namespace protection (individuals using my "enum" prefix it with the module ...
    May 8, 2000 at 1:27 am
    May 8, 2000 at 7:49 pm
  • I did a simple for loop and tested it, trying a variety of length loops. It took a bit of time to get this right, as for smaller loops, the test was biased by the relative high cost of function ...
    May 23, 2000 at 7:07 am
    May 27, 2000 at 9:48 pm
  • I thought I might waste some time by having a crack at implementing += and friends in Python. I think I know what I want to do on the codegen side, but at the moment that hurdle looks some way off. ...
    Michael HudsonMichael Hudson
    May 10, 2000 at 5:53 pm
    May 18, 2000 at 6:08 am
  • I went to Activestate http://www.activestate.com to see how their Python development efforts are coming along but couldn't find any Python news anywhere! In fact I had to dig for several minutes to ...
    Don TuttleDon Tuttle
    May 3, 2000 at 1:19 pm
    May 10, 2000 at 2:08 am
  • Hi there, In the other P language, the standard idiom is for $key (sort keys %d) { ... } # (1) The naive approach in Python would be for key in d.keys().sort(): pass # (2) However, this doesn't make ...
    Philip 'Yes, that's my address' NewtonPhilip 'Yes, that's my address' Newton
    May 25, 2000 at 4:20 am
    May 29, 2000 at 10:10 am
  • Hi, Does anyone know of a way to convert decimal numbers to a string representation of the fractional value? For example: 0.5 = "1/2" or 1.125 = "1 1/8" Thanks, Scott
    May 16, 2000 at 2:32 am
    May 23, 2000 at 1:31 am
  • I have to warn you. This is a bit wacky, and I have no illusion that any of this will go into Python. It's just some stuff that Python has inspired me to think about, mainly because Python exposes ...
    Amit PatelAmit Patel
    May 28, 2000 at 12:14 am
    May 31, 2000 at 4:21 am
  • I am considering writing a Python preproccesor, and I'm wondering if prior work has been done, and if there's any collective wisdom or thoughts on the concept. I realize that the preprocessor has to ...
    May 18, 2000 at 1:19 am
    May 25, 2000 at 4:53 pm
  • I first discovered Python from Leo Laporte on ZDTV. Just like what he said, the www.python.org web site says this: The Python implementation is portable: it runs on many brands of UNIX, on Windows, ...
    May 14, 2000 at 6:42 pm
    May 15, 2000 at 4:00 am
  • Hi Gang, I've been trying to figure out how to use HTMLParser. My immediate need is to extract the entire <BODY of a file. (I could do that with 're', but I'm trying to learn HTMLParser.) Sure, ...
    Grant GriffinGrant Griffin
    May 6, 2000 at 7:37 am
    May 10, 2000 at 8:31 pm
  • This post is meant to generate thoughtful discussion, not burn me to a crisp, so here it goes. I am a Windows programmer who uses mostly VB (I know how bad it is...I use it all the time). I love the ...
    Scott HathawayScott Hathaway
    May 4, 2000 at 12:23 pm
    May 9, 2000 at 8:28 pm
  • Hi all, Is there a rough number of elements in a list that python or a computer has trouble dealing with? I'm using a P233 with 64MB RAM. I have ~25000 elements in a list, and things seem to be ...
    Matthew HirschMatthew Hirsch
    May 2, 2000 at 3:17 pm
    May 3, 2000 at 11:33 pm
  • A while back I wrote a Python wrapper for OpenDX, complete with callbacks to Python and exceptions thrown across the DXL layer. Before I devote any time toward preping, packaging, and posting it, I ...
    Randall HopperRandall Hopper
    May 15, 2000 at 3:22 pm
    Jul 14, 2000 at 4:39 pm
  • Hi, people. Yesterday, I had to read long shell scripts and complex Makefiles. Python is really corrupting me, because more I work with Python, more I consider that complex shell code is hard to ...
    François PinardFrançois Pinard
    May 24, 2000 at 11:06 am
    May 30, 2000 at 2:08 pm
  • i've asked once before, but i'm still lost here. my top spies have informed me that pyopengl lives on the starship at http://starship.python.net:9673/crew/da this site has been inactive for too long ...
    Pete ShinnersPete Shinners
    May 20, 2000 at 6:58 am
    May 23, 2000 at 5:40 pm
  • I need a little checksum routine as part of a larger project. I've written the one below, which basically works, but it only produces a 32 bit checksum. I'd prefer a 64 bit checksum but don't know ...
    Dale Strickland-ClarkDale Strickland-Clark
    May 18, 2000 at 8:25 pm
    May 20, 2000 at 5:19 pm
  • 13


    Dear All, I'm going to start development of a gui based application shortly. I've played around with wxPython a bit but not much with Tkinter. What's the general consensus about the pros and cons of ...
    Richard ChamberlainRichard Chamberlain
    May 11, 2000 at 6:06 pm
    May 16, 2000 at 6:01 pm
  • I know there's a program out there that reads python source and spits out an HTML version with syntax highlighting. However, I don't remember where I saw it and my searching and skimming on Parnassus ...
    Chuck EsterbrookChuck Esterbrook
    May 1, 2000 at 1:30 pm
    May 12, 2000 at 10:55 pm
  • Hi, Has there been any work done to make Python take advantage of a full 64 bit environment? More specifically is anyone working on an Intel IA-64 port of Python? In particular if one were to change ...
    Shiv Shankar RamakrishnanShiv Shankar Ramakrishnan
    May 9, 2000 at 8:49 am
    May 10, 2000 at 4:53 am
  • I'm playing with a kind of generic record class that should keep a dictionary of fields and values besides a lot of housekeeping stuff. I want the fields also to be available using record.field ...
    Boudewijn RemptBoudewijn Rempt
    May 23, 2000 at 6:14 pm
    Jun 7, 2000 at 3:50 pm
  • Hello! In the urllib.py (Python 1.5.2) there is a class ftpwrapper. In line 610 of the module it has the call self.ftp.voidresp() (method endtransfer). This call hangs an almost all FTP URLs. To ...
    Oleg BroytmannOleg Broytmann
    May 12, 2000 at 11:54 am
    May 26, 2000 at 5:24 pm
Group Navigation
period‹ prev | May 2000 | next ›
Group Overview
grouppython-list @

897 users for May 2000

Courageous: 159 posts Fredrik Lundh: 122 posts Martijn Faassen: 98 posts François Pinard: 89 posts Michael Hudson: 83 posts Moshe Zadka: 67 posts Mark Hammond: 59 posts Thomas Wouters: 58 posts Tim Peters: 56 posts Emile van Sebille: 55 posts Aahz Maruch: 53 posts Oleg Broytmann: 45 posts tismer Kaun: 45 posts Alex: 43 posts Grant Griffin: 41 posts Glyph Lefkowitz: 36 posts Peter Schneider-Kamp: 33 posts Warren Postma: 33 posts Remco Gerlich: 32 posts Cameron Laird: 31 posts
show more