FAQ

Search Discussions

858 discussions - 4,429 posts

  • return ";".join(["%s=%s" % (k, params[k]) for k in params.keys()]) every day python seems to be moving closer to the line noise aspect of coding.
    Sean 'Shaleh' PerrySean 'Shaleh' Perry
    Mar 1, 2001 at 10:32 pm
    Apr 17, 2001 at 12:47 pm
  • Ok, I can see maybe division having problems. But why does addition of the two numbers below: 5.01+5.54 give me this? 10.550000000000001 I hope its some setting that can take care of this. I am using ...
    CostasCostas
    Mar 12, 2001 at 9:34 pm
    Mar 21, 2001 at 3:01 am
  • ... for a Python programmer? I'm going to have to bite the bullet and learn a bit of C. I'd at least like to learn the *right* way to do it. -- Cheers, Simon Brunning sbrunning at bigfoot.com
    Simon BrunningSimon Brunning
    Mar 5, 2001 at 10:14 am
    Apr 5, 2001 at 3:03 am
  • Who would be interested in using his/her brain (and his computer) to solve the following? Steve Graham === Einstein's Riddle Albert Einstein wrote this riddle this century [ed. 20th century]. He said ...
    Steve GrahamSteve Graham
    Mar 11, 2001 at 6:49 pm
    Mar 23, 2001 at 1:51 am
  • Please have a look at the PEP below. It is intended to replace the __future__ import suggested in PEP 236. Regards, Martin PEP: XXX Title: The directive statement Version: $Revision$ Author: Martin ...
    Martin von LoewisMartin von Loewis
    Mar 20, 2001 at 10:42 am
    Mar 24, 2001 at 10:46 pm
  • Sure; Bruce "Mr. Java" Eckel says Python's his favorite language. That was last week's news. What would you think if the former editor of the *C++ report* gave his prediction for this decade: Keep an ...
    Cameron LairdCameron Laird
    Mar 13, 2001 at 10:05 pm
    Mar 19, 2001 at 4:05 pm
  • Know of substantial apps written in Python? Preferably something one could download for examination. Source code would be nice, but not essential. I'm operating under the theory that whatever the ...
    Dry IceDry Ice
    Mar 30, 2001 at 8:02 pm
    Apr 12, 2001 at 9:49 am
  • To selectively activate nested scopes in Python 2.1, PEP 236 proposes the "future" statement. That means that you have to write from __future__ import nested_scopes Even though this looks like an ...
    Martin von LoewisMartin von Loewis
    Mar 1, 2001 at 11:00 am
    Mar 10, 2001 at 1:10 am
  • Please have a look at the PEP below, it is intended to be a light-weight solution to "typing" based on programmer intent. Regards, Clark Evans PEP: XXX Title: Query Interface Protocol Version: ...
    Clark C. EvansClark C. Evans
    Mar 20, 2001 at 11:43 pm
    Apr 4, 2001 at 1:39 pm
  • Reply-to: sender Okay, nested scopes are a good idea. Having the feature "disabled by default" in 2.1 is a good idea. But this "from __future__" stuff isn't so hot. First, it's ugly. Second, owing ...
    Jason OrendorffJason Orendorff
    Mar 18, 2001 at 6:04 pm
    Mar 26, 2001 at 5:38 pm
  • Hey Alex, congrats on landing "Python In A Nutshell" book deal. One problem. I went down to the book store and it's not there. What gives? <wink Don
    Don TuttleDon Tuttle
    Mar 9, 2001 at 2:22 pm
    Mar 19, 2001 at 3:22 pm
  • Can someone recomend a good editor to write python in? Im just getting started learning python and dont know which ones support python. thanks
    FjsFjs
    Mar 22, 2001 at 7:00 am
    Mar 25, 2001 at 2:28 pm
  • Hi, I was just wondering if any knew what < does....I've got some sample code and can't figure out what's happening eg. x  if x < 10: .... thanks Victor
    Victor LouieVictor Louie
    Mar 7, 2001 at 6:57 am
    Mar 12, 2001 at 3:12 pm
  • This is probably an elementary question and the answer is probably writ large in multiple places in the Python documentation, but... ...can an instance of a class determine the name of the variable ...
    Tim CHURCHESTim CHURCHES
    Mar 8, 2001 at 6:48 am
    Mar 26, 2001 at 10:18 am
  • Can anyone tell me some of the things that Python offers which are not available in Java? I like Python's syntax, but what can Python do that Java can not do? Any comments are helpful. Kyle Wayne ...
    Kyle Wayne KellyKyle Wayne Kelly
    Mar 4, 2001 at 3:17 am
    Mar 13, 2001 at 4:45 pm
  • Okay, sure this has been asked again and again, but I've never really seen a clear answer to this question: Can Python replace Visual Basic? Should it? As far as I can see, they both seem close to ...
    Brad BollenbachBrad Bollenbach
    Mar 6, 2001 at 4:23 am
    Mar 9, 2001 at 10:57 pm
  • Hello. From the perspective of someone who already has programming experience, would anyone know if O'reillys "Learning Python" book would be better than say Prentice Hall's "Core Python ...
    Benjamin.AltmanBenjamin.Altman
    Mar 21, 2001 at 6:02 pm
    Mar 28, 2001 at 4:55 pm
  • Greetings from Sweden: I think that objecting to using C because pointers and strings are hard is akin to objecting to using a scalpel because it is sharp and you can cut yourself. Now if the ...
    Laura CreightonLaura Creighton
    Mar 7, 2001 at 1:45 pm
    Mar 13, 2001 at 9:05 pm
  • I understand that the 'from foo import *' syntax will be deprecated some day soon. How will this affect things like thr gtk python binding which has many many functions, defines, etc? Will I have ...
    Sean 'Shaleh' PerrySean 'Shaleh' Perry
    Mar 2, 2001 at 9:06 pm
    Mar 6, 2001 at 7:57 am
  • I have a couple of style questons regarding larger Python programs. I'd be interested in comments. 1. I have a class that handles communications with a remote service. It is fairly complex, having to ...
    Cary O'BrienCary O'Brien
    Mar 16, 2001 at 3:25 pm
    Apr 6, 2001 at 7:40 am
  • I was wondering if there is any rationale as to why Python classes do not have static methods? I was also wondering if it would make sence to allow None to be used as self? For example: class ...
    Clark C. EvansClark C. Evans
    Mar 23, 2001 at 9:51 pm
    Mar 26, 2001 at 10:52 am
  • I want to make the following: variableOne = 500 myVariable = variableOne + "cool" But I get the following error: "unsupported operand types for +" Does someone know how to solve the problem?
    ZamuraiZamurai
    Mar 5, 2001 at 2:25 pm
    May 2, 2001 at 4:14 pm
  • In the dog days of DOS, I was a brief guy. Now I use CodeWright. It's the best editor I've used (and I've used vi, although not too extensively). Why do people want syntax colouring? I can't stand ...
    John SchmittJohn Schmitt
    Mar 22, 2001 at 8:10 pm
    Apr 8, 2001 at 10:17 am
  • if that is in a loop, it should be fine: while 1: f = open(file) # every time the loop repeats, f gets closed and opened # again # do things to f
    Sean 'Shaleh' PerrySean 'Shaleh' Perry
    Mar 15, 2001 at 10:27 pm
    Apr 2, 2001 at 2:00 pm
  • I have an object-oriented numerical code written in Python. It has come to the stage where the speed of the code is seriously impeding progress. Profiling reveals (surprise, surprise) that most of ...
    Jacek GenerowiczJacek Generowicz
    Mar 12, 2001 at 11:13 am
    Mar 16, 2001 at 7:18 pm
  • Hi! I'm the author of PEP 245, a framework and syntax for interface objects in Python. http://python.sourceforge.net/peps/pep-0245.html It has just recently been made a PEP, and I'd like to solicite ...
    Michel PelletierMichel Pelletier
    Mar 23, 2001 at 7:02 am
    Mar 30, 2001 at 2:59 pm
  • a funny thing happened at IPC9. a bunch of were sitting in the lounge (bar) talking, and one person mentioned that he was going to study kendo while in japan this year. i asked if he had previous ...
    Garry HodgsonGarry Hodgson
    Mar 26, 2001 at 4:48 pm
    Mar 29, 2001 at 5:02 am
  • Hey people. Could someone explain the purpose of the match function in the re module? If it's only difference from search is to match at the beginning of the line, why does it exist? That's what the ...
    Michael P. SoulierMichael P. Soulier
    Mar 20, 2001 at 3:22 pm
    Mar 23, 2001 at 10:09 pm
  • Short version: Is it possible for a stand-alone python application to read a cookie without the help of a browser?" Long version: I have a web page W and a client side python script P. I want W to ...
    Ken SeehofKen Seehof
    Mar 16, 2001 at 12:01 am
    Mar 21, 2001 at 4:45 pm
  • Why do we need a new // operator to do the divide operation. If we want to do an integer divide with two reals why wont people just use int(a/b). For example: 2 2 The only difference with what is ...
    Gordon WilliamsGordon Williams
    Mar 16, 2001 at 3:39 pm
    Mar 20, 2001 at 4:49 am
  • I have been involved with the types-sig for a long time and it has consumed countless hours out of the lives of many brilliant people. I strongly believe that it will only ever work if we change some ...
    Paul PrescodPaul Prescod
    Mar 11, 2001 at 11:23 pm
    Mar 18, 2001 at 5:48 pm
  • Just out of my curiosity, have any of you ladies and gentlemen experienced a need for an equivalent of C++/Java static method? Because I have, but it is impossible add them to Python classes -- all ...
    Alex ShindichAlex Shindich
    Mar 4, 2001 at 10:22 pm
    Mar 10, 2001 at 9:30 am
  • What is the method for returning the file name of the running script? Thanks in advance. Stadel
    StadelStadel
    Mar 5, 2001 at 1:55 am
    Mar 10, 2001 at 12:43 am
  • The purpose of this code is to return a list of dictionary values sorted by key, resulting in 'templist'. templist.append(d[n]) ['z', 'a', 'b', 'd'] Of course when I have this in its best form, it ...
    Daniel KleinDaniel Klein
    Mar 3, 2001 at 6:08 pm
    Mar 6, 2001 at 11:34 pm
  • Hi. I have written a GPS program in Python for Linux. I'm sure that someone could port it to run under Windows, but I have no interest in doing so. I haven't done a real release of the software yet, ...
    Russell NelsonRussell Nelson
    Mar 27, 2001 at 4:25 am
    Apr 4, 2001 at 7:43 am
  • Hello, I'm new to python and, while learning about inheritance, I've run into what seems to be broken behavior with multiple inheritance. Here is the code: ... def angle(self): return "variable" ... ...
    Jonathan ClaggettJonathan Claggett
    Mar 28, 2001 at 5:30 pm
    Mar 30, 2001 at 2:21 pm
  • Hello, i'm a bit confused with so many language ;-) theres the story, i like to learn a programming language for 2 reasons 1- i want to be able to make some script on my web site (i heard about zope, ...
    Yvon BoulianneYvon Boulianne
    Mar 22, 2001 at 5:12 pm
    Mar 24, 2001 at 3:21 pm
  • I'm lost for words... This summarizes a lot of concerns that sometimes I find so hard to explain. Anyone who has actually *read* Christopher Alexander's books on design should know that the best ...
    Carlos RibeiroCarlos Ribeiro
    Mar 20, 2001 at 1:49 am
    Mar 23, 2001 at 2:40 am
  • I'm looking for some resources on using python with wsh generally. Specifically, I'm trying to use .wsf files with python. For example, given a "one liner" in (say) hello.py: WScript.Echo("hello") ...
    Mike CarifioMike Carifio
    Mar 14, 2001 at 1:36 pm
    Mar 20, 2001 at 9:42 pm
  • In several articles I read that Python/Jython imporoves the programmers performance many times. Why? I am considering to use Jython for my job as Java programmer. How should I use it to achieve this ...
    Andreas FreierAndreas Freier
    Mar 22, 2001 at 10:48 am
    Mar 26, 2001 at 10:15 pm
  • Le me try to summarize what I've seen on the past ten days or so on this list, regarding the awful lot of "enhancements" proposed to the Python language. 1) Proposing "syntactic sugar" changes to ...
    Carlos RibeiroCarlos Ribeiro
    Mar 19, 2001 at 3:19 am
    Mar 20, 2001 at 11:24 pm
  • The list.sort(cmp) docs for Python 2.0 state: The sort() method takes an optional argument specifying a comparison function of two arguments (list items) which should return -1, 0 or 1 depending on ...
    Harri PasanenHarri Pasanen
    Mar 16, 2001 at 2:15 pm
    Mar 20, 2001 at 3:12 am
  • Just a question. I did some search around at google and found a few messages that were exchanged while PEP203 was being discussed, but no followup. Relevant messages: ...
    Carlos Alberto Reis RibeiroCarlos Alberto Reis Ribeiro
    Mar 30, 2001 at 4:26 pm
    Apr 12, 2001 at 1:03 am
  • Hi everybody, I'm wondering if the last books on Python are good. Thanks for your points of view. I'm especially thinking about : 1/Programming Python 2nd edition @ O'reilly 2/ Core Python ...
    TMTM
    Mar 22, 2001 at 1:44 am
    Mar 26, 2001 at 7:28 pm
  • How is calling print from more than one thread looked upon?
    Syver EnstadSyver Enstad
    Mar 26, 2001 at 8:54 am
    Mar 31, 2001 at 10:08 pm
  • Hi, I've got following two lists: ['a', 'b', 'c', 'd', 'e', 'f'] ['e', 'c', 'f'] I'd like to have the result: ['a', 'b', 'd'] The list need not to be ordered. ['d', 'a', 'b'] will also be ok. What is ...
    Oliver VecernikOliver Vecernik
    Mar 28, 2001 at 12:47 pm
    Mar 30, 2001 at 12:30 pm
  • sir, i learnt from your website a lot about python.i was given a job to work on python.i have to work on database.please make me wise how to create a database which is having more than 2 columns ...
    Neelima gNeelima g
    Mar 6, 2001 at 4:51 am
    Mar 29, 2001 at 2:36 pm
  • Hi, is there a possibilty to check if a variable refers to an object of type x? Does a typeof-command exist in Python: if a typeof list: #Commands only useable with list I read the Python Tutorial, ...
    Markus ReitzMarkus Reitz
    Mar 21, 2001 at 11:47 am
    Mar 23, 2001 at 12:40 pm
  • I have a Python application (which uses the wxPython extension) that I have packaged for distribution with py2exe. The dfistributed app works on my own computer, and on another machine I have, which ...
    Parzival HerzogParzival Herzog
    Mar 1, 2001 at 6:12 am
    Mar 2, 2001 at 11:40 pm
  • Using Python 2.0 on Win32. Am I the only person to be depressed by the following behavior now that __getitem__ does the work of __getslice__? Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit ...
    Robin ThomasRobin Thomas
    Mar 1, 2001 at 3:58 am
    Mar 2, 2001 at 4:57 pm
Group Navigation
period‹ prev | Mar 2001 | next ›
Group Overview
grouppython-list @
categoriespython
discussions858
posts4,429
users963
websitepython.org

963 users for March 2001

Alex Martelli: 219 posts Fredrik Lundh: 116 posts Aahz Maruch: 108 posts Steve Holden: 104 posts Tim Peters: 96 posts Martin von Loewis: 61 posts Steve Purcell: 56 posts Grant Edwards: 55 posts Wayne Izatt: 49 posts Werner Schiendl: 49 posts Remco Gerlich: 46 posts Emile van Sebille: 43 posts Clark C. Evans: 41 posts Ken Seehof: 41 posts Marcin 'Qrczak' Kowalczyk: 41 posts Timothy Grant: 38 posts Paul Prescod: 37 posts Cameron Laird: 36 posts David Bolen: 35 posts Michael Hudson: 34 posts
show more
Archives