Happy New Year

2014-01-01 Thread Igor Korot
Hi, ALL, I want to wish everybody who is reading and involved with the list Happy and oyful New Year! Let's have a great time in it and lets make a lot of good products and new releases with the software that everybody involve with. Thank you. -- https://mail.python.org/mailman/listinfo/python-li

Re: Python/Django Extract and append only new links

2014-01-01 Thread Piet van Oostrum
Max Cuban writes: > I am putting together a project using Python 2.7 Django 1.5 on Windows 7. > I believe this should be on the django group but I haven't had help > from there so I figured I would try the python list > I have the following view: > views.py: [snip] > Right now as my code stands

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
On Mon, 30 Dec 2013 13:56:30 -0800, Dan Stromberg wrote: >I keep hearing naysayers, nay saying about Python 3.x. > >Here's a 9 question, multiple choice survey I put together about >Python 2.x use vs Python 3.x use. > >I'd be very pleased if you could take 5 or 10 minutes to fill it out. I had a

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Chris Angelico
On Wed, Jan 1, 2014 at 9:41 PM, Steve Hayes wrote: > I borrowed a book called "Learning Python" by Lutz and Asher, which is geared > for 2.2/2.3. That's really REALLY old. Even Red Hat isn't still supporting 2.2. You can quite easily get started on 3.2 on Windows - though I would recommend grabbi

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steven D'Aprano
Steve Hayes wrote: > I borrowed a book called "Learning Python" by Lutz and Asher, which is > geared for 2.2/2.3. > > But the version I have in Windows is 3.2, and it seems that even "Hello > World" presents and insurmountable problem. It certainly is not *insurmountable*. Not unless you conside

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
On Wed, 01 Jan 2014 22:37:45 +1100, Steven D'Aprano wrote: >Steve Hayes wrote: > >> I borrowed a book called "Learning Python" by Lutz and Asher, which is >> geared for 2.2/2.3. >> >> But the version I have in Windows is 3.2, and it seems that even "Hello >> World" presents and insurmountable pr

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Chris Angelico
On Wed, Jan 1, 2014 at 11:38 PM, Steve Hayes wrote: > I was thinking or of this: > python g:\work\module1.py > File "", line 1 > python g:\work\module1.py >^ > > Which gave a different error the previous time I did it. > > But, hey, it worked from the DOS prompt > > C:\Pytho

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Mark Lawrence
On 01/01/2014 12:38, Steve Hayes wrote: On Wed, 01 Jan 2014 22:37:45 +1100, Steven D'Aprano wrote: Steve Hayes wrote: I borrowed a book called "Learning Python" by Lutz and Asher, which is geared for 2.2/2.3. But the version I have in Windows is 3.2, and it seems that even "Hello World" pre

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread David
On 1 January 2014 23:38, Steve Hayes wrote: > > I was thinking or of this: > python g:\work\module1.py > File "", line 1 > python g:\work\module1.py >^ > > Which gave a different error the previous time I did it. > > But, hey, it worked from the DOS prompt > > C:\Python32>py

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Dave Angel
On Wed, 01 Jan 2014 14:38:59 +0200, Steve Hayes wrote: >>> python g:\work\module1.py File "", line 1 python g:\work\module1.py ^ Which gave a different error the previous time I did it. But, hey, it worked from the DOS prompt C:\Python32>python g:\work\module1.py Hel

Retaining drawing across paintevents

2014-01-01 Thread angedward3
Hi all, I am sub-classing the paintevent at the moment to create a 2D plot. I find that I have to re-paint the whole widget every time I call an update(), as I have create a new QPainter() instance. Is there a way to update only a small part of the widget, while retaining the rest of the widget

[OT] Culture and Empire

2014-01-01 Thread Amirouche Boubekki
Héllo everybody, I stumbled on Culture and Empire a few days ago and I've been reading it since then. I'm not finished yet. It's insigthful, smart and provocative. It bridge past, present and future. I will put it in my armory *ahem* library between Fundation and The Cathedral and the Bazaar until

Re: Retaining drawing across paintevents

2014-01-01 Thread Chris Angelico
On Thu, Jan 2, 2014 at 1:53 AM, wrote: > I find that I have to re-paint the whole widget every time I call an > update(), as I have create a new QPainter() instance. Is there a way to > update only a small part of the widget, while retaining the rest of the > widget? In general, it would help

Project from github

2014-01-01 Thread ivanmarinkoviczu
Hi, I'm trying to install this Django project https://github.com/changer/socialschools-cms and it 'success'. The problem is, there's no manage.py file in it and i don't know how to run this script on the server. May someone try to help me, please? Thank you very much! Ivan -- https://mail.pyt

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
On Thu, 2 Jan 2014 01:07:54 +1100, David wrote: >On 1 January 2014 23:38, Steve Hayes wrote: >> >> I was thinking or of this: >> > python g:\work\module1.py >> File "", line 1 >> python g:\work\module1.py >>^ >> >> Which gave a different error the previous time I did it. >>

Re: PySerial for Python 2 vs. Python 3

2014-01-01 Thread Terry Reedy
On 1/1/2014 1:48 AM, Chris Angelico wrote: On Wed, Jan 1, 2014 at 5:39 PM, Travis McGee wrote: What OS? If Windows, did you install the -py3k version for 3.x? Anyway, I finally got it installed, but when I try to use a statement of the sort ser.write("string") I get an exception which seems

Re: [OT] Culture and Empire

2014-01-01 Thread Terry Reedy
On 1/1/2014 10:01 AM, Amirouche Boubekki wrote: I stumbled on Culture and Empire a few days ago and I've been reading it since then. I'm not finished yet. It's insigthful, smart and provocative. It bridge past, present and future. I will put it in my armory *ahem* library between Fundation and T

ipython and pyglet

2014-01-01 Thread Jacob Goodson
Hello! Has anyone here tried to get ipython to interact with the event loop for pyglet? If so, would you be willing to share come example code? I would like to be able to interactively code in pyglet, creating and updating objects while the program is running. Thanks! -- https://mail.python

Django filer plugins for django-cms installation

2014-01-01 Thread Gary Roach
I'm trying to set up a python django_cms system using: Debian OS Wheezy distribution Python 2.7.3 ` Django 1.5.5 PostgreSQL 9.1 with pip and virtualenv. The last test errored out and I traced the problem to the missing cmsplugin-filer-0.9.4.tar.gz package not

Suggest an open-source log analyser?

2014-01-01 Thread Alec Taylor
I use the Python logger class; with the example syntax of: Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') Can of course easily use e.g.: a JSON syntax here instead. Are there any open-source log viewers (e.g.: with a web-interface) that you'd recommend; for drilling down in

Re: Suggest an open-source log analyser?

2014-01-01 Thread Roy Smith
In article , Alec Taylor wrote: > I use the Python logger class; with the example syntax of: > Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') > > Can of course easily use e.g.: a JSON syntax here instead. > > Are there any open-source log viewers (e.g.: with a web-interf

Re: looking for a quote on age and technology

2014-01-01 Thread Ben Finney
Rustom Mody writes: > For a new technology: > If you are a kid when it comes out, you just take it as a matter of course > If you are a young adult, then it becomes a hot topic for discussion > If you are past middle-age you never get it > > Anyone knows/remembers it? I think you're referr