First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
looping through possible combinations of McNuggets packs of 6,9 and 20
Baba wrote: level: beginner exercise: given that packs of McNuggets can only be bought in 6, 9 or 20 packs, write an exhaustive search to find the largest number of McNuggets that cannot be bought in exact quantity. exercise source: http://ocw.mit.edu/courses/electrical-engineering-and-computer-... 12 Aug 2010 06:00
python ide for ubuntu
Eclipse with pydev (great debugging) does the trick nicely, free of charge and throws in some other goodies (JScript/HTML/XML editing) too. I use the EE for Java developer version http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr Install pydev from Menu Help/Software Updates ... 12 Aug 2010 07:05
Why can't I set sys.ps1 to a unicode string?
More precisely, why does sys.ps1 not appear if I set it to a unicode string? This problem is hard for me to describe here because my newsreader is not properly unicode enabled, but here's the gist of it: Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help... 12 Aug 2010 15:52
Beyond the moratorium
Hi all. I know, maybe I'm just lazily speculating, but I'm curious about what's next, in python, when GvR will stop the moratorium and will let changes in the language. I don't know what to expect... some syntax sugar about concurrent programming? static types? an erlang-style "bang" (!) process message p... 12 Aug 2010 09:16
urllib2 does not implement "with" Python 2.6
Somewhat to my surprise, in Python 2.6, with urllib2.urlopen(url) as fh : doesn't work. It fails with "AttributeError: addinfourl instance has no attribute '__exit__'". I thought that all the file-like objects supported "with" in 2.6. No? John Nagle ... 12 Aug 2010 15:52
globbal | creating networks
Hi, i'd like to invite you to know this new way to keep in touch with friends, and meet new people! http://www.globbal.com.ar/login1.php Invite your friends to join, and start creating your own globbal networks! Are you ready to live a new experience? Are you ready to live globbal! Sign up now! ... 12 Aug 2010 00:38
Deer Esurance
If you're going to send me unsolicited email, the least you can do it include pics of Erin. Carl Banks ... 11 Aug 2010 22:28
How does Python get the value for sys.stdin.encoding?
I thought it was hard-coded into the Python executable at compile time, but that is apparently not the case: [ron(a)mickey:~]$ python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. import s... 12 Aug 2010 10:21
Python Tkinter Simple Qn
Hi i have the following problem with Python Tkinter. I switch to switch the image background (which i used Tkinter.Label with image arg to display on the GUI). How can I do that? the callback function which i have created doesn't seem to work... some advice? below is my code: import Tkinter as tk from P... 12 Aug 2010 04:56
looping through possible combinations of McNuggets packs of 6,9and 20
On Wed, 11 Aug 2010 13:14:35 -0700, Baba wrote: level: beginner exercise: given that packs of McNuggets can only be bought in 6, 9 or 20 packs, write an exhaustive search to find the largest number of McNuggets that cannot be bought in exact quantity. Is this a trick question? I'd like to see so... 12 Aug 2010 15:52
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14