FAQ

Search Discussions

743 discussions - 4,129 posts

  • [this post is a excerpt from The Modernization of Emacs, Xah Lee, 2006-04 at http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE ...
    Xah LeeXah Lee
    Jun 17, 2007 at 3:13 pm
    Oct 12, 2007 at 11:39 pm
  • I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a ...
    WaterWalkWaterWalk
    Jun 9, 2007 at 5:49 am
    Jul 9, 2007 at 8:16 pm
  • Before I ask anything, let me note that this is surely an old question that has inspired its share of flame wars; I'm new to Python, but not new to how Internet discussions work. So if there's a ...
    Stephen R LanielStephen R Laniel
    Jun 20, 2007 at 6:53 pm
    Jul 22, 2007 at 8:28 am
  • I have a requirement to store timestamps in a database. Simple enough you might think but finding a suitably general format is not easy. The specifics are 1) subsecond resolution - milliseconds or, ...
    James HarrisJames Harris
    Jun 22, 2007 at 8:33 pm
    Jul 12, 2007 at 2:16 pm
  • Hello all! Please help, is there way to use sub-expressions in lambda? For example, if I want to calculate sin(x^2)+cos(x^2) I must code: lambda x: sin(x*x)+cos(x*x) How to make x*x to be evaluated ...
    Sergey DorofeevSergey Dorofeev
    Jun 1, 2007 at 7:51 am
    Jun 4, 2007 at 11:56 am
  • Hi, I'm offering a challenge to extend the following page by one good example: http://wiki.python.org/moin/SimplePrograms Right now the page starts off with 15 examples that cover lots of ground in ...
    Steve HowellSteve Howell
    Jun 11, 2007 at 9:56 pm
    Jun 22, 2007 at 5:20 pm
  • I mean other than sysadmins, programmers, and web-site developers? I have heard of some DBAs who use a lot of python. I suppose some scientists. I think python is used in bioinformatics. I think some ...
    WalterbyrdWalterbyrd
    Jun 4, 2007 at 7:37 pm
    Jun 12, 2007 at 11:10 pm
  • Python seems to have a log of ways to do collections of arbitrary objects: lists, tuples, dictionaries. But what if I want a collection of non-arbitrary objects? A list of records, or something like ...
    WalterbyrdWalterbyrd
    Jun 21, 2007 at 6:19 pm
    Jun 29, 2007 at 9:37 am
  • HI I'm currently using Python. I find that a instance variable must confined with self, for example: class a: def __init__(self): self.aa def bb(self): print self.aa # See .if in c++,I could use aa ...
    Hide1713Hide1713
    Jun 27, 2007 at 11:02 am
    Jul 2, 2007 at 2:23 am
  • Hello, I have searched a good deal about this topic and have not found any good information yet. It seems that the people asking all want something a bit different than what I want and also don't ...
    DlomsakDlomsak
    Jun 30, 2007 at 11:52 pm
    Jul 10, 2007 at 9:17 am
  • Hi, I'm wondering if it is useful to extend the count() method of a list to accept a callable object? What it does should be quite intuitive: count the number of items that the callable returns True ...
    PingPing
    Jun 14, 2007 at 7:53 pm
    Jun 18, 2007 at 10:25 pm
  • Hi all, I am running Python 2.5 on Feisty Ubuntu. I came across some code that is substantially slower when in a method than in a function. ################# START SOURCE ############# # The function ...
    IdoergIdoerg
    Jun 14, 2007 at 12:40 am
    Jun 14, 2007 at 10:26 pm
  • The never-ending debate about PEP 3131 got me thinking about natural languages with respect to Python, and I have a bunch of mostly simple observations (some factual, some anecdotal). I present these ...
    Steve HowellSteve Howell
    Jun 4, 2007 at 2:38 am
    Jun 10, 2007 at 6:59 pm
  • Okay, I hear you saying 'not another naming conventions thread'. I've read through Google and the 'naming conventions' threads were rather *spelling conventions* threads. I'm not interested in ...
    Thorsten KampeThorsten Kampe
    Jun 4, 2007 at 4:03 am
    Jun 11, 2007 at 8:32 pm
  • Yeah I know strings == immutable, but question 1 in section 7.14 of "How to think like a computer Scientist" has me trying to reverse one. I've come up with two things, one works almost like it ...
    ScottScott
    Jun 27, 2007 at 4:53 pm
    Jul 5, 2007 at 8:20 pm
  • Hi all I have a small problem. I have come up with a solution, but I don't know if it is a) safe, and b) optimal. I have a class with a number of attributes, but for various reasons I cannot assign ...
    Frank MillmanFrank Millman
    Jun 11, 2007 at 9:24 am
    Jun 13, 2007 at 2:42 pm
  • Hi to all... I'm actually using Tkinter for my GUI... but I need to "put a piece of a web-page in a widget" how can I do? which GUI module do you suggest me to use for do that? or which GUI module do ...
    ZioMiPZioMiP
    Jun 5, 2007 at 9:57 pm
    Jun 6, 2007 at 3:45 pm
  • Hi list, I have a need to create class methods on the fly. For example, if I do: class Dummy: def __init__(self): exec '''def method_dynamic(self):\n\treturn self.method_static("it's me")''' return ...
    John HenryJohn Henry
    Jun 22, 2007 at 7:02 pm
    Jun 24, 2007 at 9:05 pm
  • Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter nor ...
    Thorsten KampeThorsten Kampe
    Jun 29, 2007 at 10:40 pm
    Jul 14, 2008 at 5:52 pm
  • I wish to prevent a python script from running twice; it's an hourly job, but can take too long. My simplistic script looks like ....... def main(): fn = 'MARKER' if os.path.isfile(fn): log('%s: ...
    Robin BeckerRobin Becker
    Jun 18, 2007 at 3:56 pm
    Jun 19, 2007 at 9:20 am
  • Well, I know I'm preaching to the converted - but Python rocks. I've been enchanted by the siren calls of Scheme, Lisp and Forth, but in the end, I find Python much easier. I even tried a little bit ...
    Mark CarterMark Carter
    Jun 2, 2007 at 1:26 pm
    Jun 15, 2007 at 5:34 am
  • ...at least around here. I run a corporate Open Source Software Toolkit, which makes hundreds of libraries and apps available to thousands of technical employees. The rules are that a) a very few ...
    Harry GeorgeHarry George
    Jun 21, 2007 at 12:10 pm
    Jun 28, 2007 at 3:13 am
  • Hi, I want to learn Python in less than a month which resources should I use. I prefer to read books . Please give me a list of *recognized* resources. Thank You all
    AmolAmol
    Jun 15, 2007 at 11:41 am
    Jun 17, 2007 at 5:10 am
  • This wiki page suggests using a chroot jail to sandbox Python, but wouldn't running something like this in your sandboxed Python instance still break you out of the chroot jail: os.execle ...
    GregpineroGregpinero
    Jun 25, 2007 at 5:21 am
    Jul 3, 2007 at 11:03 pm
  • This might be a very weird construction, but it's the most easy way in translating another language into Python (for simulation). Although it works, I like to know if this a valid construction: I've ...
    Stef MientkiStef Mientki
    Jun 22, 2007 at 7:43 pm
    Jun 25, 2007 at 12:09 pm
  • Hi, I recently started working a lot more in python than I have done in the past. And I discovered something that totally removed the pretty pink clouds of beautifulness that had surrounded my ...
    Per9000Per9000
    Jun 4, 2007 at 6:43 am
    Jun 6, 2007 at 5:52 am
  • I need to develop a cross-platform text-mode application. I would like to do it in Python and I would like to use a mature text-mode library for the UI stuff. The obvious choice, I thought, was ...
    PinkfloydhomerPinkfloydhomer
    Jun 18, 2007 at 11:58 pm
    Jun 21, 2007 at 8:04 am
  • Hi, When I do a small program like from subprocess import Popen popen = Popen(["ping", "google.com"]) from time import sleep sleep(100) start it and kill it, the ping process lives on. Is there a way ...
    Thomas Dybdahl AhleThomas Dybdahl Ahle
    Jun 5, 2007 at 11:58 am
    Jun 7, 2007 at 1:48 pm
  • Before all, I'm not a professional programmer but just a biophysics ph.d. student, so if something makes you scream of horror, please forgive me... Ok, this is not straightforward at all. I am ...
    Massimo s.Massimo s.
    Jun 28, 2007 at 10:24 am
    Jun 28, 2007 at 4:45 pm
  • I am writing a simple email program in Python that will send out emails containing Chinese characters in the message subject and body. I am not having any trouble getting the email body displayed ...
    BugmagnetBugmagnet
    Jun 20, 2007 at 11:05 am
    Jun 25, 2007 at 12:56 pm
  • Hi, which IDE would you recommend for a python ?
    Tom GurTom Gur
    Jun 19, 2007 at 10:39 am
    Jun 22, 2007 at 6:18 pm
  • Hi, I'm new to python, and I can't seem to find in the docs how to create the python equivalent of what's called in most OOP languages "static classes", can you give me a hint ?
    Tom GurTom Gur
    Jun 19, 2007 at 12:00 pm
    Jun 20, 2007 at 4:03 pm
  • I don't expect multiline lambdas to be added to Python. I'm not so sure that that's a bad thing. Regardless, isn't it possible to write your own implementation of multiline lambdas as functions? ...
    Josh GilbertJosh Gilbert
    Jun 12, 2007 at 3:02 am
    Jun 16, 2007 at 2:18 am
  • Hello All, I'm using numpy to calculate determinants of matrices that look like this (13x13): [[ 0. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] [ 1. 0. 1. 4. 1. 9. 4. 4. 1. 1. 4. 9. 4. 9.] [ 1. 1. 0. 1. ...
    James StroudJames Stroud
    Jun 6, 2007 at 11:10 am
    Jun 8, 2007 at 6:18 am
  • I was reading in a book that the 'int' type can store whole numbers up to 32 bits. I'm not exactly sure what that means, but got me wondering, what's the largest number you can store as an 'int' ...
    JayJay
    Jun 3, 2007 at 2:30 am
    Jun 4, 2007 at 10:04 am
  • Hello folks :) This has got to be an FAQ, but somehow I can't seem to find an answer that I understand ... I thought: I'll just write a decorator that lets me react to method calls easily (the ever ...
    Wildemar WildenburgerWildemar Wildenburger
    Jun 1, 2007 at 9:27 pm
    Jun 2, 2007 at 4:42 pm
  • Is the any way to get an efficient 16bit hash in python? -- Robin Becker
    Robin BeckerRobin Becker
    Jun 27, 2007 at 2:49 pm
    Jun 28, 2007 at 8:04 pm
  • Hello, I have problem with installing Python on the Linux platform.Can you tell me step by step how can I install python on linux ( please detailed ) , because I don't know anything about linux and I ...
    VedrandekovicVedrandekovic
    Jun 25, 2007 at 7:46 pm
    Jun 26, 2007 at 4:52 pm
  • I hesitate to ask, but ... I'm using Ubuntu Feisty: * Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 * SQLite version 3.3.13 Suppose I run the following ...
    Mark carterMark carter
    Jun 17, 2007 at 11:59 am
    Jun 19, 2007 at 4:10 pm
  • I've been having problem with the following code. It's supposed to print the prime numbers between 10 and 100. But i'm not getting any output, i.e. i guess the outer 'for' loop is being traversed ...
    Why?Why?
    Jun 12, 2007 at 4:25 am
    Jun 13, 2007 at 5:11 am
  • Many of the file formats I have to work with are so-called fixed-format records, where every line in the file is a record, and every field in a record takes up a specific amount of space. For ...
    Neil CeruttiNeil Cerutti
    Jun 8, 2007 at 3:50 pm
    Jun 9, 2007 at 11:18 am
  • I'm pretty comfortable with Python, but recently I'm constantly finding mysterious issues with import. For example, looking at http://genshi.edgewall.org/browser/trunk/genshi/filters/transform.py the ...
    David AbrahamsDavid Abrahams
    Jun 21, 2007 at 8:03 pm
    Jul 5, 2007 at 8:07 am
  • I would like to have a useful rappresentation of infinite, is there already something?? I was thinking to something like this class Inf(int): """numero infinito""" def __init__(self,negative=False): ...
    AndreaAndrea
    Jun 27, 2007 at 10:41 am
    Jul 3, 2007 at 5:09 am
  • I am trying to modify a programming example and I am coming up with two problems... first is that I can't seem to pass along the arguments to the external command (I have been able to do that with ...
    Eric_DexterEric_Dexter
    Jun 20, 2007 at 3:27 pm
    Jun 25, 2007 at 6:16 am
  • hello, I need to search a piece of text and make all words that are equal (except their case) also equal in their case, based on the first occurrence. So I'm using a dictionary to store names and ...
    Stef MientkiStef Mientki
    Jun 19, 2007 at 7:16 pm
    Jun 20, 2007 at 6:15 pm
  • Hi, Can someone explain me, what is wrong with this site ? python linkExtractor3.py http://www.noticiasdeaveiro.pt test HTMLParser.HTMLParseError: EOF in middle of construct, at line 1173, column 1 ...
    Sergio Monteiro BastoSergio Monteiro Basto
    Jun 18, 2007 at 7:38 pm
    Jun 20, 2007 at 1:13 pm
  • My C extension works wrong, and debug it, found that sizeof (INT64) = 4, not 8. I compile on Windows XP platform. Please tell me how to fix it to support INT64? Thanks.
    AllenAllen
    Jun 12, 2007 at 10:03 am
    Jun 14, 2007 at 5:01 pm
  • Hello, I am new to Python. I have the following question / problem. I have a visualization software with command-line interface (CLI), which essentially is a Python (v. 2.5) interpreter with ...
    ReubendbReubendb
    Jun 11, 2007 at 4:02 pm
    Jun 13, 2007 at 1:23 am
  • Is there a resource somewhere on the net that can be used to quickly and effectively show Python's strengths to non-Python programmers? Small examples that will make them go "Wow, that _is_ neat"?
    PinkfloydhomerPinkfloydhomer
    Jun 7, 2007 at 12:33 pm
    Jun 8, 2007 at 11:50 pm
  • I would like to write some code that would randomly select a function from a list of functions and call it. I was looking in the globals names space and randomly selecting items that were of type ...
    David BearDavid Bear
    Jun 7, 2007 at 3:56 pm
    Jun 8, 2007 at 12:06 pm
Group Navigation
period‹ prev | Jun 2007 | next ›
Group Overview
grouppython-list @
categoriespython
discussions743
posts4,129
users943
websitepython.org

943 users for June 2007

Gagsl-Py2: 145 posts Steve Howell: 82 posts Douglas Alan: 62 posts Kyosohma: 57 posts Steven D'Aprano: 55 posts Diez B. Roggisch: 53 posts Marc 'BlackJack' Rintsch: 51 posts Evan Klitzke: 48 posts Martin v. Löwis: 48 posts Neil Cerutti: 47 posts Twisted: 45 posts Josiah Carlson: 44 posts Terry Reedy: 43 posts Bruno Desthuilliers: 42 posts John Machin: 40 posts Peter Otten: 39 posts Alex Martelli: 38 posts Ben Finney: 35 posts Steve Holden: 33 posts 7stud: 30 posts
show more
Archives