FAQ

Search Discussions

1,029 discussions - 5,594 posts

  • This is fairly simple in PHP, how do I do it in Python? http://www.php.net/manual/en/function.ksort.php
    AfanasiyAfanasiy
    Aug 23, 2003 at 2:03 am
    Aug 23, 2003 at 8:29 am
  • I think I've found a deficiency in the design of urllib related to https. In order to complete an https connection, it appears that URLOpener and hence FancyURLOpener require the key and cert files. ...
    Gary FeldmanGary Feldman
    Aug 21, 2003 at 8:56 pm
    Aug 23, 2003 at 12:04 am
  • Hi, I am new to python, hope someone can help me here: I have a MS Access exported .txt file which is tab delimited in total 20 columns, now I need to add another column of zero at the 4th column ...
    GarryGarry
    Aug 22, 2003 at 12:36 am
    Aug 22, 2003 at 8:30 pm
  • As of Python 2.3, Section 2.2.6 (Sequence Types) describes slices which have a specified step (to omit some indexes in beteween), using the notation s[i:j:k]. The note about how this works says: "The ...
    Raoul GoughRaoul Gough
    Aug 21, 2003 at 3:49 pm
    Aug 22, 2003 at 12:53 pm
  • Hi, I'm a Python beginner and I'm would like to write a function that returns a class (perhaps a tad ambitious...). I've looked through the FAQ and perused "Python In A Nutshell" (not a good book to ...
    Nick KeighleyNick Keighley
    Aug 20, 2003 at 8:15 am
    Aug 22, 2003 at 12:07 pm
  • I'm sure this is a simple newbie problem, but I can't figure it out for the life of me. The code: import sys, os input = open("example.py","r") Gives me the error: TypeError: an integer is required ...
    Kris CaseldenKris Caselden
    Aug 21, 2003 at 5:09 am
    Aug 22, 2003 at 7:27 am
  • Hello all! I am trying to install eric3, the Python IDE. I've downloaded and installed successfully sip-3.8, QScintilla-1.2 and PyQT-3.8. However, when I try to install eric, I get the following ...
    Stelian IancuStelian Iancu
    Aug 20, 2003 at 9:54 am
    Aug 20, 2003 at 11:23 pm
  • I'm writing a half-day tutorial at work for the non-programmer techies (network engineers, database admins, sysadmins, that sort of thing) and was wondering if anyone else has already done this and ...
    Anthony BaxterAnthony Baxter
    Aug 19, 2003 at 4:16 am
    Aug 20, 2003 at 6:41 pm
  • python-dev Summary for 2003-08-01 through 2003-08-15 ++++++++++++++++++++++++++++++++++++++++++++++++++++ This is a summary of traffic on the `python-dev mailing list`_ from August 1, 2003 through ...
    Brett C.Brett C.
    Aug 18, 2003 at 9:49 pm
    Aug 20, 2003 at 8:36 am
  • Here is a simple idea to make generators more useful for some applications, although I won't for now name them.. anyways, advantage of current generators was not too obvious for all the people, too. ...
    Oleg LeschovOleg Leschov
    Aug 19, 2003 at 4:17 pm
    Aug 20, 2003 at 5:27 am
  • Hello, I'm trying to develop a cross-platform python-gui for a postgresql db. Of course, I need some postgresql-module for python... Pygresql seems the obvious choice, but I'm developing on windows ...
    GuineaPigGuineaPig
    Aug 18, 2003 at 1:22 pm
    Aug 19, 2003 at 12:50 pm
  • In the long run, this will be the wrong forum. I suggest comp.lang.python (or should a py2exe mailing list be created?). And I'm cc'ing to python-list. Well, you can try it out. But IIRC, nothing ...
    Thomas HellerThomas Heller
    Aug 14, 2003 at 5:17 pm
    Aug 18, 2003 at 6:06 pm
  • I use PythonWin on WinXP. Every time I change a module, I have to leave PythonWin and re enter to make it notice I have made changes. I guess this is not the normal way to do that.. do I have to ...
    Marcus SchneiderMarcus Schneider
    Aug 15, 2003 at 8:55 pm
    Aug 16, 2003 at 10:37 pm
  • Suppose I have a list of objects and I want to call a method on each. I can do the simple: for i in objs: i.meth(arg1, arg2) or using list comprehensions: [i.meth(arg1, arg2) for i in objs] The ...
    Tim LesherTim Lesher
    Aug 15, 2003 at 7:16 pm
    Aug 16, 2003 at 6:11 pm
  • I'm writing a Python script which can be called from the command-line, and I want to use my module doc string as the CL help text, but I don't know how to access my module object from inside the ...
    StevenSteven
    Aug 15, 2003 at 4:20 pm
    Aug 16, 2003 at 2:31 am
  • Hi Folks, I have a string filled with much text converted from a tuple. when I try to do someting like this: exclusion = re.sub("\\xf6", "%F6", exclusion) # ? exclusion = re.sub("\\xfc", "%FC", ...
    Lukas KasprowiczLukas Kasprowicz
    Aug 12, 2003 at 6:17 pm
    Aug 15, 2003 at 7:19 am
  • Hi, all. Just a quick question, when setting a COM process to read a value from a pre-defined register index, I think, I have to change the variable that the value will be returned to (as I have to ...
    Matt SmithMatt Smith
    Aug 11, 2003 at 10:07 am
    Aug 14, 2003 at 10:29 am
  • Great! No more list of list joining shenanigans... Shortly thereafter, i tried this: Traceback (most recent call last): File "<stdin ", line 1, in ? NameError: name 'y' is not defined Well.. Is there ...
    Simon BurtonSimon Burton
    Aug 11, 2003 at 11:26 pm
    Aug 12, 2003 at 1:44 am
  • I know fighting spam is like fighting global worming, but still.. 50% of spam I get these days contains a random combination of letters at the end of the subject line. Has anyone tried using that ...
    RevyakinRevyakin
    Aug 11, 2003 at 1:13 am
    Aug 11, 2003 at 4:19 pm
  • How do I say: x = string.find(files, 'this', 'that', 'the-other') currently I have to write it like this to make it work: x = string.find(files, 'this') y = string.find(files, 'that') z = ...
    Hokiegal99Hokiegal99
    Aug 8, 2003 at 3:35 am
    Aug 9, 2003 at 3:55 pm
  • Try to launch a test program that prints hello world for a minute or so using, spawnv( ) or spawnl( ). Check to see the process state code that the program is running. I am using RedHat Linux 7.3 and ...
    NushinNushin
    Aug 4, 2003 at 6:27 pm
    Aug 8, 2003 at 1:55 am
  • I've written a small script (with much help from this list) that searches through a directory for files without a PC filename extension like .doc .xls and then adds them. The reason for writing the ...
    Hokiegal99Hokiegal99
    Aug 6, 2003 at 2:45 am
    Aug 7, 2003 at 3:13 pm
  • Hello All, Hope everyone is well. I am really new to python, so my question maybe some what stupid to some. The question is, can python be used as a programming language for robotics? eg, controling ...
    DarrenDarren
    Aug 4, 2003 at 7:40 am
    Aug 6, 2003 at 11:07 pm
  • Hello, everyone, I am running python2.2.2 on a linux box. I want to call a shell command and get the PID of this child process so I have the possibility to abort the child process while it is still ...
    KlappnaseKlappnase
    Aug 5, 2003 at 3:36 pm
    Aug 6, 2003 at 11:43 am
  • I'm having trouble building boost python with Python 2.3 & msvc. I don't remember this with 2.2.3 so I guess it must be related to 2.3. I'm seeing lots of this ...
    Robin BeckerRobin Becker
    Aug 2, 2003 at 4:31 pm
    Aug 4, 2003 at 11:37 pm
  • Every time I run the below function from the interpreter, python.exe's memory usage increases by 5 Megs and stays at this higher level (python 2.3b2 on WinXP). I tried to isolate this to something ...
    Trevor PerrinTrevor Perrin
    Aug 3, 2003 at 6:37 am
    Aug 4, 2003 at 6:30 pm
  • I have a unittest testfile like this: ----------------------- test_mod.py --------------------- import sys sys.path.append('..') import unittest import mod class Test_rmlutils(unittest.TestCase): def ...
    Will StuyvesantWill Stuyvesant
    Aug 1, 2003 at 2:33 pm
    Aug 2, 2003 at 7:18 am
  • So, how did the chips fall on implementing interfaces in Python? :-) I've been using the Interface module that is included in Zope, and although, I've found it useful, there are some cases I don't ...
    Terry HancockTerry Hancock
    Aug 1, 2003 at 6:00 am
    Aug 2, 2003 at 4:48 am
  • I'm getting familiar with Python and I have a simple question: class abc: x = 100 y = 200 z = 300 ac = abc() Shouldn't I have a attribute named __dict__ for ac that contains a dictionary of all the ...
    Arnaldo RiquelmeArnaldo Riquelme
    Aug 1, 2003 at 1:13 am
    Aug 1, 2003 at 5:53 pm
  • Hello all, I wrote the code below. It is simply a dictionary that uses regular expressions to match keys. A quick look at _test() will give you an example. Is there a module that already does this? ...
    Erik LechakErik Lechak
    Aug 21, 2003 at 4:49 am
    Sep 4, 2003 at 10:20 pm
  • is python suitable for a production level deployment of CAD type of software. we may have to develop a specific purpose visual designing software for an interior designer to be deployed at several ...
    Sanjay MinniSanjay Minni
    Aug 17, 2003 at 6:22 am
    Aug 31, 2003 at 9:30 pm
  • www.rebol.com Rebol offers a free (non-opensource) platform to devellop internet enabled application. It is a modern scripting language with objects, a huge list of base types and a very very clean ...
    Rodrigo BenensonRodrigo Benenson
    Aug 25, 2003 at 10:41 pm
    Aug 28, 2003 at 2:38 am
  • Garland ISD - Network Associates WebShield SMTP V4.5 MR1a on tcms02-imvp detected virus W32/Sobig.f at MM in attachment thank_you.pif from <python-list at python.org and it was Cleaned. The email you ...
    PostmasterPostmaster
    Aug 25, 2003 at 10:15 pm
    Aug 27, 2003 at 9:31 pm
  • When I run the Python-2.3.exe on my WIN2K box and go through the initial dialogues, the installer frezes at 1% when it's "Copying File C:\Python23\UNWISE.exe" Any ideas ANYONE? tim.
    Timothy MartensTimothy Martens
    Aug 1, 2003 at 10:34 pm
    Aug 27, 2003 at 7:02 pm
  • How can I pass the content of one varible into raw_input? See below for what I'm trying to do: XXX = raw_input("1. Enter the string that you'd like to find: ") y = raw_input("2. Enter the string that ...
    Hokiegal99Hokiegal99
    Aug 27, 2003 at 2:33 am
    Aug 27, 2003 at 3:13 am
  • When you see the net take the shot When you miss your shot shoot again When you make your shot you win! Just remember Offense sells tickets But defense wins championships!
    TjlandTjland
    Aug 20, 2003 at 8:53 pm
    Aug 26, 2003 at 7:28 pm
  • Fazer writes: [...] Rather than asking someone here who probably uses a different operating system than what you have, why not test it? Seems like it'd take only about 2 minutes to test, and then ...
    Michael ChermsideMichael Chermside
    Aug 5, 2003 at 6:52 pm
    Aug 26, 2003 at 1:13 am
  • Under the gun, I've written a Python script to delete emails containing this latest virus/worm (Sobig-F) from a POP3 mailbox. http://www.tranzoa.com/extras.htm#remove_email_virus The script is a ...
    AlexAlex
    Aug 22, 2003 at 7:19 pm
    Aug 25, 2003 at 5:55 pm
  • Folks, It appears that HP and perhaps some other computer manufacturers who deliver Windows systems have begun delivering systems with Python pre-installed. We've begun to get frequent questions ...
    Skip MontanaroSkip Montanaro
    Aug 22, 2003 at 2:42 pm
    Aug 25, 2003 at 1:40 pm
  • Dear Internet Email User, this is an automated mail delivery notification, because your email has not been delivered the usual way. Your mail was not deliverd for the following reason: Your mail ...
    Mailer-DaemonMailer-Daemon
    Aug 21, 2003 at 5:45 am
    Aug 24, 2003 at 11:09 pm
  • I noticed a strange yet easily fixed problem in Python's thread module. Consider the following code: #------------------------------- import thread data='this is data' data_mutex = ...
    Kris CaseldenKris Caselden
    Aug 23, 2003 at 4:33 am
    Aug 24, 2003 at 1:49 pm
  • hi there i'm looking for a GUI Building IDE for Python Development running on a mac under OS X. i know about eric (http://www.die-offenbachs.de/detlev/eric3.html) and boa ...
    LeoLeo
    Aug 19, 2003 at 5:13 am
    Aug 23, 2003 at 1:31 am
  • Although I've done a bit of ranting before on this, noone seems to have noticed. I'll try again, hopefully more to the point. One of the additions in the standard library I liked most is the tarfile ...
    Hans-Joachim WidmaierHans-Joachim Widmaier
    Aug 21, 2003 at 5:29 pm
    Aug 22, 2003 at 8:32 pm
  • I'm stumped. I'm trying to use Python 2.3's urllib2.urlopen() to open an HTML file on the local harddrive of my WinXP box. If I were to use, say, Netscape to open this file, I'd specify it as ...
    MAKMAK
    Aug 21, 2003 at 7:37 pm
    Aug 22, 2003 at 5:47 pm
  • Hi, this must sound stupid to you, but I'm ages out of Python and I just can't find a function to convert 4 bytes of binary data to an integer value: length=f.read(4) # get length in binary ...
    Uwe MayerUwe Mayer
    Aug 20, 2003 at 5:41 pm
    Aug 21, 2003 at 6:13 pm
  • I was in a hurry to do something and I did stuff = open("filename", "r").read() then I realized, "hey I didn't close the file". so python close it automagically? Since I was doing python ...
    David BearDavid Bear
    Aug 20, 2003 at 8:35 pm
    Aug 21, 2003 at 4:04 pm
  • i thought id ask here before wirting a PEP, if people thought it would be a good enhancement to allow if clauses in regular for-statements like so: is semantically equivalent to but is shorter and ...
    Ryan LoweRyan Lowe
    Aug 20, 2003 at 12:32 am
    Aug 21, 2003 at 11:29 am
  • Hi, Pythonistas! I'm quite new to Python and have a problem with a simple backup script. This code: tar = tarfile.open('/home/lars/test.tar.gz', 'w:gz') tar.addfile('/home/lars') brings up the ...
    Lars BehrensLars Behrens
    Aug 20, 2003 at 7:52 am
    Aug 20, 2003 at 7:55 pm
  • I tried to run your sample but you didn't include enough material for me to run it as a standalone application. When I tried to stub out the additional material you didn't include, I got connection ...
    Erik Max FrancisErik Max Francis
    Aug 17, 2003 at 9:23 pm
    Aug 19, 2003 at 8:41 pm
  • Using Python? Rapidly build standards-based applications - Learn More. microsoft.ca/vs2003launch Experience a more productive toolset - Try it NOW! ...
    Colin J. WilliamsColin J. Williams
    Aug 18, 2003 at 1:48 am
    Aug 19, 2003 at 7:04 pm
Group Navigation
period‹ prev | Aug 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions1,029
posts5,594
users1,203
websitepython.org

1,203 user for August 2003

Andrew Dalke: 139 posts John J. Lee: 130 posts Alex Martelli: 125 posts Michael Peuser: 105 posts Peter Hansen: 91 posts Skip Montanaro: 86 posts Bengt Richter: 85 posts Brandon J. Van Every: 84 posts Terry Reedy: 80 posts Michael Hudson: 74 posts John Roth: 67 posts Christos TZOTZIOY Georgiou: 64 posts Michele Simionato: 64 posts Gerhard Häring: 62 posts Yun Mao: 60 posts Aahz: 58 posts Erik Max Francis: 56 posts Raymond Hettinger: 52 posts Thomas Heller: 44 posts Jacek Generowicz: 41 posts
show more
Archives