Re: Lists

2014-09-14 Thread Christian Gollwitzer
Am 15.09.14 04:40, schrieb Seymore4Head: nums=range(1,11) print (nums) I don't understand why the command nums=range(1,11) doesn't work. I would think that print(nums) should be 1,2,3 ect. Instead it prints range(1,11) It does work, but in a different way than you might think. range() does

Re: CSV methodology

2014-09-14 Thread Cameron Simpson
On 14Sep2014 01:56, rusi wrote: On Sunday, September 14, 2014 2:09:51 PM UTC+5:30, Cameron Simpson wrote: If you have a nice regular CSV file, with say 3 values per row, you can go: reader = csv.reader(f) for row in reader: a, b, c - row I guess you meant: a, b, c = row ?

Re: CSV methodology

2014-09-14 Thread Terry Reedy
On 9/14/2014 12:56 PM, jayte wrote: On Sun, 14 Sep 2014 03:02:12 -0400, Terry Reedy wrote: On 9/13/2014 9:34 PM, je...@newsguy.com wrote: [...] First you need to think about (and document) what your numbers mean and how they should be organized for analysis. An example of the data: 1.850

Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-14 Thread Terry Reedy
On 9/14/2014 2:44 AM, Josh English wrote: I do not know what these three files are doing, To the best of my knowledge, protocol.py, brine.py, compat.py, are not part of the stdlib. What have you installed other than Python? What editor/IDE are you using? Check your lib/site-packages directo

Re: CSV methodology

2014-09-14 Thread Chris Angelico
On Mon, Sep 15, 2014 at 2:56 AM, jayte wrote: > Anyway, thanks (everyone) for responding. I'm very anxious to > try some data analysis (what I'm hoping, is to discover some new > approaches / enhancements to coloring, as I'm not convinced we've > seen all there is to see, from The Mandelbrot Set)

Re: very lightweight gui for win32 + python 3.4

2014-09-14 Thread Christian Gollwitzer
Am 13.09.14 13:31, schrieb Thomas Heller: Am 13.09.2014 03:19, schrieb Grant Edwards: On 2014-09-12, Thomas Heller wrote: Am 12.09.2014 18:38, schrieb Chris Angelico: Does Tkinter really work well with cx_Freeze? I doubt it (from my experiences with py2exe). I never had any problems with T

Re: very lightweight gui for win32 + python 3.4

2014-09-14 Thread Wolfgang Keller
> wxPython and Qt are well known but they are not exactly lightweight. wxPython not lightweight? It's just a wrapper of win32. Sincerely, Wolfgang -- https://mail.python.org/mailman/listinfo/python-list

Re: CSV methodology

2014-09-14 Thread Rustom Mody
On Sunday, September 14, 2014 2:09:51 PM UTC+5:30, Cameron Simpson wrote: > If you have a nice regular CSV file, with say 3 values per row, you can go: >reader = csv.reader(f) >for row in reader: >a, b, c - row I guess you meant: a, b, c = row ? Also you will want to do appro

Re: CSV methodology

2014-09-14 Thread Cameron Simpson
On 13Sep2014 21:34, je...@newsguy.com wrote: Hello. Back in the '80s, I wrote a fractal generator, [...] Anyway, something I thought would be interesting, would be to export some data from my fractal program (I call it MXP), and write something in Python and its various scientific data analysis

Re: CSV methodology

2014-09-14 Thread Terry Reedy
On 9/13/2014 9:34 PM, je...@newsguy.com wrote: Hello. Back in the '80s, I wrote a fractal generator, which, over the years, I've modified/etc to run under Windows. I've been an Assembly Language programmer for decades. Recently, I decided to learn a new language, and decided on Python, and I