Re: Want to win a 500 tablet?

2014-09-28 Thread Michael Torrie
On 09/26/2014 05:03 PM, Seymore4Head wrote: > On Fri, 26 Sep 2014 18:55:54 -0400, Seymore4Head > wrote: > >> I am taking "An Introduction to Interactive Programming in Python" at >> coursera.org. From their announcments page: >> >> Week one of the video contest is open >> >> For those of you tha

Re: tkinter and gtk problem

2014-09-28 Thread Michael Torrie
On 09/26/2014 12:15 PM, Paula Estrella wrote: > Hello, we are working on ubuntu 12.04 LTS; we use gtk to take screenshots > and we added a simple interface to select a file using tkFileDialog but it > doesn't work; is it possible that tkinter and gtk are incompatible? a test > script to open a file

Re: Question about uninstallation.

2014-09-28 Thread Fabien
On 28.09.2014 03:07, Gregory Johannes-Kinsbourg wrote: both Python 2 & 3 (I’m on OS X 10.10 btw) and first of all was curious to know if they will clash I am also quite new to the python business, and had the same kind of questions (how to install/uninstall a package, will different version

Re: Storage Cost Calculation

2014-09-28 Thread Duncan Booth
Steven D'Aprano wrote: > The Model B supported more graphics modes, had a six-pin DIN connector > for a monitor (both the A and B had UHF output for connecting to a > television, but only the B supported a dedicated monitor), had support > for an optional floppy disk controller and even an option

Re: Question about uninstallation.

2014-09-28 Thread Ned Deily
In article , Chris Angelico wrote: > On Sun, Sep 28, 2014 at 11:07 AM, Gregory Johannes-Kinsbourg > wrote: > > Anyway, I’ve basically ended up installing both Python 2 & 3 (I’m on OS X > > 10.10 btw) and first of all was curious to know if they will clash with > > each when being used in term

Re: Question about uninstallation.

2014-09-28 Thread Chris Angelico
On Mon, Sep 29, 2014 at 9:17 AM, Ned Deily wrote: > That's odd advice. > ... And, while OS X 10.10 Yosemite is still a few weeks away from its > expected official release data, you can be sure that the current > releases of Python have been tested with the public beta and with > developer previews

Re: Question about uninstallation.

2014-09-28 Thread Ned Deily
In article , Chris Angelico wrote: > On Mon, Sep 29, 2014 at 9:17 AM, Ned Deily wrote: > > That's odd advice. > > ... And, while OS X 10.10 Yosemite is still a few weeks away from its > > expected official release data, you can be sure that the current > > releases of Python have been tested wi

trouble building data structure

2014-09-28 Thread David Alban
greetings, i'm writing a program to scan a data file. from each line of the data file i'd like to add something like below to a dictionary. my perl background makes me want python to autovivify, but when i do: file_data = {} [... as i loop through lines in the file ...]

Re: trouble building data structure

2014-09-28 Thread Chris Angelico
On Mon, Sep 29, 2014 at 10:04 AM, David Alban wrote: > file_data = {} > > [... as i loop through lines in the file ...] > > file_data[ md5sum ][ inode ] = { 'path' : path, 'size' : size, } > > what is the pythonic way to build my "file_data" data structure above that > has th

Re: trouble building data structure

2014-09-28 Thread Ned Batchelder
On 9/28/14 8:04 PM, David Alban wrote: i'm writing a program to scan a data file. from each line of the data file i'd like to add something like below to a dictionary. my perl background makes me want python to autovivify, but when i do: file_data = {} [... as i loop through lin