FAQ

Search Discussions

804 discussions - 4,232 posts

  • We have agreed in Prothon that unlike Python we are going to be 100% consistant in our var and method naming. We will not have run-together words like iteritems, we are going to always have seperated ...
    Mark HahnMark Hahn
    Apr 15, 2004 at 3:17 pm
    Apr 29, 2004 at 6:17 pm
  • "Michael Geary" <Mike at Geary.com wrote ... There have been so many messages about delegation and binding since Greg originally posted his meowing cat message that it's hard to remember what the ...
    Mark HahnMark Hahn
    Apr 22, 2004 at 6:20 pm
    Apr 30, 2004 at 6:46 pm
  • in term of its OO features, syntax consistencies, ease of use, and their development progress. I have not use python but heard about it quite often; and ruby, is it mature enough to be use for ...
    Hunn E. BalsicheHunn E. Balsiche
    Apr 26, 2004 at 7:08 am
    Apr 29, 2004 at 3:20 am
  • Is there any module/toolkit or framework for doing aspect oriented programming (AOP) in Python? For example AspectJ from Xerox park is a framework which can be used to do this for Java. Many TIA... ...
    Anand PillaiAnand Pillai
    Apr 14, 2004 at 9:06 am
    Apr 26, 2004 at 4:32 pm
  • We've worked hard to convince our company to migrate our core applications to Python, and now we're looking for a Python developer in Atlanta to handle a short-term (approx. 3 month) project. But our ...
    Paul MorrowPaul Morrow
    Apr 14, 2004 at 2:41 pm
    Apr 24, 2004 at 1:52 am
  • Hi! This is a rant against the optimization trend of the Python interpreter. Sorting a list of 100000 integers in random order takes: * 0.75 seconds in Python 2.1 * 0.51 seconds in Python 2.2 * 0.46 ...
    Armin RigoArmin Rigo
    Apr 3, 2004 at 6:48 pm
    Apr 6, 2004 at 4:10 pm
  • I read this mailing list fairly often, and I am always amazed at what I learn (even not related to Python). I am relatively new to Python. I make my living developing mostly in Java. Python was a ...
    KkKk
    Apr 5, 2004 at 9:37 pm
    Apr 19, 2004 at 7:14 pm
  • I participated in a short thread on c.l.ruby, and had myself convinced that "blocks" might be a good idea. For bragging rights, if nothing else :). What I'm talking about is: <callable block [<block ...
    Ville VainioVille Vainio
    Apr 7, 2004 at 5:40 am
    Apr 17, 2004 at 5:04 am
  • We are considering switching to the dollar sign ($) for self, instead of the period ( . ) we are using now in Prothon. Ruby uses the at-sign (@) for self, but our new usage of self also includes ...
    Mark HahnMark Hahn
    Apr 20, 2004 at 6:22 am
    Apr 21, 2004 at 8:22 pm
  • Hi, I just thought about creating a module for quaternions (as an personal exercise, so I'm not after pointers to classlibs here). Now usually I'd create a file called "quaternion.py", define my ...
    Diez B. RoggischDiez B. Roggisch
    Apr 9, 2004 at 4:44 pm
    Apr 20, 2004 at 5:25 pm
  • Entrian Solutions is pleased to announce version 1.0 of the 'goto' module. This adds the 'goto' and 'comefrom' keywords to Python 2.3, adding flexibility to Python's control flow mechanisms and ...
    Richie HindleRichie Hindle
    Apr 1, 2004 at 7:10 am
    Apr 4, 2004 at 10:45 pm
  • Hi! Why isn't Pygame a part of Python? Cheers, Alexander R?dseth
    Alexander RødsethAlexander Rødseth
    Apr 14, 2004 at 1:22 pm
    Apr 19, 2004 at 7:43 am
  • There might be a really good reason why this hasn't been done *or* someone might have done it and I just can't find it..... *but* what about a wrapper to an assembler (presumably for x86 assembly !) ...
    FuzzymanFuzzyman
    Apr 9, 2004 at 7:53 am
    Apr 19, 2004 at 7:15 am
  • I have a simple goal. I want the following Python program to work: print u"\u0432" This program fails on my US Debian machine: UnicodeEncodeError: 'ascii' codec can't encode character u'\u0432' in ...
    Nelson MinarNelson Minar
    Apr 8, 2004 at 2:02 am
    Apr 14, 2004 at 8:12 pm
  • We're proud to say that Prothon has grown out of the indent space/tab flame war stage and has moved on to more serious discussions. We've decided to allow space-based indents and tab-based indents ...
    Mark HahnMark Hahn
    Apr 3, 2004 at 3:41 am
    Apr 10, 2004 at 5:09 am
  • There seems to be a contradictive approach in these two things. Example: In the doctest documentation (http://www.python.org/doc/current/lib/module-doctest.html) a required precondition (i.e. n is an ...
    AkuAku
    Apr 5, 2004 at 3:02 pm
    Apr 7, 2004 at 2:20 pm
  • I'm concerned that with all the focus on obj$func binding, &closures, and other not-so-pretty details of Prothon, that we are missing what is really good - the simplification of classes. There are a ...
    David MacQuiggDavid MacQuigg
    Apr 26, 2004 at 7:19 pm
    Apr 30, 2004 at 7:38 pm
  • Hi all, Python lets you continue a single logical line across more than one physical line, either by putting a \ at the end or letting it happen automatically with an incomplete infix operator. I'm ...
    Russell WallaceRussell Wallace
    Apr 7, 2004 at 2:05 pm
    Apr 9, 2004 at 8:42 am
  • Hi I downloaded this document about Python recently: http://datamining.anu.edu.au/~ole/publications/python.pdf I loved the cute little Snake graphic. I think it would be great for Python.org/people ...
    Nomen NescioNomen Nescio
    Apr 5, 2004 at 2:50 pm
    Apr 7, 2004 at 10:09 pm
  • The problem we Python programmers are having is understanding the fundamental advantage of eliminating classes and working only with instances. The theoretical discussions put me to sleep. I can't ...
    David MacQuiggDavid MacQuigg
    Apr 29, 2004 at 1:07 am
    Apr 30, 2004 at 9:15 pm
  • I want to store a file in the application directory. What is the easiest way to figure out, where my application is situated? sys.argv[0] does not work for my purposes... do you have any other ideas. ...
    Marco AschwandenMarco Aschwanden
    Apr 28, 2004 at 1:44 pm
    Apr 30, 2004 at 12:14 pm
  • I've read articles about it but I'm not sure I've got everything right. Here are some statements about the subject that I'm not 100% sure about: - when interpreter (cpython) is compiled with ...
    Ivan VorasIvan Voras
    Apr 13, 2004 at 5:10 pm
    Apr 15, 2004 at 5:44 am
  • I have a need to sort a list of elements that represent sections of a document in dot-separated notation. The built in sort does the wrong thing. This seems a rather complex problem and I was hoping ...
    JwsackstederJwsacksteder
    Apr 19, 2004 at 1:08 pm
    Apr 30, 2004 at 1:24 am
  • Python is the best and most popular general purpose scripting language. That is, Python is the best and most popular general purpose, dynamic, interpreted language. Sure, there are other scripting ...
    Ron StephensRon Stephens
    Apr 10, 2004 at 9:50 pm
    Apr 12, 2004 at 5:32 pm
  • I've decided to learn wxPython, and I'm afraid I just don't grok the whole "id" thing where you have to pull unique integers out of your, er, the air and then use those to refer to objects: ...
    Grant EdwardsGrant Edwards
    Apr 27, 2004 at 10:05 pm
    Apr 30, 2004 at 2:26 am
  • I guess it would be interesting to pose the question back to them "If you could not use regexes in Perl, would you still like to program in it?" or "If you couldn't use mysql in PHP would you still ...
    Peter HansenPeter Hansen
    Apr 26, 2004 at 3:54 pm
    Apr 27, 2004 at 7:19 pm
  • Yesterday, I was writing some test code for a module and I wanted some line-oriented text to use as a data source. I thought about using a docstring from one of the standard modules; but, it occurred ...
    Andrew HenshawAndrew Henshaw
    Apr 2, 2004 at 1:01 pm
    Apr 3, 2004 at 4:07 am
  • Hi, everybody! I'm a moderately experienced programmer in Matlab, and looking for a free computational language (Matlab is *REALLY* expensive for an individual, like me). I came across Python ...
    SargeSarge
    Apr 28, 2004 at 11:24 pm
    Apr 30, 2004 at 12:31 pm
  • This is one of those things that I can't quite believe I've never needed to do before. I've got a set classes, each of which has a set of attributes that all behave very similarly. So, I have a class ...
    John J. LeeJohn J. Lee
    Apr 14, 2004 at 10:41 pm
    Apr 29, 2004 at 4:54 pm
  • I'm working on a project (Atox) where I need to match quite a few regular expressions (several hundred) in reasonably large text files. I've found that this can easily get rather slow. (There are ...
    Magnus Lie HetlandMagnus Lie Hetland
    Apr 22, 2004 at 8:27 pm
    Apr 27, 2004 at 8:09 pm
  • Hi! I'm trying to code a implementation of a variation of the travelling salesman problem. The problem is the following. I have X nodes. Each node has a number assosiated with each of the other ...
    Erlend Andreas GarbergErlend Andreas Garberg
    Apr 1, 2004 at 6:19 pm
    Apr 2, 2004 at 9:09 pm
  • I believe the following "static" command would be useful in Python. def foo(): static i = [10, 11] static firstcall = True if firstcall: print "First pass" firstcall = False i[0] += 1 print i[0] ...
    Nick JacobsonNick Jacobson
    Apr 29, 2004 at 2:07 pm
    Apr 30, 2004 at 3:09 pm
  • This would be interesting thesis material. As someone else quoted, "In theory, there is no difference between theory and practice. But, in practice, there is." -- William Park, Open Geometry ...
    William ParkWilliam Park
    Apr 11, 2004 at 7:16 pm
    Apr 21, 2004 at 7:37 am
  • This has prolly been asked 100 times - so please refrain from flaming if you can... What's the best MSwindows editor for python? I'm currently using PythonWin (ActiveState) at the moment, its a bit ...
    Stevie_macStevie_mac
    Apr 11, 2004 at 1:09 pm
    Apr 16, 2004 at 7:35 pm
  • A neewbie's question here, probably discussed before: what's the purpose of having both lists AND tuples? At the first (and second and third, to be honest) glance lists are just tuples with extended ...
    MitjaMitja
    Apr 8, 2004 at 4:47 pm
    Apr 16, 2004 at 4:20 pm
  • Hi all, i started a little "practical language comparison" - practical in the sense that i compare how actual distributions and versions and their libraries (not abstract language specifications) ...
    Andreas KochAndreas Koch
    Apr 25, 2004 at 3:35 pm
    Apr 30, 2004 at 2:24 am
  • I have debated about the wisdom of posting this message, knowing that a lot of people whom I respect may not like what I have to say. On the other hand, I wish that the person who told me "TCL is ...
    Ed SuominenEd Suominen
    Apr 15, 2004 at 7:38 am
    Apr 23, 2004 at 11:02 pm
  • hi, I'm finishing a small program which uses recursion for less than 100 levels. Each time the function is called, it compares an element of a list (which is a list too) to other elements, which all ...
    LupeLupe
    Apr 8, 2004 at 11:05 pm
    Apr 14, 2004 at 7:38 am
  • I would want to obtain a list of factors (multiples of 2) given a prime number in python. For example 13=[8,4,1], 5=[4,1], 7=[4,2,1], 15=[8,4,2,1] I would appreciate a fuction which would do this. ...
    EricEric
    Apr 21, 2004 at 3:54 pm
    Apr 22, 2004 at 5:14 pm
  • Having recently started with Python, I've written this little function to retrieve place parts from a database and concatenate them to a string. While it certainly works, and is also considerably ...
    Leif B. KristensenLeif B. Kristensen
    Apr 2, 2004 at 7:47 am
    Apr 5, 2004 at 7:10 am
  • I'm feeling dumb: str = "<tag text<innertag moretext</innertag </tag <tag text</tag " How can I get a list like ["text<innertag moretext</innertag ", "text"] using regexes? I'm starting to believe ...
    Jonas GalvezJonas Galvez
    Apr 21, 2004 at 4:30 pm
    Apr 24, 2004 at 1:44 pm
  • I'm a python newbie; here are a few questions relative to a problem I'm trying to solve; I'm wandering if python is the best instrument or if awk or a mix of bash and sed would be better: 1) how ...
    TaeKyonTaeKyon
    Apr 3, 2004 at 8:25 pm
    Apr 7, 2004 at 10:45 pm
  • Hello all, I have to split a dict into two dicts. Depending on their values, the items shall remain in the original dict or be moved to another one and at the same time be removed from the original ...
    JsaulJsaul
    Apr 1, 2004 at 3:31 pm
    Apr 2, 2004 at 3:31 pm
  • Hi, i'm looking at python to do programming for the new intranet here at the company. I'm looking at plone/zope also. Before, I've used jsp for webprogramming but i'm considering python for this. One ...
    News.telenet.beNews.telenet.be
    Apr 22, 2004 at 12:23 pm
    Apr 23, 2004 at 11:29 am
  • Hi, I run across this problem, and couldn't find any solution (python 2.2.2) : Code : =========== from __future__ import generators def __init__(self): print "init" def __del__(self): print "del" def ...
    EmmanuelEmmanuel
    Apr 21, 2004 at 12:04 am
    Apr 22, 2004 at 1:05 pm
  • Me again... :-) Is there any possibility to kill a SocketServer that was started like this: class ServerThread(threading.Thread): class MyHandler(SocketServer.StreamRequestHandler): def handle(self): ...
    Jean-Pierre BergaminJean-Pierre Bergamin
    Apr 12, 2004 at 1:46 pm
    Apr 18, 2004 at 6:49 pm
  • I'm looking for a Python library for math statistics. This must be a clear set of general statistics functions like 'average', 'variance', 'covariance' etc. While googling I found only SalStat, which ...
    å×Çà ÎÉÊ ëÏÓà ÎËÏå×Çà ÎÉÊ ëÏÓà ÎËÏ
    Apr 2, 2004 at 10:22 am
    Apr 11, 2004 at 10:55 pm
  • Hi, I'm new in Python. I have a problem with function args. I want to pass args by reference because the function must modify this arg. How I do that in Python. I didn't found documentation !
    Jean-Michel CaricandJean-Michel Caricand
    Apr 9, 2004 at 5:04 am
    Apr 10, 2004 at 2:10 pm
  • I have been unable to solve a problem. I am working with MD5 signatures trying to put these in a database. The MD5 signatures are not generated using the python md5 module but an external application ...
    Adam T. GautierAdam T. Gautier
    Apr 3, 2004 at 4:27 pm
    Apr 8, 2004 at 8:59 pm
  • This is a subject that comes up fairly often. Last night, I had the following idea, for which I would like feedback from you. This could be implemented as a function in codecs.py (let's call it ...
    Christos TZOTZIOY GeorgiouChristos TZOTZIOY Georgiou
    Apr 2, 2004 at 2:24 pm
    Apr 7, 2004 at 9:20 am
Group Navigation
period‹ prev | Apr 2004 | next ›
Group Overview
grouppython-list @
categoriespython
discussions804
posts4,232
users1,001
websitepython.org

1,001 user for April 2004

Peter Hansen: 210 posts Josiah Carlson: 75 posts Mark Hahn: 72 posts Robert Brewer: 69 posts Peter Otten: 60 posts John Roth: 59 posts Cameron Laird: 55 posts Tonio: 53 posts Jeff Epler: 52 posts Terry Reedy: 46 posts Fredrik Lundh: 42 posts Greg Ewing: 39 posts Roy Smith: 39 posts Diez B. Roggisch: 36 posts Joe Mason: 36 posts Michael Geary: 36 posts Aahz: 35 posts Martin v. Löwis: 35 posts Jacek Generowicz: 33 posts Michael Hudson: 33 posts
show more
Archives