Search Discussions

686 discussions - 3,682 posts

  • I understand that the standard Python distribution is considered the C-Python. Howerver, the current C-Python is really a combination of C and Python implementation. There are about 2000 Python files ...
    Dec 9, 2007 at 9:14 pm
    Dec 14, 2007 at 9:02 am
  • I wrote a software and I want to protect it so can not be cracked easily. I wrote it in python and compile it using py2exe. what is the best way in your opinion?
    Dec 10, 2007 at 7:15 am
    Dec 22, 2007 at 7:46 am
  • Hi, why does the Python installer on Windows put the Python DLL into the Windows system32 folder? Wouldn't it be more clean to place it into the Python installation folder beside the python.exe file? ...
    Markus GritschMarkus Gritsch
    Dec 23, 2007 at 2:52 pm
    Dec 29, 2007 at 11:19 am
  • I've found some bizzare behavior when using mutable values (lists, dicts, etc) as the default argument of a function. I want to get the community's feedback on this. It's easiest to explain with ...
    Dec 29, 2007 at 5:50 pm
    Jan 2, 2008 at 10:56 am
  • Python is my favorite programming language. I've used it as my primary language for about six years now, including four years of using it full-time in my day job. Three months ago I decided to take a ...
    Steve HowellSteve Howell
    Dec 8, 2007 at 5:08 am
    Dec 11, 2007 at 6:39 pm
  • OK, I don't mean to start any sort of war or flaming or anything here but I really need to discuss this with other afficionados of Python - I know none other than myself. I'm a software developer. ...
    Ron ProvostRon Provost
    Dec 12, 2007 at 12:24 am
    Dec 16, 2007 at 1:09 pm
  • Hi, I'm struggling to use the python in-built csv module, and I must say I'm less than satisfied. Apart from being rather poorly documented, I find it especially cumbersome to use, and also rather ...
    Massimo s.Massimo s.
    Dec 11, 2007 at 7:14 pm
    Dec 14, 2007 at 11:40 pm
  • Hi, With properties, attributes and methods seem very similar. I was wondering what techniques people use to give clues to end users as to which 'things' are methods and which are attributes. With ...
    Dec 8, 2007 at 7:19 am
    Dec 19, 2007 at 1:28 pm
  • Hello everyone, I have written this small utility function for transforming legacy file to Python dict: def lookupdmo(domain): lines = open('/etc/virtual/domainowners','r').readlines() lines = [ ...
    Dec 7, 2007 at 11:31 am
    Dec 9, 2007 at 12:07 am
  • A friend of mine is picking up some Python and is frustrated by Python's indentation rules (http://greatbiggary.livejournal.com/ 260460.html?thread35884#t1835884). Personally, I've never had any ...
    Dec 18, 2007 at 10:16 pm
    Dec 20, 2007 at 10:38 pm
  • I'm a java guy used to the effective edit/run cycle you get with a good IDE. Today I'm writing my first Python, but can't seem to find the way to use Python's inherent edit/run cycle. I edit my ...
    Dec 8, 2007 at 6:17 pm
    Dec 17, 2007 at 9:27 pm
  • I'm looking for a linked list implementation. Something iterable with constant time insertion anywhere in the list. I was wondering if deque() is the class to use or if there's something else. Is ...
    Just Another Victim of the Ambient MoralityJust Another Victim of the Ambient Morality
    Dec 9, 2007 at 10:43 pm
    Dec 12, 2007 at 1:58 pm
  • I wrote a little cheat sheet for this wonderful language, but because of my still little experience with it, I would like to have a feedback Could you have a look at it and tell me what do you think ...
    Riccardo T.Riccardo T.
    Dec 27, 2007 at 5:38 pm
    Jan 1, 2008 at 3:40 pm
  • How on earth do I convert strings to lists. I have a string with a list it in it and I'm trying to convert it into a list. Please help me. Ex."[16, 16, 2, 16, 2, 16, 8, 16]"-string to [16, 16, 2, 16, ...
    Katie smithKatie smith
    Dec 11, 2007 at 10:14 pm
    Dec 29, 2007 at 1:55 am
  • I need to take the take the pdf output from reportlab and create a preview image for a web page. so png or something. I am sure ghostscript will be involved. I am guessing PIL or ImageMagic ? all ...
    Carl KCarl K
    Dec 24, 2007 at 5:53 am
    Dec 28, 2007 at 5:34 pm
  • I'm very surprised actually, to see that Python rejected the use of fractional/rational numbers. However, when I read the PEP, I know exactly why the proposal was rejected: People compared fractions ...
    Dec 15, 2007 at 8:00 pm
    Dec 18, 2007 at 6:13 am
  • All, I seem to be having problems with running my python code, written on a Mac, on Linux and Windows boxes. It seems like the problem has to do with tab indention, particularly I've noticed that my ...
    Dec 28, 2007 at 10:51 pm
    Jan 2, 2008 at 1:47 pm
  • Hi, I have a dictionary with million keys. Each value in the dictionary has a list with up to thousand integers. Follow is a simple example with 5 keys. dict = {1: [1, 2, 3, 4, 5], 2: [10, 11, 12], ...
    Seongsu LeeSeongsu Lee
    Dec 9, 2007 at 4:23 pm
    Dec 14, 2007 at 6:32 pm
  • Hi, Under Windows XP os.access has a strange behaviour: I create a folder test under e: then os.access('e:\\test', os.W_OK) returns True. Everything's ok. Now I move My Documents to this e:\test ...
    Yann LeboulangerYann Leboulanger
    Dec 1, 2007 at 9:48 am
    Dec 5, 2007 at 10:41 am
  • Hi. First let me start by saying, please don't let this become a flame-thing. Second, I need some advice. I am a 35 year old programmer, who program in C/C++, PHP and Bourne Shell almost daily. I am ...
    Rico SecadaRico Secada
    Dec 28, 2007 at 3:23 pm
    Jan 3, 2008 at 3:13 pm
  • Is the following correct? x = "some string" x is a reference to "some string" foo(x) Reference is passed to function. In foo: x += " change" Strings are immutable, so x in foo() now points to a ...
    Dec 20, 2007 at 6:57 pm
    Dec 23, 2007 at 4:40 pm
  • Dear web gods: After much, much, much struggle with unicode, many an hour reading all the examples online, coding them, testing them, ripping them apart and putting them back together, I am humbled. ...
    Dec 10, 2007 at 7:29 am
    Dec 13, 2007 at 12:43 am
  • Hi, after a couple of days of script debugging, I kind of found that some assumptions I was doing about the memory complexity of my classes are not true. I decided to do a simple script to isolate ...
    Dec 18, 2007 at 7:26 pm
    Dec 23, 2007 at 5:27 am
  • OK, it's a scripting language. ... os.remove('tokeneizer.pyc') ... reload( tokeneizer ) ... tokeneizer.tokenize('sample_decaf.d') ... But that gets me to: ... line 110, in get_toks UnboundLocalError: ...
    Dec 10, 2007 at 4:31 pm
    Dec 11, 2007 at 8:59 pm
  • Hi all, I tried reading http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/334695 on the same subject, but it didn't work for me. I'm trying to learn how to make pivot tables from some excel ...
    Patrick WaldoPatrick Waldo
    Dec 27, 2007 at 5:56 pm
    Jan 4, 2008 at 5:50 pm
  • One bad design about elementtree is that it has different ways parsing a string and a file, even worse they return different objects: 1) When you parse a file, you can simply call parse, which ...
    Peter PeiPeter Pei
    Dec 31, 2007 at 3:42 am
    Jan 3, 2008 at 2:15 pm
  • After quite enjoying participating in the group in 2007, I'd like to wish you all a Merry Xmas. - Paddy.
    Dec 24, 2007 at 6:17 am
    Dec 28, 2007 at 10:03 am
  • Hello, I get the date/time of the dynamic update entries in a format, which is as far as I know the hours since january 1st 1901. For Example: the number 3566839 is 27.11.07 7:00. To calculate this ...
    Dirk HagemannDirk Hagemann
    Dec 7, 2007 at 1:20 pm
    Dec 10, 2007 at 7:10 pm
  • Hi, I have a binary file containing 3 byte float values. How can I read them into python? The struct module does not work, since it expects 4 byte floats. Any hints? Mario
    Mario M. MuellerMario M. Mueller
    Dec 8, 2007 at 10:31 am
    Dec 10, 2007 at 12:23 pm
  • Hi all. I found cooperative multi-threading(only one thread runs at once, explicit thread switching) is useful for writing some simulators. With it, I'm able to be free from annoying mutual ...
    Akihiro KAYAMAAkihiro KAYAMA
    Dec 22, 2007 at 12:10 pm
    Dec 28, 2007 at 9:51 pm
  • Greetings, I designed in JavaScript a small program on my website called 5 queens. (http://www.cf29.com/design/dame5_eng.php) The goal is to control all the chess board with five queens that do not ...
    Dec 22, 2007 at 7:36 pm
    Dec 24, 2007 at 8:26 pm
  • I'm considering deprecating these two functions and would like some feedback from the community or from people who have a background in functional programming. * I'm concerned that use cases for the ...
    Raymond HettingerRaymond Hettinger
    Dec 29, 2007 at 11:10 pm
    Feb 18, 2008 at 12:39 pm
  • Hi I'm trying to make a method call automatically to its super using this syntax: class A: chained = ['pr'] def pr(self): print 'Hello from A' class B(A): def pr(self): print 'Hello from B' chain(B, ...
    Dec 31, 2007 at 1:47 pm
    Jan 10, 2008 at 2:59 am
  • This is *not* an attempt to start yet another Python-versus- AnyOtherProgrammingLanguage flame war, but I thought people might be interested in this: http://www.tiobe.com/tpci.htm Marc
    Dec 4, 2007 at 3:08 pm
    Dec 6, 2007 at 11:50 am
  • I am relatively new the python language and I am afraid to be missing some clever construct or built-in way equivalent to my 'chunk' generator below. def chunk(size, items): """generate N items from ...
    Dec 27, 2007 at 11:34 am
    Jan 11, 2008 at 3:36 am
  • Hi everyone, I am trying to generate a PDF printable format file from an html page. Is there a way to do this using python. If yes then which library and functions are required and if no then reasons ...
    Dec 16, 2007 at 10:51 am
    Dec 20, 2007 at 3:54 pm
  • I've designed a language, Decaf, for beginners. I've got block comments but not multi-line strings. If you can only have one or the other, which is more helpful? Should I have both? (Make a strong ...
    Dec 17, 2007 at 7:36 pm
    Dec 19, 2007 at 8:15 pm
  • Recently, I got into a debate on programming.reddit.com about what should happen in the following case: Currently, Python raises an error *and* changes the first element of the tuple. Now, this seems ...
    Dec 24, 2007 at 3:22 pm
    Dec 28, 2007 at 2:42 pm
  • Hi all, I'm pretty new to Python (a little over a month). I was wondering -- is something like this: s = re.compile('whatever') def t(whatnot): return s.search(whatnot) for i in xrange(1000): print ...
    William McBrineWilliam McBrine
    Dec 22, 2007 at 10:53 am
    Dec 27, 2007 at 10:04 pm
  • First off let me state that I really enjoy using Python. I am a 3rd year student and have been using python for 3 months, (thanks to trac!). I do not consider myself an experienced or clever ...
    Dec 11, 2007 at 2:22 pm
    Dec 13, 2007 at 7:21 pm
  • A user reports problems with one of our extensions when running the intel compiled extension on ppc and vice versa. He is building the extension as a universal binary. Although the intel compiled ...
    Robin BeckerRobin Becker
    Dec 8, 2007 at 2:17 pm
    Dec 10, 2007 at 2:43 pm
  • How to detect memory leaks of python programms, which run in an environment like this: * Suse Linux 9.3 * Apache * mod_python The problem occoured after some updates on the infrastructure. It's most ...
    Ilias LazaridisIlias Lazaridis
    Dec 17, 2007 at 6:41 am
    Dec 23, 2007 at 9:25 am
  • Python has a GIL that impairs scalability on computers with more than one processor. The problem seems to be that there is only one GIL per process. Solutions to removing the GIL has always stranded ...
    Dec 18, 2007 at 4:24 am
    Dec 20, 2007 at 11:35 am
  • We are trying to monkey-patch a third-party library that mixes new and old-style classes with multiple inheritance. In so doing we have uncovered some unexpected behaviour: <quote class Foo: pass ...
    Dec 18, 2007 at 3:08 pm
    Dec 20, 2007 at 8:57 am
  • Etsy is an online marketplace for buying and selling all things handmade: clothing, music, furniture, software, jewelry, robots. We launched on June 18, 2005, and ever since then have been empowering ...
    Dec 10, 2007 at 8:14 am
    Dec 14, 2007 at 4:55 pm
  • Hey, I have a bit of code that died on a domain error when doing an arcsin, and apparently it's because floating point subtraction is having problems. I know about the impossibility of storing ...
    Dec 13, 2007 at 10:30 pm
    Dec 14, 2007 at 3:56 pm
  • I've been playing with Python a bit. Doing little performance benchmarks and working with Psyco. It's been fun and I've been learning a lot. For example, in a previous post, I was looking for a way ...
    Joe GoldthwaiteJoe Goldthwaite
    Dec 6, 2007 at 10:06 pm
    Dec 10, 2007 at 7:44 pm
  • Hi, Is it possible to find out if an object is of a certain type or of a type derived from this type? Thanks, Barry
    Dec 5, 2007 at 12:52 pm
    Dec 7, 2007 at 4:58 pm
  • Hi Python Community: Despite my new-ness to Python I have alreadhy been able to do some (I think) amazing things. It is a truly elegant and smart language. Yet, I can not seem to get a handle on ...
    Dec 31, 2007 at 4:56 pm
    Jan 2, 2008 at 5:14 am
  • Hi list, This is waaaaay off topic but maybe somebody knowledgeable can help. I'm looking for the most minimalist web server ever that does nothing else than return a fixed static page for every ...
    Daniel FetchinsonDaniel Fetchinson
    Dec 2, 2007 at 2:35 am
    Jan 1, 2008 at 1:43 am
Group Navigation
period‹ prev | Dec 2007 | next ›
Group Overview
grouppython-list @

855 users for December 2007

Gabriel Genellina: 111 posts John Machin: 101 posts Bruno Desthuilliers: 93 posts Steven D'Aprano: 75 posts Bruno Desthuilliers: 56 posts Martin v. Löwis: 55 posts Mike Driscoll: 50 posts Neil Cerutti: 50 posts MonkeeSage: 48 posts Chris Mellon: 47 posts Diez B. Roggisch: 47 posts MartinRinehart: 44 posts Terry Reedy: 39 posts Christian Heimes: 34 posts Duncan Booth: 32 posts Sturlamolden: 32 posts Donn Ingle: 31 posts Chris: 30 posts Tim Chase: 30 posts Marc 'BlackJack' Rintsch: 29 posts
show more