FAQ

Search Discussions

461 discussions - 3,210 posts

  • I get the strong feeling that nobody is really happy with the state of Python GUIs. Tkinter is not widely liked, but is widely distributed. WxPython and PyGtk are both powerful, but quirky in ...
    AntAnt
    Jun 6, 2010 at 2:22 am
    Oct 8, 2011 at 7:19 pm
  • Hi there. Let me preface this by saying that I am a fan of Python. I use it regularly and I like it a lot. That is, I am using and liking Python 2.6. I don't like Python 3. I won't comment on the ...
    Stefan ReichStefan Reich
    Jun 26, 2010 at 3:59 pm
    Jul 1, 2010 at 11:07 pm
  • Hello, I would like to let the community know that there is a new web-based forum for Python enthusiasts over at PythonForum.org (http:// pythonforum.org). Web-based forums is a preferred method by ...
    pyDevpyDev
    Jun 2, 2010 at 8:04 am
    Jun 9, 2010 at 8:51 am
  • Hi, list! I have a doubt about the design of dynamic attribute creation by assignments in Python. As we know, in Python, we are able to create a new attribute of a class dynamically by an assignment: ...
    WANG CongWANG Cong
    Jun 25, 2010 at 1:15 pm
    Jul 9, 2010 at 5:41 am
  • goal (from e.c.m.): evaluate 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three consecutive + must be followed by two - (^ meaning ** in this context) my solution: ... s += i**2 ...
    SuperpolloSuperpollo
    Jun 15, 2010 at 11:49 am
    Jun 19, 2010 at 11:09 am
  • ------------------------- Where is the community? ------------------------- I think the Python community is broken. I think we don't really "have" a community. It's more like a handful of negitive ...
    RantingrickRantingrick
    Jun 13, 2010 at 3:09 am
    Jun 16, 2010 at 2:36 pm
  • hi,all? it's a simple question: input two integers A and B in a line,output A+B? this is my program: s = input() t = s.split() a = int(t[0]) b = int(t[1]) print(a+b) but i think it's too complex,can ...
    YanhuaYanhua
    Jun 11, 2010 at 2:11 pm
    Jun 17, 2010 at 1:47 pm
  • I've been programming (when I do program) mainly in Perl<http://www.perl.org/ for the last 10 years or so. But I've been itching to learn a new language for a while now, and the two near the top of ...
    Josef TupagJosef Tupag
    Jun 22, 2010 at 8:58 am
    Jun 24, 2010 at 9:09 pm
  • I've a fairly long bash script and I'm wondering how easy it would be to port to Python. Main queries are: Ease of calling out to bash to use something like imageMagick or Java? Ease of grabbing ...
    Dave PawsonDave Pawson
    Jun 28, 2010 at 11:48 am
    Jul 24, 2010 at 5:24 am
  • Which is the best implementation of LISP family of languages for real world programming ? http://wiki.alu.org/Implementation Kindly pick one from commercial and one from open-source . The criteria is ...
    BolegaBolega
    Jun 10, 2010 at 8:14 pm
    Jun 14, 2010 at 6:55 pm
  • Hi; I have a script that calls values from the form that calls it. This script imports another script: from New_Passenger import New_Passenger def create_edit_passengers3(): ... ...
    Victor SuberviVictor Subervi
    Jun 10, 2010 at 2:14 pm
    Jun 16, 2010 at 6:16 pm
  • I am trying to compare LISP/Scheme/Python for their expressiveness. For this, I propose a vanilla C interpreter. I have seen a book which writes C interpreter in C. The criteria would be the small ...
    BolegaBolega
    Jun 13, 2010 at 11:07 pm
    Jul 24, 2010 at 8:56 am
  • Of course one can do myintvar.set(myintvar.get()+1) but surely there is a better way? I'm surprsied that myintvar += 1 is not allowed. Thanks, Alan Isaac
    Alan G IsaacAlan G Isaac
    Jun 24, 2010 at 4:43 am
    Jun 27, 2010 at 6:20 am
  • I am looking for Python OpenSSL library, for Python version 2.5.4 (on Windows) Which does not require to install Cygwin package. Need just to decrypt file, then uninstall library.
    AstralAstral
    Jun 13, 2010 at 8:29 pm
    Jun 17, 2010 at 6:48 pm
  • The MURDEROUS Bustards killed a man who was a SAINT . He ran a sunday soup and food place for the homeless and hungry. http://www.youtube.com/watch?v=Cnz5N9OubCQ ...
    small Poxsmall Pox
    Jun 29, 2010 at 6:35 pm
    Jul 2, 2010 at 12:38 pm
  • I found on the forum some discussion about crypting text and one guy did make assembly implementation of crypting algorithm. He dynamically generates mashine code and call that from python. Here are ...
    DivXDivX
    Jun 19, 2010 at 6:53 pm
    Jun 22, 2010 at 2:10 am
  • Is it possible to override "__setattr__" of a module? I want to capture changes to global variables for debug purposes. None of the following seem to have any effect. modu.__setattr__ = myfn ...
    John NagleJohn Nagle
    Jun 16, 2010 at 2:43 am
    Jun 19, 2010 at 7:39 pm
  • Everyone knows i'm a Python fanboy so nobody can call me a troll for this... Python map is just completely useless. For one it so damn slow why even bother putting it in the language? And secondly, ...
    RantingrickRantingrick
    Jun 6, 2010 at 3:16 pm
    Jun 7, 2010 at 10:35 am
  • Some people appear to not understand the purpose of Python3 or more specifically, of the changes that break Python2 code. I attempt here to give a relatively full explanation. SUMMARY: Python3 ...
    Terry ReedyTerry Reedy
    Jun 28, 2010 at 12:12 am
    Jun 30, 2010 at 4:33 am
  • Hi, Sorry for the long mail but I've been searching the web for days for how to do this.. I see that possibilities using shelve or pickle but I don't want to do this (The source of the data changes ...
    Jerry RocteurJerry Rocteur
    Jun 22, 2010 at 10:05 am
    Jun 24, 2010 at 7:03 pm
  • Hello, I wonder if anyone read this: http://www.amazon.com/PYTHON-2-6-Extending-Embedding-documentation/dp/1441419608/ref=sr_1_7?ie=UTF8&s=books&qid77214352&sr=1-7 or this: ...
    LallousLallous
    Jun 22, 2010 at 1:48 pm
    Jun 24, 2010 at 3:40 pm
  • I would like to create a python script that plays the Windows game minesweeper. The python code logic and running minesweeper are not problems. However, "seeing" the 1-8 in the minesweeper map and ...
    JayJay
    Jun 30, 2010 at 11:39 pm
    Jul 2, 2010 at 10:52 pm
  • Hi; I have this line: cursor.execute('select clientEmail from clients where client=%s', (string.replace(client, '_', ' '))) clientEmail = cursor.fetchone()[0] cursor.execute('select * from %s' % ...
    Victor SuberviVictor Subervi
    Jun 23, 2010 at 1:45 pm
    Jun 26, 2010 at 5:45 pm
  • Any idea how we get rid of this 'noise'? Will it eventually go away if we ignore it, or is there anything the moderators can do to clean-up this (normally) wonderful resource for Python programmers? ...
    Alan Harris-ReidAlan Harris-Reid
    Jun 16, 2010 at 5:56 pm
    Jun 17, 2010 at 2:18 am
  • In my code I have: from string import lower, upper When I use pylint on the program I get just one warning: Uses of a deprecated module 'string'. Iv'e noted that many if not all string functions are ...
    GraySharkGrayShark
    Jun 24, 2010 at 5:06 pm
    Jun 26, 2010 at 7:43 pm
  • I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've ...
    Southof40Southof40
    Jun 20, 2010 at 10:19 am
    Jun 21, 2010 at 10:04 am
  • Jewish Pirates of the Caribbean http://www.youtube.com/watch?v=cFSjKaiN47I&feature=related Python Jewish Pirates of the Caribbean Lisp (Jewish-Pirates Caribbean) I rcvd appreciative and supporting ...
    Nanothermite911fbibustardsNanothermite911fbibustards
    Jun 16, 2010 at 9:25 am
    Jun 21, 2010 at 6:00 am
  • I am a total beginner with Python. I am reading a book ("The Quick Python Book", 2nd edition, by Vernon Ceder) which tells me that print function takes end="" argument not to print newline character. ...
    Deadly DirkDeadly Dirk
    Jun 8, 2010 at 9:44 pm
    Jun 9, 2010 at 2:31 pm
  • I have to merge two dictionaries into one, and in a "shallow" way: changing items should be possible by operating either on two parents or on a new dictionary. I am open to suggestions how to do this ...
    KkumerKkumer
    Jun 7, 2010 at 8:17 pm
    Jun 8, 2010 at 7:12 pm
  • http://www.ae911truth.org/newsletter/2010/06/index.php#cdi Explosive Evidence at WTC Cited by Former CDI Employee News - News Releases By AE911Truth Written by Darcy Wearing and Richard Gage, AIA ...
    Nanothermite911fbibustardsNanothermite911fbibustards
    Jun 26, 2010 at 7:16 pm
    Jul 3, 2010 at 7:41 am
  • Let's the following code : [[0, 0], [0, 0], [0, 0]] [[1, 0], [1, 0], [1, 0]] Rather surprising, isn't it ? So I suppose all the subarrays ref?rence the same array : (3077445996L, 3077445996L, ...
    CandideCandide
    Jun 17, 2010 at 10:21 am
    Jun 18, 2010 at 4:47 pm
  • What's the best way to do the inverse operation of the .join function? -- Neil Cerutti
    Neil CeruttiNeil Cerutti
    Jun 17, 2010 at 5:45 pm
    Jun 18, 2010 at 3:45 pm
  • Hi, there, I'm trying to read the source code of python. I read around, and am kind of lost, so where to start? Any comments are welcomed, thanks in advance.
    LeonLeon
    Jun 10, 2010 at 12:28 am
    Jun 11, 2010 at 7:56 am
  • Hi all. I'm working on something where I need to read a (binary) file bit by bit and do something depending on whether the bit is 0 or 1. Any help on doing the actual file reading is appreciated. ...
    Alfred BovinAlfred Bovin
    Jun 7, 2010 at 8:57 am
    Jun 8, 2010 at 9:47 am
  • I would like to announce to the world the first public release of plac: http://pypi.python.org/pypi/plac Plac is a wrapper over argparse and works in all versions of Python starting from Python 2.3 ...
    Michele SimionatoMichele Simionato
    Jun 2, 2010 at 4:37 am
    Feb 6, 2011 at 2:41 pm
  • Hello, I know that the help text for an object will give a description of every method based on the doc string. Is there a way to add something to this text, specific to an object, but generated at ...
    Brian BlaisBrian Blais
    Jun 27, 2010 at 11:27 pm
    Jun 30, 2010 at 4:38 pm
  • In Python3.2, calling math.erfc with a value in [-27.2, -30) raises an OverflowError: math range error. This is inconsistent with the erfc function from scipy (scipy.special.erfc) as well as with the ...
    Geremy condraGeremy condra
    Jun 12, 2010 at 10:49 pm
    Jun 14, 2010 at 7:07 am
  • I need to test an argument for a few different types. I'm calling my function like this arf = MyFunc(list) What I want to do is to test for whether something is a string, tuple, list or function. ...
    Steven W. OrrSteven W. Orr
    Jun 28, 2010 at 2:09 am
    Jul 1, 2010 at 5:42 am
  • Hello, I'm still a relative newbie to python, so I apologize if this is covered in detail somewhere and I missed it. I have a program or two that I want to work on once I get more proficient with ...
    Monte MilanukMonte Milanuk
    Jun 13, 2010 at 4:19 am
    Jun 18, 2010 at 1:58 am
  • I cannot get right the super() function: Python 3.1.1+ (r311:74480, Nov 2 2009, 14:49:22) [GCC 4.4.1] on linux2 Type "copyright", "credits" or "license()" for more information. ==== No Subprocess ...
    Deadly DirkDeadly Dirk
    Jun 17, 2010 at 4:36 pm
    Jun 18, 2010 at 6:10 pm
  • Some weeks ago, here on the mailing list I read about picloud[1], a python library used for cloud-computing; I was impressed by its simplicity, here is an example: ... return x * x 100 So, I tried to ...
    Matteo LandiMatteo Landi
    Jun 17, 2010 at 1:23 pm
    Jun 18, 2010 at 1:59 am
  • This is all due to DISINFORMATION - FBI bustards are the cause of it. The prime suspect of ANTHRAX is beyond doubt a white or jew (american or israeli) and one name is Zack who worked at AIMES Iowa. ...
    Nanothermite911fbibustardsNanothermite911fbibustards
    Jun 15, 2010 at 10:17 pm
    Jun 16, 2010 at 1:48 pm
  • I just installed 2.6 and 3.1 from current maintenance source on Mac OSx. When I am running as an interactive terminal session the up arrow does not scroll thought the history of the py commands I ...
    Vincent DavisVincent Davis
    Jun 13, 2010 at 11:19 pm
    Jun 14, 2010 at 5:52 pm
  • this is the code i have written ..even after changing d module name i am still getting the same error... what do they mean by an attribute error...can u explain in detail i am unable to proceed ...
    Madhuri vioMadhuri vio
    Jun 9, 2010 at 7:18 am
    Jun 9, 2010 at 11:04 am
  • I hope this is the right place to ask this, and appologise if it's not. I'm trying to install 2.6.5 in Win98 se final. It says "a required dll could not be run". Do I have to upgrade my whole OS just ...
    Spyder42Spyder42
    Jun 4, 2010 at 12:38 pm
    Jun 7, 2010 at 6:50 pm
  • hello, I've lot of functions that returns their result in some kind of tuple / list / array, and if there is no result, these functions return None. Now I'm often what to do something if I've more ...
    Stef MientkiStef Mientki
    Jun 30, 2010 at 6:39 pm
    Jun 30, 2010 at 10:46 pm
  • There is not much to say, the documentation is at http://lettuce.it, and the code is GNU/GPL3+ located at http://github.com/gabrielfalcao/lettuce There is a blog post introducing it at ...
    Gabriel FalcãoGabriel Falcão
    Jun 8, 2010 at 6:26 am
    Jun 20, 2010 at 1:44 am
  • I have a program called increment.py as follows: #!/usr/bin/python n = 0 while True: n = int(raw_input(n)) + 1 This is probably very easy to understand, but I want to run this program from another ...
    Laurent VerweijenLaurent Verweijen
    Jun 17, 2010 at 7:13 pm
    Jun 18, 2010 at 3:47 pm
  • i cudnt run this!!!!!! and this was the error occured for seq_record in SeqIO.parse("ls_MTbH37Rv.fasta","fasta"): ... print seq_record.id ... print repr(seq_record.seq) ... print len(seq_record) ... ...
    Madhuri vioMadhuri vio
    Jun 14, 2010 at 12:59 pm
    Jun 14, 2010 at 11:17 pm
  • Hi, I'm writing some buffer-centric number-crunching routines in C for Python code that uses array.array objects for storing/manipulating data. I would like to: 1. allocate a buffer of a certain size ...
    Thomas JollansThomas Jollans
    Jun 13, 2010 at 5:15 pm
    Jun 14, 2010 at 9:39 pm
Group Navigation
period‹ prev | Jun 2010 | next ›
Group Overview
grouppython-list @
categoriespython
discussions461
posts3,210
users572
websitepython.org

572 users for June 2010

Stephen Hansen (L/P): 199 posts Rantingrick: 97 posts Thomas Jollans: 91 posts Terry Reedy: 76 posts Geremy condra: 74 posts Steven D'Aprano: 67 posts Nanothermite911fbibustards: 57 posts Mark Lawrence: 54 posts Lkcl: 47 posts John Nagle: 44 posts MRAB: 42 posts Grant Edwards: 40 posts Chris Rebert: 39 posts Lie Ryan: 39 posts Peter Otten: 39 posts James Mills: 36 posts Ben Finney: 35 posts John Bokma: 35 posts Victor Subervi: 34 posts Ian Kelly: 32 posts
show more
Archives