FAQ

Search Discussions

919 discussions - 4,821 posts

  • I want to do something along the lines of the following C++ code: void change(int& i) { i++; } Is there any way to do references like this in Python? It'd be like this, though clearly this doesn't ...
    Tom PlunketTom Plunket
    Jul 12, 2003 at 8:53 pm
    Jul 22, 2003 at 2:03 am
  • I have been reading a book about the evolution of the Basic programming language. The author states that Basic - particularly Microsoft's version is full of compromises which crept in along the ...
    Anthony_BarkerAnthony_Barker
    Jul 31, 2003 at 1:55 pm
    Aug 10, 2003 at 11:31 pm
  • Colin S. Miller wrote Also 'I was unknown to you and you deceived me'. Slightly colloquial This message has been checked for all known viruses by the MessageLabs Virus Scanning Service.
    Harvey ThomasHarvey Thomas
    Jul 15, 2003 at 2:07 pm
    Jul 23, 2003 at 3:56 pm
  • I think Jason Orendorff's path module is really nice: http://www.jorendorff.com/articles/python/path/ Beats the hell out of os.path, which is an ugly thing indeed. The OO interface means you could ...
    Ian BickingIan Bicking
    Jul 8, 2003 at 7:57 am
    Jul 26, 2003 at 11:34 pm
  • Can Python replace PHP? Can I use a python program to make an interface to a mysql 4.X database? If that's possible where can I find a tutorial?
    CatalinCatalin
    Jul 7, 2003 at 10:47 am
    Aug 5, 2003 at 1:58 pm
  • There is a story today on Slashdot Open Source Project Management Lessons =====================================http://developers.slashdot.org/article.pl?sid/07/02/1817220&mode=flat&tid5 "Paul ...
    Max MMax M
    Jul 3, 2003 at 9:17 am
    Jul 10, 2003 at 12:51 pm
  • Is there any chance of these modules becoming somewhat combined in the future? Right now it seems a little awkward to find the function you want. The main culprit is 'timegm' which is the only thing ...
    KylotanKylotan
    Jul 30, 2003 at 11:26 am
    Aug 5, 2003 at 12:21 am
  • Bear with me: this post is moderately long, but I hope it is relatively succinct. I've been using Python for several years as a behavioral modeling tool for the circuits I design. So far, it's been a ...
    MikeMike
    Jul 31, 2003 at 6:09 am
    Aug 6, 2003 at 3:58 am
  • ?????, ?????????? ??? ??? ??????? ????? ??????(????????, ?????? ???? ? exe-???? ?????????).
    GarberGarber
    Jul 13, 2003 at 5:32 pm
    Jul 26, 2003 at 10:33 am
  • In article <mailman.1057083728.8224.python-list at python.org , Bob Gailer wrote: . . . . . . Maybe youngsters don't realize this. One monotonous but unremitting argument that Python inspires is ...
    Cameron LairdCameron Laird
    Jul 3, 2003 at 12:39 pm
    Jul 29, 2003 at 4:50 pm
  • What's the current status on the ternary operator that may or may not be added to python. Haven't heard much about that since the vote was announced for a couple of months ago. What's the best way to ...
    TorTor
    Jul 6, 2003 at 8:59 pm
    Jul 8, 2003 at 10:50 pm
  • I often feel the need to extend the string method ".endswith" to tuple arguments, in such a way to automatically check for multiple endings. For instance, here is a typical use case: if ...
    Michele SimionatoMichele Simionato
    Jul 18, 2003 at 12:01 pm
    Jan 9, 2004 at 2:18 pm
  • Hi all, I would like deleting specific characters from a string. As an example, I would like to delete all of the '@' '&' in the string 'You are ben at orange?enter&your&code' so that it becomes ...
    Behrang DadsetanBehrang Dadsetan
    Jul 9, 2003 at 7:12 am
    Jul 11, 2003 at 2:49 pm
  • In the world of voting technology experts, I'm known as the guy that has proposed to use commodity PCs as voting machines running open source software with a printer to generate the paper ballot. ...
    Alan DechertAlan Dechert
    Jul 20, 2003 at 8:43 pm
    Jul 23, 2003 at 12:59 pm
  • Is there currently any plan to introduce static typing in any future version of Python? (I'm not entirely sure that "static typing" is the right term: what I'm talking about is the declaration of ...
    Michael MullerMichael Muller
    Jul 25, 2003 at 5:19 pm
    Aug 1, 2003 at 3:30 pm
  • Hi all, I'm working on a base meta-type for a plug-in system, and I'd really like to use the same rich-descriptor objects as I've used everywhere else in the system. Basically these are descriptors ...
    Mike C. FletcherMike C. Fletcher
    Jul 18, 2003 at 12:48 pm
    Jul 25, 2003 at 11:48 pm
  • Hi, I have been thinking about how to overload the assign operation '='. In many cases, I wanted to provide users of my packages a natural interface to the extended built-in types I created for them, ...
    RimRim
    Jul 1, 2003 at 3:31 am
    Jul 8, 2003 at 6:50 pm
  • Hi Pythonistas, I have placed a quiz on Python on the trivia site www.funtrivia.com. Here is the link. http://www.funtrivia.com/quizdetails.cfm?id9672 Looks like it is the first quiz on Python on ...
    Anand PillaiAnand Pillai
    Jul 16, 2003 at 6:53 am
    Jul 17, 2003 at 7:31 pm
  • We've decided to go with Python for the demo of the voting machine I described on this forum yesterday. Thanks to all of you for your feedback. We have an excellent team together. We're looking for a ...
    Alan DechertAlan Dechert
    Jul 21, 2003 at 5:44 pm
    Aug 2, 2003 at 2:08 am
  • Ugh. Please don't propagate this ridiculous, meaningless term. It's used to refer to a wide range of greatly disparate legal concepts; to use it as a single term implies that there's some unifying ...
    Ben FinneyBen Finney
    Jul 11, 2003 at 10:20 pm
    Jul 13, 2003 at 12:50 pm
  • without stirring the pot too much -- could someone please point me to whatever documentation exists on the philosophy, semantics, and practical implications of how Python implements the assignment ...
    DanDan
    Jul 23, 2003 at 12:59 am
    Jul 27, 2003 at 10:25 pm
  • I'm a .py newbie and fascinated by the simplicity of formatting. No need for {} as in Perl etc. But the misuse of <tab that many .py writers do makes it hard to understand how a script operates. E.g. ...
    Gisle VanemGisle Vanem
    Jul 30, 2003 at 4:20 pm
    Aug 12, 2003 at 8:43 pm
  • Hi all, Is there a way to detect typos in a Python program, before actually having to run it. Let's say I have a function like this: def server_closed_connection(): session.abost() Here, abort() is ...
    Manish JethaniManish Jethani
    Jul 25, 2003 at 1:56 pm
    Jul 29, 2003 at 4:53 pm
  • i'm curious to know how others handle the closing of files. i seem to always end up with this pattern even though i rarely see others do it. f1 = file('file1') try: # process f1 finally: f1.close() ...
    BryanBryan
    Jul 24, 2003 at 3:17 am
    Jul 28, 2003 at 3:24 am
  • I am researching issues related to emdedding Python in C++ for a project. My project will be running on an SMP box and requires scalability. However, my test shows that Python threading has very poor ...
    Wenning QiuWenning Qiu
    Jul 8, 2003 at 9:54 pm
    Jul 11, 2003 at 8:22 pm
  • Ive just started playing with Python and have a couple of questions. Im looking for an agument parsing library (from the command line), Ive come across optik and argtools. What other ones are there ...
    RichardcRichardc
    Jul 14, 2003 at 11:56 am
    Jul 18, 2003 at 2:56 pm
  • Greetings, (do excuse the possibly comical subject text) I need advice on how I can convert a text db into a dict. Here is an example of what I need done. some example data lines in the text db goes ...
    XavierXavier
    Jul 2, 2003 at 4:13 am
    Jul 7, 2003 at 10:35 pm
  • Hi'ya ppl, I'd be happy to hear your techniques to debug python programs. Is there any interactive debugging environment by any chance ? thanks in advance, B
    Bill LorenBill Loren
    Jul 28, 2003 at 2:10 am
    Jul 29, 2003 at 6:47 pm
  • Here are four more mini-mysteries for your amusement and edification. In this episode, the program output is not shown. Your goal is to predict the output and, if anything mysterious occurs, then ...
    Raymond HettingerRaymond Hettinger
    Jul 14, 2003 at 5:42 am
    Jul 16, 2003 at 2:36 pm
  • Hello, I am an avid user of PHP and I am just fooling around with Python for now. I originally wanted to know which one is faster. As in, works faster. So far, I think PHP is the fastest for dynamic ...
    FazerFazer
    Jul 28, 2003 at 6:02 pm
    Aug 3, 2003 at 11:42 pm
  • Traceback (most recent call last): File "<stdin ", line 1, in ? TypeError: unhashable type I'd have expected something like 'TypeError: unslicable type' meaning that you can't slice a dict, not that ...
    Jeff EplerJeff Epler
    Jul 21, 2003 at 1:48 am
    Aug 2, 2003 at 4:54 am
  • In article <kl3lhvgh5iillo5g9jvff92qkc8i2022nm at 4ax.com , Marc Wilson wrote: Don't know PSP, but normally this kind of facility would be made available through an importable module. If that's not ...
    AahzAahz
    Jul 20, 2003 at 1:44 pm
    Jul 24, 2003 at 4:21 pm
  • Can Python be compiled? If so, how? (I have the 2.2 version of the interpreter.) TIA for any and all helps -- Peace, EJ
    Elaine JacksonElaine Jackson
    Jul 12, 2003 at 2:50 pm
    Jul 14, 2003 at 4:12 am
  • I am trying to find a way to mimic by-reference argument passing for immutables in Python. I need to do this because I am writing an automated VB to Python converter. Here's an example of the VB ...
    Paul PatersonPaul Paterson
    Jul 25, 2003 at 4:10 pm
    Jul 28, 2003 at 9:57 pm
  • After a recent thread on .endswith, I have been thinking about iterators. I realized that I don't know a satisfactory way to check if an iterator is empty. In other words I am looking for an ...
    Michele SimionatoMichele Simionato
    Jul 21, 2003 at 2:26 pm
    Jul 25, 2003 at 4:55 am
  • I have looked long and hard at Mr. Martelli's Borg recipe: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531 It is a very useful substitute for a Singleton, but I can't figure out how it ...
    MarsMars
    Jul 23, 2003 at 1:37 am
    Jul 24, 2003 at 4:29 am
  • I have an application in which I want the users to be able to create python functions: def f1(): print "1-1" print "1-2" print "1-3" def f2(): print "2-1" print "2-2" print "3-3" and when my ...
    ThewrightsThewrights
    Jul 17, 2003 at 1:07 pm
    Jul 18, 2003 at 9:40 pm
  • Hi all, I just wanted to tell someone :-) I was previously a perl programmer and have been a visual basic frustrated developer for a number of years, only for the reason that corporates are so ...
    Graeme MatthewGraeme Matthew
    Jul 3, 2003 at 12:24 pm
    Jul 6, 2003 at 12:08 pm
  • If you know that your source code is going to be used later by others, then I feel that code with the pattern: if some_condition: some_name = some_value else: some_name = other_value is often a ...
    Will StuyvesantWill Stuyvesant
    Jul 1, 2003 at 9:49 am
    Jul 3, 2003 at 7:41 pm
  • On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3 (final). Nineteen months in the making, Python 2.3 represents a commitment to ...
    Barry A. WarsawBarry A. Warsaw
    Jul 30, 2003 at 12:02 am
    Aug 1, 2003 at 12:33 am
  • Has anyone tried building Python with VC++.NET? Does it work or fail horribly like I think it will. My boss seems to think it is good to have programs that are in managed code because it is more ...
    RaviRavi
    Jul 23, 2003 at 3:34 am
    Jul 31, 2003 at 7:35 am
  • I'm looking for a Web Tool kit to build web pages with the following criteria (in priority order) : - easy to use, develop (reuseability of code, ...) - flexible (ideally should run with Python ...
    Vincent_delftVincent_delft
    Jul 26, 2003 at 10:27 pm
    Jul 30, 2003 at 6:50 pm
  • I have a largish data set (1000 observations x 100 floating point variables), and some of the of the data are missing. I want to try a variety of clustering, neural network, etc, algorithms on the ...
    John HunterJohn Hunter
    Jul 2, 2003 at 7:16 pm
    Jul 8, 2003 at 5:11 am
  • I have just opened pyBoards.com, a community for Python programmers. Please stop by and check it out. http://www.pyBoards.com Tell me what you think, Kyle
    Kyle BabichKyle Babich
    Jul 4, 2003 at 1:11 am
    Jul 7, 2003 at 9:48 am
  • Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet and ...
    Allison BaileyAllison Bailey
    Jul 15, 2003 at 12:31 am
    Sep 12, 2003 at 3:51 pm
  • I am trying to download pages from Python, for offline reading. This to save telephone costs :-) If a page contains something like <link rel='stylesheet' href='../pythonware.css' type='text/css' / ...
    Will StuyvesantWill Stuyvesant
    Jul 21, 2003 at 9:31 am
    Aug 20, 2003 at 2:19 am
  • What do you mean by decent? Spambayes (http://spambayes.org) has an IMAP filter, which is an example of using imaplib. Whether it's decent or not, well... ;) =Tony Meyer
    Tony MeyerTony Meyer
    Jul 17, 2003 at 1:11 am
    Jul 20, 2003 at 10:50 pm
  • For your amusement and edification, I'm working on a series of Python puzzles designed to highlight areas of the language known only to those who have read the docs more than once. Each of the ...
    Raymond HettingerRaymond Hettinger
    Jul 12, 2003 at 6:56 am
    Jul 15, 2003 at 12:02 pm
  • Hi all I would like some advice, and I hope that the good people on c.l.p will give me the benefit of their experience. I am busy developing an accounting package, using Python and wxPython, together ...
    Frank MillmanFrank Millman
    Jul 10, 2003 at 2:13 pm
    Jul 14, 2003 at 7:13 pm
  • Hi I would like to retrieve the application data directory path of the logged user on windows XP. To achieve this goal i use the environment variable APPDATA. The logged user has this name: ...
    Sebastien.huguesSebastien.hugues
    Jul 11, 2003 at 8:40 am
    Jul 13, 2003 at 6:38 pm
Group Navigation
period‹ prev | Jul 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions919
posts4,821
users1,080
websitepython.org

1,080 user for July 2003

Bengt Richter: 145 posts Peter Hansen: 130 posts Trewornan: 91 posts Erik Max Francis: 85 posts Skip Montanaro: 82 posts Aahz: 79 posts Ian Bicking: 75 posts John J. Lee: 73 posts Gerhard Häring: 72 posts Alan Kennedy: 69 posts Michele Simionato: 64 posts Stephen Horne: 64 posts Martin v. Löwis: 63 posts Steven Taschuk: 51 posts Terry Reedy: 51 posts John Hunter: 45 posts Bob Gailer: 44 posts Ben Finney: 37 posts Duncan Booth: 36 posts Michael Hudson: 36 posts
show more
Archives