Search Discussions

813 discussions - 4,183 posts

  • What is a simple script that will tell me the version of python I am currently running? IIS 5.0 Windows 2000. -- George Hester _________________________________
    George HesterGeorge Hester
    Jun 15, 2002 at 10:23 pm
    Jun 21, 2002 at 9:49 am
  • A few weeks ago I complaint here that Python on Windows XP sucks. I had a problem which would took theoretically about 1.5 hours; but in reality it takes 6 hours on Windows XP and Python 2.2. After ...
    Siegfried GonziSiegfried Gonzi
    Jun 22, 2002 at 1:59 pm
    Jun 26, 2002 at 7:08 am
  • Hi, I'm fairly new to python, coming from a perl background, and was wondering if anyone has a list of things that they consider as good programming practice in Python (I thought this might be an ...
    Dianne van DulkenDianne van Dulken
    Jun 24, 2002 at 1:32 am
    Jun 27, 2002 at 1:18 pm
  • I'm looking for any state of art, optimizing techniques, tips, that a python beginner couldn't know by itself, but should learn and would be aware to write "efficient and good looking"python's ...
    Jun 6, 2002 at 6:40 pm
    Jul 4, 2002 at 3:14 pm
  • Hi, I am a relative newbie to Python. I have a reasonably good perl background (don't worry I am not about to start a language flame war :-), and one of the things I really miss is variable ...
    Ganesan RGanesan R
    Jun 20, 2002 at 3:20 am
    Jul 3, 2002 at 5:47 pm
  • 37


    I have been working on a project trying to implement some advanced functionality. Now, one thing that has been a constraint for me is the concept of self. Why is it that within a class one has to use ...
    Vojin JovanovicVojin Jovanovic
    Jun 4, 2002 at 4:15 pm
    Jun 10, 2002 at 4:49 pm
  • IMO the following is an odder behavior: ([1], [2], [3]) Traceback (most recent call last): File "<stdin ", line 1, in ? TypeError: object doesn't support item assignment ([1], [2, 3], [3]) Jeff
    Jun 1, 2002 at 2:03 pm
    Jun 6, 2002 at 12:20 am
  • .. there was something equivalent in scope and breadth to CPAN. More and more I find myself in positions where I can use pretty well whatever language I like, and I'm increasingly drawn to Python. ...
    David MitchellDavid Mitchell
    Jun 21, 2002 at 9:27 am
    Jul 2, 2002 at 8:00 am
  • Hi Gang, One of the things I like about Python is that it works as expected. However, I sometimes accidently expect it to allow one to use "in" to determine if one string is "in" another, e.g.: which ...
    Grant GriffinGrant Griffin
    Jun 12, 2002 at 9:12 pm
    Jun 18, 2002 at 12:11 am
  • Is there any possibility to build up a _real_ private attribute? Such as C++ private data members... I know that with double-underscore prefix (and the name mangling related) I can " hide " data ...
    Jun 29, 2002 at 3:39 pm
    Jul 8, 2002 at 11:48 pm
  • Hi folks- I've been using Python heavily on a Solaris box and a Mac for a few years now. For reasons I'll spare you from, I now am venturing into Windows territory (a Dell Inspiron 7500 laptop, if ...
    Tom LoredoTom Loredo
    Jun 19, 2002 at 10:53 pm
    Jun 25, 2002 at 2:40 am
  • Does such a thing exist? I've recently looked into the procmail sources and run away screaming. I'd very much prefer a Python replacement to such badly written C code. Does anything exist that I can ...
    Gerhard HäringGerhard Häring
    Jun 18, 2002 at 11:59 pm
    Jul 8, 2002 at 10:35 am
  • Will somebody have an idea, to represent the infinite one? I have variables to initialize with is +inf (or - inf). To be sure that later, all will be smaller (or larger) than my variables. I tried to ...
    Jun 20, 2002 at 3:02 pm
    Jul 5, 2002 at 12:32 am
  • "Angela Williams" <adwilliams76 at hotmail.com wrote in message news:3d10ed95 at xpl-sdf1-sec1.... There's no equivalent of a goto command in Python, for good reason, which I won't repeat here. Prof. ...
    John RothJohn Roth
    Jun 19, 2002 at 8:58 pm
    Jun 25, 2002 at 3:57 pm
  • E.g., if you were hoping for an improvement over current practice, which do you consider to be the tool(s) to beat, and what would the killer improvement(s) be? TIA. Regards, Bengt Richter
    Bengt RichterBengt Richter
    Jun 22, 2002 at 6:43 pm
    Jul 4, 2002 at 5:44 pm
  • I assume some sort of block i/o or preallocating a large block of file space would be the best way to do it? I am outputting about 700,000 records to a text file and my program only spits out about ...
    Jun 27, 2002 at 1:28 am
    Jul 1, 2002 at 3:27 pm
  • I had a huge list containing consuming data, as i only need a one pass in a for statement, i'm wondering if by doing this with a pop i could save memory ? (as i think that python free it after the ...
    Jun 2, 2002 at 9:44 am
    Jun 20, 2002 at 7:50 pm
  • "Syntax Error: invalid syntax" isn't very informative, yet it's tossed out frequently. HOW is the syntax invalid? For example: if s == ' ' David LeBlanc Seattle, WA USA
    David LeBlancDavid LeBlanc
    Jun 29, 2002 at 1:56 am
    Jul 2, 2002 at 7:44 pm
  • Dear All, I have seen the occasional post about creating a specific hardware 'Python Processor', that could then be built and used in programmable logic or the like (Valves, relays, core memory - ...
    Christopher SaunterChristopher Saunter
    Jun 26, 2002 at 10:29 am
    Jul 2, 2002 at 9:59 am
  • Anyone tell me how to skip the empty line when you read through the file and copy the information in to the list(no empty line )
    Jun 27, 2002 at 6:34 pm
    Jul 1, 2002 at 9:16 pm
  • Hi I'm using m2crypto 0.07 snapshot 3 with Python 2.2.1 and I'm experiencing weird behavior when using select(). Basically, it seems that a SSL socket is no longer in ready state when entering ...
    Irmen de JongIrmen de Jong
    Jun 10, 2002 at 6:16 pm
    Jul 1, 2002 at 2:21 pm
  • I just installed gcc 3.1 on my Solaris 8 machine and am trying to rebuild Python 2.2.1 Installation is running into some trouble: running build running build_ext building 'struct' extension creating ...
    Andrew KoenigAndrew Koenig
    Jun 7, 2002 at 4:24 pm
    Jun 9, 2002 at 7:48 pm
  • OK, I am the first to admit it. I am an idiot. I have RTFM on this over and over, and I can still not figure out what I am doing wrong. I think the intent of the code is obvious, but just to clarify, ...
    Jun 29, 2002 at 1:00 am
    Jul 4, 2002 at 11:02 am
  • Hi, I have to bind a C-library which does lots of low-level ioctl and uses c-callback functions. Using SWIG has given me the possibility to call most of the wrapped functions without too much hassle, ...
    Michael 'Mickey' LauerMichael 'Mickey' Lauer
    Jun 15, 2002 at 12:33 am
    Jun 19, 2002 at 6:42 pm
  • I'm not suggesting any real changes to any, only proposing a thought experiment. What if Python had been built from the start with strong types? And I mean strong types, not strong typing. The ...
    Don GarrettDon Garrett
    Jun 16, 2002 at 4:08 am
    Jun 19, 2002 at 10:12 pm
  • Hello, I am not exactly sure where to post this question -- the only reference that I could find for ZOPE in the Newsgroups is here. I appologize if this is not the correct place. I have the ...
    Hugh CowanHugh Cowan
    Jun 7, 2002 at 4:16 am
    Jun 22, 2002 at 10:04 pm
  • Hello! I want to have new python builtin - filter2. It is exactly like filter, but it returns also a list of items that didn't pass the test. Of course I can do it with just "for" loop: l1 = [] l2 = ...
    Oleg BroytmannOleg Broytmann
    Jun 13, 2002 at 1:33 pm
    Jun 17, 2002 at 12:59 am
  • Hi, I'm writing a program that integrates with a number of different OSes and Window Managers (under Linux), but I need to check what the user is running. I know that... import os if os.name == 'nt': ...
    Andrew WilkinsonAndrew Wilkinson
    Jun 5, 2002 at 6:53 pm
    Jun 14, 2002 at 5:36 am
  • How can I convert an array of chars to string? The problem is this: I should like to perform 8 bit calculations in a buffer. After this has been done, the buffer has to ba written to a binary file ...
    Jun 21, 2002 at 8:10 am
    Jul 9, 2002 at 1:38 am
  • Is there any way to do yielding easily in C? I have a bunch of programs which are normally connected together using unix pipes. I would like to merge them and the problem is then how to get them to ...
    Robin BeckerRobin Becker
    Jun 29, 2002 at 6:12 pm
    Jun 30, 2002 at 10:38 pm
  • Maybe this was already discussed, but I'd liked to raise this topic again. Python has superb OOProgramming support. Lets not dispute this for a moment. Now let's consider that we need to make ...
    Roman SuziRoman Suzi
    Jun 1, 2002 at 6:54 pm
    Jun 10, 2002 at 10:11 pm
  • They are more like what tend to be called vectors in other languages, in particular accessing an arbitrary element is O(1) (ignoring cache effects and other little pesky details). Cheers, M. -- ...
    Michael HudsonMichael Hudson
    Jun 6, 2002 at 12:49 pm
    Jun 9, 2002 at 9:25 pm
  • I'm making a function that takes one integer and returns a boolean that says if the integer matches a number in a certain group of numbers. This group consists of single numbers aswell as ranges ...
    Gustaf LiljegrenGustaf Liljegren
    Jun 10, 2002 at 9:25 pm
    Jun 12, 2002 at 12:20 am
  • Hello, "hello world" type program from wxPython tutorial takes 6 seconds to start on my cel 366 128mb system (running Debian). Is this typical? Why is it so slow? I'm looking for a graphic toolkit ...
    Andrei KulakovAndrei Kulakov
    Jun 1, 2002 at 2:38 pm
    Jun 11, 2002 at 5:49 am
  • Hello all I am new to this forum, and to Python, please excuse the newbie question. I have started reading the o'reilly book, "learning python" and find python to be an amazing language so far. My ...
    Jun 5, 2002 at 10:31 am
    Jun 10, 2002 at 5:07 pm
  • I'm sorry if this is a known issue. I couldn't get through to the bugtracker at sourceforge.net; it's abysmally slow and I stopped waiting for the search to run after about 15 minutes. Searches on ...
    Glyph LefkowitzGlyph Lefkowitz
    Jun 26, 2002 at 11:03 am
    Jun 28, 2002 at 9:21 am
  • Hmm ... I am working on a problem. In Danish we have a number format that looks like: 42.000.000,00 which is 42 millions So I need to insert dot's at every three character from end of the string for ...
    Max MMax M
    Jun 14, 2002 at 4:19 pm
    Jun 17, 2002 at 11:53 am
  • Consider the following code: class MyStr(str): def contains(self, value): return self.find(value) = 0 s = MyStr("hello, world!") s = s.capitalize() if s.contains('Hello'): print "Found it!" It fails ...
    Jun 13, 2002 at 8:08 pm
    Jun 17, 2002 at 11:14 am
  • Hey, I have a problem and can't solve it: There is lines of text like: 2. Header2 1. Header1 102. Header102 and so on... And I need to sort them according to the number (1,2,3,4...) Am I missing ...
    Järvinen PetriJärvinen Petri
    Jun 11, 2002 at 9:37 am
    Jun 12, 2002 at 4:51 am
  • Hello, for a comparison of languages I need a complete "translation" of this short skript into Perl, Tcl and Java: myurl = "http://www.uni-dortmund.de" import urllib file = urllib.urlopen(myurl) text ...
    Ingo LinkweilerIngo Linkweiler
    Jun 7, 2002 at 11:29 am
    Jun 9, 2002 at 11:59 am
  • Hi, I have a problem when writing a program of mine and moving it into a CGI based form. Basically if i run the python program in shell mode, it works fine. But when i run it via cgi mode it screws ...
    Sascha FerleySascha Ferley
    Jun 23, 2002 at 7:52 pm
    Jun 26, 2002 at 8:26 pm
  • How do I open a HTML file when the cgi program is executing? The only method I can think of, which doesn't work is this: <meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=main.html"
    Jun 1, 2002 at 6:43 am
    Jun 2, 2002 at 3:43 am
  • First off, it's ok that I got such a high level of resistance to my initial posting here about this project. Thanks to some research that /. had an article on, regarding the size of GPL project ...
    Timothy RueTimothy Rue
    Jun 26, 2002 at 12:40 am
    Jun 30, 2002 at 8:58 pm
  • I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of string.replace and sed possibilities but the things just won't go away. Does anyone have a ...
    Michael HallMichael Hall
    Jun 9, 2002 at 12:38 am
    Oct 9, 2002 at 11:22 am
  • Hi folks, I am interested in having Python support in Eclipse <URL: http://www.eclipse.org - interested enough to contribute code, or to tackle the task myself, if need be. Of course, I'd like the ...
    Joseph A KnapkaJoseph A Knapka
    Jun 25, 2002 at 5:09 am
    Jul 9, 2002 at 1:05 pm
  • I love this language, don't know any other, and use it for all sorts of things. Thanks Guido and all you guys for the work you do. My question is, I use 2.1 and by the time I need to update, probably ...
    Jun 27, 2002 at 10:34 pm
    Jul 5, 2002 at 5:26 am
  • I have never been programming before and now I am reading the "Non-Programmers Tutorial For Python" http://www.honors.montana.edu/~jjc/easytut/easytut/node9.html#SECTION0091000 0000000000000 And ...
    Martin StåhlMartin Ståhl
    Jun 29, 2002 at 5:00 pm
    Jul 1, 2002 at 6:29 pm
  • Hi, What is the best way of finding out the kind operating system? I can use os.name but if the system is Windows I would like also know if the system is Windows98 or Windows ME or W2K or Windows XP. ...
    Jun 27, 2002 at 6:24 am
    Jun 27, 2002 at 11:19 pm
  • Hi everyone, I hope this is a simple question for you guys. I'm new to Python and Linux. I'm wondering if Python (and this group) can help me. I want a program to always be running in the background ...
    Jun 14, 2002 at 4:19 am
    Jun 19, 2002 at 9:49 am
  • hi i've got an object 'Group'. i instanciate it by calling, f.e. g = Group() what actually does Group() return and is there any way to get hold of that again? i want to write a method which returns ...
    Uwe MayerUwe Mayer
    Jun 16, 2002 at 11:52 pm
    Jun 18, 2002 at 7:22 pm
Group Navigation
period‹ prev | Jun 2002 | next ›
Group Overview
grouppython-list @

905 users for June 2002

Peter Hansen: 175 posts David LeBlanc: 103 posts Kragen Sitaker: 76 posts Chris Liechti: 70 posts Emile van Sebille: 66 posts Steve Holden: 66 posts Holger krekel: 64 posts Bengt Richter: 62 posts Aahz: 61 posts Fredrik Lundh: 55 posts Gerhard Häring: 54 posts Jepler: 45 posts Mark McEahern: 44 posts Sean 'Shaleh' Perry: 41 posts Delaney, Timothy: 39 posts Bjorn Pettersen: 38 posts Tim Peters: 38 posts Skip Montanaro: 36 posts Gerhard Häring: 35 posts George Hester: 32 posts
show more