FAQ

Search Discussions

569 discussions - 3,704 posts

  • I'm pretty new to Python, and I like a lot overall, but I find the documentation for Python rather poor, overall. I'm sure that Python experts don't have this problem: they have internalized some ...
    KjKj
    Jul 31, 2009 at 8:10 pm
    Dec 4, 2014 at 11:57 pm
  • How do you explain that something as inferior as Python beat Lisp in the market place despite starting 40 years later.
    Fft1976Fft1976
    Jul 19, 2009 at 5:33 pm
    Jul 31, 2009 at 9:02 am
  • Current Boolean operators are 'and', 'or', and 'not'. It would be nice to have an 'xor' operator as well. -- View this message in context: ...
    Dr. Phillip M. FeldmanDr. Phillip M. Feldman
    Jul 14, 2009 at 6:25 pm
    Jul 27, 2009 at 9:12 am
  • Hello fellow Pythonista's it's nice to be back after such a long hiatus. I have recently realized my blind love affair with Python was just that. I must admit there are better ways to program. Like ...
    RR
    Jul 30, 2009 at 3:06 am
    Aug 26, 2009 at 9:00 pm
  • I'm will be teaching a programming class to novices, and I've run into a clear conflict between two of the principles I'd like to teach: code clarity vs. code reuse. I'd love your opinion about it. ...
    KjKj
    Jul 3, 2009 at 2:05 pm
    Jul 16, 2009 at 1:19 pm
  • My colleagues and I have been working with python for around 6 months now, and while we love a lot of what python has done for us and what it enables us to do some of the decisions behind such ...
    Phillip B OldhamPhillip B Oldham
    Jul 20, 2009 at 4:27 pm
    Aug 4, 2009 at 10:15 am
  • I'm having a hard time coming up with a reasonable way to explain certain things to programming novices. Consider the following interaction sequence: ... some_int += 2 ... some_list += [2] ... ...
    KjKj
    Jul 7, 2009 at 8:04 pm
    Jul 22, 2009 at 12:18 am
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20090724/6d9321db/attachment.htm
    Phillip M. FeldmanPhillip M. Feldman
    Jul 24, 2009 at 3:58 pm
    Jul 27, 2009 at 9:04 pm
  • Hey I was hoping to get your opinions on a sort of minor stylistic point. These two snippets of code are functionally identical. Which would you use and why? The first one is easier [for me anyway] ...
    Simon FormanSimon Forman
    Jul 2, 2009 at 5:23 pm
    Jul 22, 2009 at 7:21 pm
  • As an example of code that really needs to run fast, but is speed-limited by Python's limitations, see "tokenizer.py" in http://code.google.com/p/html5lib/ This is a parser for HTML 5, a piece of ...
    John NagleJohn Nagle
    Jul 4, 2009 at 5:33 pm
    Jul 7, 2009 at 4:40 pm
  • hello there, I've a question : I want to know does python have any capability for using Ring0 and kernel functions for driver and device development stuff . if there's such a feature it is very good, ...
    MalC0deMalC0de
    Jul 29, 2009 at 8:21 pm
    Aug 9, 2009 at 11:51 pm
  • Hi all, I have just released version 0.2 of Shed Skin, an experimental (restricted) Python-to-C++ compiler (http://shedskin.googlecode.com). It comes with 7 new example programs (for a total of 40 ...
    Mark DufourMark Dufour
    Jul 19, 2009 at 2:30 pm
    Jul 27, 2009 at 11:16 am
  • Currently I need to find the most common elements in thousands of arrays within one large array (arround 2 million instances with ~70k unique elements) so I set up a dictionary to handle the counting ...
    MclovinMclovin
    Jul 4, 2009 at 7:33 am
    Jul 10, 2009 at 9:07 pm
  • I have fairly often found the need to split a sequence into two groups based on a function result. Much like the existing filter function, but returning a tuple of true, false sequences. In Python, ...
    SchickbSchickb
    Jul 3, 2009 at 2:56 am
    Jul 3, 2009 at 8:07 pm
  • Hi all, I've been working on a new implementation of the re module. The details are at http://bugs.python.org/issue2636, specifically from http://bugs.python.org/issue2636#msg90954. I've included a ...
    MRABMRAB
    Jul 27, 2009 at 4:34 pm
    Jul 30, 2009 at 10:06 pm
  • Hi! Can anyone please help me getting rid of this error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 13: ordinal not in range(128) I am not a python programmer ...
    Akhil1988Akhil1988
    Jul 16, 2009 at 4:34 am
    Jul 18, 2009 at 6:25 pm
  • For a recovering Perl-head like me it is difficult to understand why Python's re module offers both match and search. Why not just use search with a beginning-of-string anchor? I find it particularly ...
    KjKj
    Jul 1, 2009 at 5:56 pm
    Jul 7, 2009 at 1:37 pm
  • Los Angeles (AP) --MeAmI.org now has users in 50 countries following its adopted use in Pakistan. The search engine has grown in popularity 10,000 fold following its Beta test launch three months ago ...
    MusatovMusatov
    Jul 10, 2009 at 1:03 am
    Jul 11, 2009 at 3:34 am
  • Hello, I'm fairly new at Python so hopefully this question won't be too awful. I am writing some code that will FTP to a host, and want to catch any exception that may occur, take that and print it ...
    Seldan24Seldan24
    Jul 13, 2009 at 1:26 pm
    Jul 15, 2009 at 3:15 pm
  • Hi, I wanted to make a python byte-code file executable, expecting to be able to run it without specifying "python" on the (Linux bash) command line. So, I wrote the following: [root at VMLinux1 ...
    Barak, RonBarak, Ron
    Jul 29, 2009 at 11:36 am
    Aug 3, 2009 at 8:04 am
  • hi there. is there a way to dump the content of a turtle window to a file or a file object? bye
    SuperpolloSuperpollo
    Jul 16, 2009 at 10:56 am
    Jul 18, 2009 at 6:42 am
  • I believe Guido himself has said that all indentions should be four spaces - no tabs. Since backward compatibility is being thrown away anyway, why not enforce the four space rule? At least that way, ...
    WalterbyrdWalterbyrd
    Jul 10, 2009 at 7:22 pm
    Jul 17, 2009 at 11:09 pm
  • In <h30e3t$g56$2 at reader1.panix.com kj <no.email at please.post writes: To clarify, this comes from my reading of Fredrik Lundh's pages "Python Objects" (http://effbot.org/zone/python-objects.htm) ...
    KjKj
    Jul 8, 2009 at 2:04 pm
    Jul 15, 2009 at 1:05 pm
  • I am trying to write a simple little program to do some elementary stock market analysis. I read lines, send each line to a function and then the function returns a date which serves as a key to a ...
    NileNile
    Jul 6, 2009 at 10:02 pm
    Jul 8, 2009 at 1:40 pm
  • Hi, I'm trying to get https requests working through an authenticating proxy with urllib2 in Python 2.5, I'm aware that this isn't supported "out of the box", so applied the patch ...
    TvashtarTvashtar
    Jul 20, 2009 at 3:11 pm
    Dec 10, 2013 at 6:15 pm
  • I've seen a lot of posts on this problem, but none seems to help. Here is the code: /code file = open(prefix1) text = file.readlines() len = len(text) fields = text[1].split() num_rows = ...
    NickNick
    Jul 9, 2009 at 1:42 pm
    Jul 10, 2009 at 6:59 pm
  • Hi, I'm just wondering why <, <=, =, and are not supported by collections.OrderedDict: False Traceback (most recent call last): File "<pyshell#6 ", line 1, in <module d1 < d2 TypeError: unorderable ...
    Mark SummerfieldMark Summerfield
    Jul 16, 2009 at 6:21 am
    Jul 25, 2009 at 6:18 pm
  • hello, when I''m working in a library, and want to test some of the library functions, I need to switch to a main application, (which has a normal main-section) and run that. If the library is ...
    Stef MientkiStef Mientki
    Jul 12, 2009 at 1:40 pm
    Jul 13, 2009 at 8:01 am
  • Hi, I am getting the following error when doing a post to REST API, Enter PEM pass phrase: Traceback (most recent call last): File "./ices_catalog_feeder.py", line 193, in ? main(sys.argv[1]) File ...
    JakecjacobsonJakecjacobson
    Jul 27, 2009 at 3:57 pm
    Jul 29, 2009 at 5:10 pm
  • Howdy all, The following is a common idiom:: class FooGonk(object): def frobnicate(self): """ Frobnicate this gonk. """ basic_implementation(self.wobble) class BarGonk(FooGonk): def frobnicate(self): ...
    Ben FinneyBen Finney
    Jul 17, 2009 at 1:01 am
    Jul 28, 2009 at 8:49 pm
  • Hi, I'm not sure the subject describes what I'm looking for, but the question is the following: Is there a way I can tell a variable that the object it is pointing too is not owned by it, in the ...
    Utpal SarkarUtpal Sarkar
    Jul 24, 2009 at 12:38 pm
    Jul 26, 2009 at 7:50 am
  • Hi. I'm writing some class, and decided to use inside private method and some private variables. While with method i haven't got any problem's with variables i have. Maybe some example. A class with ...
    Ryniek90Ryniek90
    Jul 21, 2009 at 8:55 pm
    Jul 23, 2009 at 4:42 pm
  • Hello, I'm reading about implementation of long ints in Python. I downloaded the source code of CPython and will read the longobject.c, but from where I should start reading this file? I mean which ...
    PedramPedram
    Jul 5, 2009 at 7:38 am
    Jul 7, 2009 at 11:06 am
  • Hi experts! I'm developing a GUI for a software using PyQT, and need 3D visualization. Should I use PyOpenGL or VTK? I understand that the PyQt package comes with a opengl module. What else would I ...
    HelvinHelvin
    Jul 8, 2009 at 8:51 am
    Sep 1, 2009 at 8:25 am
  • hello there, I'm using Learning Python 3rd edition as my core reference, the book is great. here's some snippet for demonstrating echo-server program, but I can't interpret it in both windows / Gnu ...
    MalC0deMalC0de
    Jul 31, 2009 at 7:25 am
    Aug 1, 2009 at 4:04 am
  • Hi, Is there a way to tell if a generator has been exhausted using pure Python code? I've looked at CPython sources and it seems that something like "active"/"exhausted" attribute on genobject is ...
    Michal KwiatkowskiMichal Kwiatkowski
    Jul 25, 2009 at 6:30 pm
    Jul 27, 2009 at 9:37 pm
  • I am attempting to send a jpeg image file created on an embedded device over a wifi socket to a Python client running on a Linux pc (Ubuntu). All works well, except I don't know, on the pc client ...
    TwgrayTwgray
    Jul 18, 2009 at 9:33 pm
    Jul 19, 2009 at 4:09 pm
  • (Here's a short version of the long version below if you don't want to read:) Why is version B of the code faster than version A? (Only three lines different) Version A: http://pastebin.com/f14561243 ...
    Xavier HoXavier Ho
    Jul 6, 2009 at 12:20 am
    Jul 6, 2009 at 10:58 pm
  • Hello All, I am very new to python and I am in the process of loading a very large compressed csv file into another format. I was wondering if I can do this in a multi thread approach. Here is the ...
    Mag GamMag Gam
    Jul 1, 2009 at 1:52 am
    Jul 5, 2009 at 9:52 am
  • Hi! I'm currently converting my bioware to handle Python code and I have stumbled across a problem... Simple scenario: I have a handle to a resource. This handle allows me to manipulate the resource ...
    Ulrich EckhardtUlrich Eckhardt
    Jul 2, 2009 at 7:11 am
    Jul 4, 2009 at 10:47 pm
  • Hi all, I'm having trouble with multiprocessing I'm using it to speed up some simulations, I find for large queues when the process reaches the poison pill it does not exit whereas for smaller queues ...
    Ma3mjuMa3mju
    Jul 31, 2009 at 8:04 am
    Aug 10, 2009 at 3:25 pm
  • As a recurrent situation, I need to invoke the same method on many instances. Speed matters, but the solution should be pure Python. Is the following convenience function a reasonable approach? def ...
    Alan G IsaacAlan G Isaac
    Jul 17, 2009 at 5:19 am
    Jul 27, 2009 at 2:44 am
  • Hi, I have searched this list and found out that Python doesn't have a mutable string class (it had an inefficient one, but this was removed in 3.0). Are there any libraries outside the core that ...
    CasebashCasebash
    Jul 20, 2009 at 9:57 am
    Jul 27, 2009 at 12:36 am
  • How to check if a particular file is locked by some application? (i.e. the file is opened by some application)? -- Regrads, Rajat An HTML attachment was scrubbed... URL: ...
    Dudeja RajatDudeja Rajat
    Jul 7, 2009 at 7:31 pm
    Jul 13, 2009 at 11:37 am
  • Announcing Psyco V2 source release ---------------------------------- This is the long awaited announcement of Psyco V2. Psyco V2 is a continuation of the well-known psyco project, which was called ...
    Christian TismerChristian Tismer
    Jul 17, 2009 at 2:26 am
    Jul 26, 2009 at 10:22 am
  • Hi, I'm trying to implement in Python a function testing if an expression is well parenthesized. For instance the expression "zx4er(1(er(Yy)ol)ol)ik" is correctly parenthesized but this one ...
    CandideCandide
    Jul 14, 2009 at 12:37 pm
    Jul 19, 2009 at 3:45 pm
  • Hi all, For one of my projects, I came across the need to check if one of many items from a list of strings could be found in a long string. I came up with a pretty quick helper function to check ...
    InkhornInkhorn
    Jul 10, 2009 at 1:36 am
    Jul 17, 2009 at 8:06 am
  • So you have chosen programming language "x" so shall you tell us why you did so , and what negatives or positives it has ?
    Deep_FeelingsDeep_Feelings
    Jul 14, 2009 at 3:55 pm
    Jul 15, 2009 at 8:31 am
  • Hi, I am embarking on teaching myself Microsoft UI Automation using Python as the scripting language. I have asked some questions in the IronPython users group, but have yet to get a response, so I ...
    TheSeekerTheSeeker
    Jul 9, 2009 at 5:14 pm
    Jul 10, 2009 at 12:30 pm
  • Hello, Historically, I have used scripting languages like python for typical uses, but they tend to not fare very well at system programming; for close interfacing with the operating system, I'm ...
    Travis+Ml-PythonTravis+Ml-Python
    Jul 17, 2009 at 8:01 pm
    Aug 25, 2009 at 8:15 pm
Group Navigation
period‹ prev | Jul 2009 | next ›
Group Overview
grouppython-list @
categoriespython
discussions569
posts3,704
users742
websitepython.org

742 users for July 2009

Piet van Oostrum: 119 posts MRAB: 100 posts Steven D'Aprano: 92 posts Chris Rebert: 89 posts Gabriel Genellina: 86 posts Aahz: 72 posts Terry Reedy: 70 posts Diez B. Roggisch: 69 posts Dave Angel: 63 posts Peter Otten: 60 posts Michele Petrazzo: 57 posts Carl Banks: 55 posts Lie Ryan: 44 posts Scott David Daniels: 44 posts Superpollo: 41 posts Kj: 37 posts Rhodri James: 36 posts Jean-Michel Pichavant: 35 posts Nobody: 35 posts Robert Kern: 35 posts
show more
Archives