FAQ

Search Discussions

259 discussions - 2,119 posts

  • WxPython versus Tkinter (A code battle to the death!) by Rick Johnson. I have in many threads declared that Tkinter (and TclTk) is currently --and has been for a decade-- the wrong choice for ...
    RantingrickRantingrick
    Jan 23, 2011 at 12:07 am
    Mar 3, 2011 at 6:52 am
  • IDLE: A cornicopia of mediocrity and obfuscation. -- by Rick Johnson IDLE --which is the Python Integrated Development and Learning Environment-- was once the apple of Guido's eye but has since ...
    RantingrickRantingrick
    Jan 31, 2011 at 5:39 pm
    Feb 5, 2011 at 5:07 pm
  • Hey all, I am a college student, and at college, we did most of the work in C/C++. I kind of stopped using C when I learned C++ (simply because C++ seemed a natural/elegant choice to me, and had ...
    AmanAman
    Jan 16, 2011 at 5:30 am
    Jan 20, 2011 at 10:46 am
  • About once a year, I have to learn yet another programming language. Given all the recommendations (an outstanding accolade from Bruce Eckel, author of "Thinking in Java") I have set my aim to ...
    Google PosterGoogle Poster
    Jan 4, 2011 at 8:20 pm
    Feb 10, 2011 at 6:48 am
  • As a scientist using computer tools, and not as a computer scientist, I discovered Python long time ago (it was in its 1.5.6 version) and I remain an happy user up to now date. Yesterday, I was happy ...
    JmfauthJmfauth
    Jan 17, 2011 at 2:31 pm
    Jan 21, 2011 at 8:01 am
  • I hoping a new trend will start with dev's putting direct source code links in their documentation: http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ I'm looking for more examples of ...
    Raymond HettingerRaymond Hettinger
    Jan 28, 2011 at 6:32 pm
    Feb 5, 2011 at 11:46 am
  • I somehow missed this before. I like most of the additions from Raymond Hettinger. But the api on this baffles me a bit: 'bacde' I understand that "end" could potentially mean either end, but would ...
    NnNn
    Jan 18, 2011 at 2:51 am
    Mar 1, 2011 at 12:41 am
  • Hello, I hope this will be interesting to people here: CPython running on the web, http://syntensity.com/static/python.html That isn't a new implementation of Python, but rather CPython 2.7.1, ...
    AzakaiAzakai
    Jan 2, 2011 at 7:26 am
    Jan 4, 2011 at 5:48 pm
  • Hi all I'm just learning python and use it to write a GUI (with Tkinter) for a C program I already wrote. When trying to execute the program below I get the following error message. Traceback (most ...
    Tobias BlassTobias Blass
    Jan 29, 2011 at 11:10 am
    Feb 1, 2011 at 7:44 pm
  • I invite folks to check out Tiobe's Language Popularity Rankings: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html The gist is: Python grew faster than any other programming language ...
    Dan StrombergDan Stromberg
    Jan 10, 2011 at 8:29 pm
    Jan 15, 2011 at 5:57 am
  • Hi, If I want to create a dictionary from a list, is there a better way than the long line below? l = [1, 2, 3, 4, 5, 6, 7, 'a', 8, 'b'] d = dict(zip([l[x] for x in range(len(l)) if x %2 == 0], [l[x] ...
    Octavian RasnitaOctavian Rasnita
    Jan 2, 2011 at 1:18 pm
    Jan 4, 2011 at 6:29 pm
  • Hi, recently I had to study *seriously* Unicode and encodings for one project in Python but I left with a couple of doubts arised after reading the unicode chapter of Dive into Python 3 book by Mark ...
    CarloCarlo
    Jan 17, 2011 at 10:19 pm
    Jan 20, 2011 at 9:15 pm
  • I have do some log processing which is usually huge. The length of each line is variable. How can I get the last line?? Don't tell me to use readlines or something like linecache... An HTML ...
    Xavier HeruaclesXavier Heruacles
    Jan 26, 2011 at 10:59 am
    Mar 10, 2011 at 10:10 pm
  • I'm in need for a graphical pop-up that will display a (unicode ?) string in a field, allow the user to change it and return the modified string. Maybe also keep the original one displayed above it. ...
    Rikishi42Rikishi42
    Jan 22, 2011 at 8:22 pm
    Jan 27, 2011 at 10:43 pm
  • hi all, I have th PEP (I'm not sure something like that hadn't been proposed although): very often in a Python file header the following lines are present, like: from MyModule1 import myFunc1 import ...
    DmitreyDmitrey
    Jan 6, 2011 at 3:28 pm
    Jan 7, 2011 at 2:34 pm
  • I have following two python scripts -namelookupWrapper.py -namelookup.py The namelookupWrapper.py takes input of "memberId", "memberName" from CLI and has following code snippet idf = sys.argv[1] ...
    BansiBansi
    Jan 26, 2011 at 3:51 pm
    Jan 31, 2011 at 2:20 am
  • Hi All, i am beginner to python please tell me which is the best available reference for beginner to start from novice
    Santosh hsSantosh hs
    Jan 24, 2011 at 5:09 pm
    Jul 27, 2013 at 12:04 pm
  • I just installed Python 3,0 on my machine. I cannot use 3.0 exclusively yet however i was interested in just poking around and acquiring a taste if you will. I was happy to find that the new Tkinter ...
    RantingrickRantingrick
    Jan 26, 2011 at 4:00 pm
    Jan 31, 2011 at 5:39 am
  • hello, i am trying to work with windows homedirectory as a starting point for some kind of file copy command. i'm testing this on a win7 box so my home is c:\Users\jon\ here is the code snippet i am ...
    Ecu_jonEcu_jon
    Jan 30, 2011 at 8:44 pm
    Jan 31, 2011 at 2:55 am
  • I'm trying to multiprocess my python code to take advantage of multiple cores. I've read the module docs for threading and multiprocessing, and I've done some web searches. All the examples I've ...
    TomFTomF
    Jan 16, 2011 at 7:05 pm
    Jan 21, 2011 at 9:34 pm
  • Hi all, Using numpy, I can create large 2-dimensional arrays quite easily. Unfortunately, my target audience may not have numpy so I'd prefer not to use it. Similarly, a list-of-tuples using standard ...
    Jake BiesingerJake Biesinger
    Jan 17, 2011 at 10:20 pm
    Jan 21, 2011 at 2:10 am
  • Hello, I'd like to have a system which lets me do certain actions if the duck-type of a certain objects matches what I expect, i.e. I'd like to have a formalization of what it's sometimes done ...
    Alan FranzoniAlan Franzoni
    Jan 24, 2011 at 10:13 am
    Jan 28, 2011 at 11:00 am
  • Hi, Is there an equivalent to the textwrap module that knows about the Unicode line breaking algorithm (UAX #14, http://unicode.org/reports/tr14/ )?
    LeoboikoLeoboiko
    Jan 13, 2011 at 8:45 pm
    Jan 17, 2011 at 2:46 pm
  • Hi all, Today I was thinking about a problem I often encounter. ?Say that I have (seems I often do!) a deeply nested object, by which I mean object within object with object, etc. For example: ? ?x = ...
    Gerald BrittonGerald Britton
    Jan 30, 2011 at 5:51 pm
    Feb 3, 2011 at 4:31 pm
  • some extempore thought. Do you know what is CGI? Worked with Mathematica for 5 hours yesterday. Fantastic! This old hand can still do something! lol. My plane curve packages soon to be out n am gonna ...
    Xah LeeXah Lee
    Jan 14, 2011 at 9:20 pm
    Jan 16, 2011 at 5:45 am
  • Hi, I have a small problem with circular references. I embedded Python into my app and I have two types which are flagged with Py_TPFLAGS_BASETYPE so I can inherit Python types from these types. Lets ...
    Moerchendiser2k3Moerchendiser2k3
    Jan 7, 2011 at 2:24 am
    Jan 14, 2011 at 11:25 am
  • The title sounds too complex, but my question is actually simple. Suppose I have [1,2,3,4,5], then there are many ways of making clustering. Among them, I want to pair up terminals until there is ...
    JustinJustin
    Jan 12, 2011 at 7:09 pm
    Jan 14, 2011 at 7:05 am
  • Hey, every body has their own favorite method/ways to process command line arguments. I've worked on a little CPython extension to handle command line arguments may be you'll find it interesting and ...
    SohailSohail
    Jan 11, 2011 at 5:18 am
    Jan 13, 2011 at 8:32 am
  • In Python, is there a recommended way to write conditionals of the form: "if A and B but not C or D in my list, do something." ? I may also have variations on this, like "if A but not B, C, or D". Do ...
    CMCM
    Jan 23, 2011 at 9:05 pm
    Jan 28, 2011 at 9:47 pm
  • I just noticed that the following passage in RFC 822: The process of moving from this folded multiple-line representation of a header field to its single line represen- tation is called "unfolding". ...
    Bob KlineBob Kline
    Jan 20, 2011 at 3:08 pm
    Jan 21, 2011 at 8:39 am
  • Hi everyone! I just saw a bug (?) in bson.dbref:DBRef.__getattr__ Here's they're code: ??? def __getattr__(self, key): ??????? return self.__kwargs[key] And when you do copy.deepcopy on that object ...
    kost BebiXkost BebiX
    Jan 6, 2011 at 10:07 pm
    Jan 8, 2011 at 2:13 am
  • Is Python suitable to write low-level system utilities like Defrag, Malware Removal Tools and Drivers? An HTML attachment was scrubbed... URL: ...
    Rohit CoderRohit Coder
    Jan 6, 2011 at 9:05 am
    Jan 6, 2011 at 4:48 pm
  • Please, can anybody write me a simple recursive matrix multiplication using multiple threads in Python, or at least show me some guidelines how to write it myself Thank You
    ZdenkoZdenko
    Jan 4, 2011 at 9:40 am
    Jan 5, 2011 at 8:02 pm
  • Hi, I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? Isnt it like self must be the first parameter to the method/function? If not what are the ...
    Sl33k_Sl33k_
    Jan 30, 2011 at 7:26 pm
    Jan 31, 2011 at 9:22 pm
  • I tried to use the apscheduler and used the sample code below from the tutorial, but got the error message: Exception in thread APScheduler (most likely raised during interpreter shutdown). What's ...
    Linna liLinna li
    Jan 8, 2011 at 1:08 am
    Jan 29, 2011 at 11:12 pm
  • Hi, I've searched the net but didn't find the information I need. Using Python-2.7.1, I know, I can't modify defaultencoding at run time. Python even ignores export PYTHONIOENCODING=ISO8859-1 ...
    Helmut JarauschHelmut Jarausch
    Jan 20, 2011 at 2:31 pm
    Jan 21, 2011 at 4:31 pm
  • Hello! I have a sequence of a function calls. Basically it looks like f(arg1) f(arg2) ... f(argN) though real arguments are complex multilayer lists. The problem is some arguments are not known and I ...
    IlejnIlejn
    Jan 20, 2011 at 5:32 pm
    Jan 21, 2011 at 12:20 pm
  • Dear All! I have deal with large unbalanced trees and I have to implement post-order tree traversal. My first attempt is shown below ("Node" and "Tree" classes) and based on recursive generators ...
    Alex BoykoAlex Boyko
    Jan 14, 2011 at 12:15 pm
    Jan 14, 2011 at 6:41 pm
  • For example: I'm writing simple class: class Numbers: def __init__(self, numbers): self._numbers = numbers def get_all(self): for number in self._numbers: yield number If I want to add another method ...
    InyeolInyeol
    Jan 5, 2011 at 4:46 am
    Jan 13, 2011 at 1:15 am
  • a opinion piece. ?The Idiocy of Computer Language Docs? http://xahlee.org/comp/idiocy_of_comp_lang.html -------------------------------------------------- The Idiocy of Computer Language Docs Xah ...
    Xah LeeXah Lee
    Jan 4, 2011 at 6:24 pm
    Jan 6, 2011 at 5:55 pm
  • http://code.google.com/apis/chart/docs/post_requests.html Google will return a chart in your browser from a URL that you have built. If your URL is bigger then 2K characters it will allow you to ...
    SlieSlie
    Jan 6, 2011 at 3:36 am
    Jan 6, 2011 at 1:19 pm
  • Hi there. I'm trying to develop a program like family tree maker. I have all information, so there is no need to search on the net. This must be something like trees. Can someone help me? I'm at the ...
    Ata JafariAta Jafari
    Jan 14, 2011 at 7:39 pm
    Jan 16, 2011 at 5:08 pm
  • Hi all, I am trying to develop a PyQt application, and I want to unittest it. After three false starts, I am plainly unaware of something rather basic - can some kind person please help me out? This ...
    Ian HobsonIan Hobson
    Jan 9, 2011 at 4:14 pm
    Jan 10, 2011 at 11:28 pm
  • Dear all, You folks will probably hear from me more often in the next few months. I hope some of you have time help me on occassion. Actually, a volunteer mentor would be greatly appreciated:) I am ...
    Cathy JamesCathy James
    Jan 5, 2011 at 5:57 pm
    Jan 6, 2011 at 1:50 pm
  • How does "return True" and "return False" affect the execution of the calling function?
    Sl33k_Sl33k_
    Jan 26, 2011 at 8:26 pm
    Jan 28, 2011 at 12:16 am
  • Hi, I'm a python newbie. By newbie I mean two days ago. It was suggested to me that I work with python. Unfortunately at work I must run this on a windows machiene. However, I am having difficultly ...
    Matthew RothMatthew Roth
    Jan 24, 2011 at 10:25 pm
    Jan 26, 2011 at 8:18 am
  • I'm trying tolearn Python. The documentation tells syntax, and other things about a command. But for too many commands, it doesn't tell what it does. for instance, in VB the 'return' command tells ...
    Scott MeupScott Meup
    Jan 23, 2011 at 6:41 pm
    Jan 25, 2011 at 6:32 pm
  • Hello, I am teaching myself python using the book: Python Programming for Absolute Beginners, 2nd edition by Michael Dawson. I am using python 2.7.1. In chapter 3 we are learning to use structures ...
    Physics PythonPhysics Python
    Jan 12, 2011 at 7:22 pm
    Jan 13, 2011 at 11:13 am
  • If I have an absolute path to a file (i.e. '/home/roy/foo.py'), is there a way to import that as a module WITHOUT modifying sys.path? I'm using Python 2.6. I've read PEP 328, and don't really ...
    Roy SmithRoy Smith
    Jan 8, 2011 at 8:03 pm
    Jan 10, 2011 at 11:40 pm
  • I'm pretty new in Python language. I have a problem with numbers: it seems python doesn't know any more how to count! I get only the down rounded integer 20/8 = 2 8/3=2 I probably changed some option ...
    FrancescoFrancesco
    Jan 6, 2011 at 10:49 pm
    Jan 7, 2011 at 7:09 am
Group Navigation
period‹ prev | Jan 2011 | next ›
Group Overview
grouppython-list @
categoriespython
discussions259
posts2,119
users418
websitepython.org

418 users for January 2011

Rantingrick: 199 posts Octavian Rasnita: 113 posts Steven D'Aprano: 59 posts Terry Reedy: 53 posts Adam Skutt: 46 posts Emile van Sebille: 41 posts Chris Rebert: 40 posts Tim Harig: 36 posts Littlefield, Tyler: 33 posts MRAB: 33 posts Stefan Behnel: 32 posts Corey Richardson: 31 posts Geremy condra: 28 posts Grant Edwards: 26 posts Ben Finney: 25 posts Alice Bevan–McGregor: 24 posts Peter Otten: 24 posts Bryan: 22 posts Carl Banks: 20 posts Dan Stromberg: 20 posts
show more
Archives