Re: Python use growing fast

2011-01-10 Thread Gerry Reno
On 01/10/2011 08:31 PM, Katie T wrote: On Mon, Jan 10, 2011 at 10:29 PM, John Nagle na...@animats.com wrote: On 1/10/2011 1:02 PM, MRAB wrote: On 10/01/2011 20:29, Dan Stromberg wrote: I invite folks to check out Tiobe's Language Popularity Rankings:

Re: Can I have both Python 2.7 and Python 3.1 at the same time on the Mac?

2011-01-06 Thread Gerry Reno
On 01/06/2011 02:44 PM, Bill Felton wrote: Hi All, I'm new to python, trying to learn it from a variety of resources, including references posted recently to this list. I'm going through /www.openbookproject.net/thinkCSpy/ and find it makes use of gasp, which apparently is not compatible

Re: CPython on the Web

2011-01-04 Thread Gerry Reno
On 01/04/2011 12:38 PM, gry wrote: On Jan 4, 1:11 am, John Nagle na...@animats.com wrote: On 1/1/2011 11:26 PM, azakai wrote: Hello, I hope this will be interesting to people here: CPython running on the web, http://syntensity.com/static/python.html

Re: CPython on the Web

2011-01-03 Thread Gerry Reno
On 01/03/2011 03:10 PM, azakai wrote: On Jan 2, 5:55 pm, Gerry Reno gr...@verizon.net wrote: I tried printing sys.path and here is the output: ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr

Re: CPython on the Web

2011-01-03 Thread Gerry Reno
On 01/03/2011 03:13 PM, Diez B. Roggisch wrote: A fun hack. Have you bothered to compare it to the PyPy javascript backend - perfomance-wise, that is? Diez I don't think that exists anymore. Didn't that get removed from PyPy about 2 years ago? Regards, Gerry --

Re: CPython on the Web

2011-01-03 Thread Gerry Reno
On 01/03/2011 05:55 PM, Diez B. Roggisch wrote: Gerry Reno gr...@verizon.net writes: On 01/03/2011 03:13 PM, Diez B. Roggisch wrote: A fun hack. Have you bothered to compare it to the PyPy javascript backend - perfomance-wise, that is? Diez I don't think that exists

Re: CPython on the Web

2011-01-02 Thread Gerry Reno
On 01/02/2011 02:26 AM, azakai wrote: 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, compiled from C to JavaScript using Emscripten and LLVM. For

Re: CPython on the Web

2011-01-02 Thread Gerry Reno
On 01/02/2011 05:53 PM, azakai wrote: On Jan 2, 1:01 pm, Gerry Reno gr...@verizon.net wrote: Ok, visiting this page: http://syntensity.com/static/python.html I do not see anything happen when I click 'execute' button. I'm running Firefox 3.6.3. I've only tested with Firefox 4

Re: CPython on the Web

2011-01-02 Thread Gerry Reno
I tried printing sys.path and here is the output: ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/lib-dynload'] Now, those paths must be on your machine

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Gerry Reno
For those that are lurking, this might provide a little background: http://journal.dedasys.com/2010/03/30/where-tcl-and-tk-went-wrong Essentially, there is nothing wrong with Tcl and Tkinter. They are part of a long evolutionary chain of how we got to where we are today. They deserve to

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Gerry Reno
On 12/30/2010 10:28 PM, rantingrick wrote: Hmm, wxPython is starting to look like the answer to all our problems. WxPython already has an IDE so there is no need to rewrite IDLE completely. What do we have to loose by integrating wx into the stdlib, really? In the spirit of batteries

Re: Tkinter: The good, the bad, and the ugly!

2010-12-29 Thread Gerry Reno
wxPython looks good but I don't see anyone developing support for things like smartphones. Also, what do you think about frameworks such as pyjamas? It lets you write in python and compiles everything down to Javascript so it can be used across the Web as well as on the desktop. --

Re: Added Python, WSGI to XAMPP

2010-12-18 Thread Gerry Reno
On 12/17/2010 02:36 PM, Daniel Fetchinson wrote: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17t=42981 Maybe, if there's no Zope. Or we'll run away screaming... That is rather pathetically true... Ah well, each to their own...

Re: Added Python, WSGI to XAMPP

2010-12-16 Thread Gerry Reno
On 12/16/2010 04:36 AM, Octavian Rasnita wrote: From: Ian Kelly ian.g.ke...@gmail.com On Mon, Dec 13, 2010 at 5:58 PM, Gerry Reno gr...@verizon.net wrote: The VIEW is the bits that stream out of the webserver back to the users browser. Why only to the user's browser? A web app

Pyramid and MVC (split from: Re: Added Python, WSGI to XAMPP)

2010-12-15 Thread Gerry Reno
On 12/15/2010 05:03 PM, Chris Withers wrote: On 14/12/2010 00:58, Gerry Reno wrote: What I really don't like right off is that Pyramid is contorting the MVC model That specific pattern, I'm afraid, is a little antiquated nowadays, particularly when it comes to web apps... The VIEW

Re: Added Python, WSGI to XAMPP

2010-12-15 Thread Gerry Reno
On 12/15/2010 07:36 PM, Ian Kelly wrote: On Mon, Dec 13, 2010 at 5:58 PM, Gerry Reno gr...@verizon.net wrote: The VIEW is the bits that stream out of the webserver back to the users browser. The CONTROLLER is the code that gathers all the pieces from the model and constructs the python

Re: Added Python, WSGI to XAMPP

2010-12-13 Thread Gerry Reno
On 12/13/2010 06:34 PM, Chris Withers wrote: On 09/12/2010 21:29, Gerry Reno wrote: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17t=42981 You mean Pyramid, right? ;-) Chris Maybe, if there's no Zope. Or we'll run away

Re: Added Python, WSGI to XAMPP

2010-12-13 Thread Gerry Reno
On 12/13/2010 07:12 PM, Chris Withers wrote: On 14/12/2010 00:14, Gerry Reno wrote: On 12/13/2010 06:34 PM, Chris Withers wrote: On 09/12/2010 21:29, Gerry Reno wrote: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17t=42981 Maybe

Re: Added Python, WSGI to XAMPP

2010-12-13 Thread Gerry Reno
On 12/13/2010 11:13 PM, rusi wrote: On Dec 10, 2:29 am, Gerry Reno gr...@verizon.net wrote: If you have any need of a portable LAMP stack, I just finished writing some How-To's for getting Python, VirtualEnv and WSGI frameworks running with XAMPP: How-To: Add VirtualEnv and Pylons (WSGI

Added Python, WSGI to XAMPP

2010-12-09 Thread Gerry Reno
If you have any need of a portable LAMP stack, I just finished writing some How-To's for getting Python, VirtualEnv and WSGI frameworks running with XAMPP: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17t=42981 How-To: Add VirtualEnv

Re: A web site using Python

2010-12-06 Thread Gerry Reno
If you have any need of a portable LAMP stack, I just finished writing some How-To's for getting Python, VirtualEnv and WSGI frameworks running with XAMPP: How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP http://www.apachefriends.org/f/viewtopic.php?f=17t=42981 How-To: Add VirtualEnv

Re: Strange factory pattern

2010-06-22 Thread Gerry Reno
This looks like a public class exposing an implementation private class.Jun 22, 2010 10:39:05 PM, zac...@gmail.com wrote:In the threading module there are several code bits following this convention:###def Class(*args, **kwargs): return _Class(*args, **kwargs)class _Class(...###This is true for

Re: Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Gerry Reno
These command just allow you to use 'vi editing mode' within python. If you've ever navigated a file with vi to go up and down the document you'll immediately know how it works.-GerryJun 13, 2010 07:39:35 PM, vinc...@vincentdavis.net wrote:On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno <

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Gerry Reno
sounds like your keymapping got messed with.you could just:set -o vipythonESC, Ctrl-jand now ESC-k and ESC-j will take you back and forth in history (std vi editing)-GerryJun 13, 2010 07:22:40 PM, vinc...@vincentdavis.net wrote:I just installed 2.6 and 3.1 from current maintenance source on

Distutils, bdist_XXX, rpmbuild issues

2009-01-07 Thread Gerry Reno
I've been trying to use the built distribution distutils commands such as bdist_rpm to create distro-specific packages for python applications but I'm running into some thorny issues specifically with pre-release versioning of source distributions and built distributions and how to get a final

Re: Distutils, bdist_XXX, rpmbuild issues

2009-01-07 Thread Gerry Reno
Ben Finney wrote: Gerry Reno gr...@verizon.net writes: We have an application, foo-5.0.0, and we want to put out some pre-release candidates for testing, so we set the version to 5.0.0_rc1 in setup.py. That's where your problems start (as you no doubt surmised). If you want version

Re: Why not Ruby?

2009-01-02 Thread Gerry Reno
There's been almost 50 responses to this rubbish post. Could you please all stop! -- http://mail.python.org/mailman/listinfo/python-list