ANN: CherryPy-2.1.0-final released

2005-10-23 Thread remi
omain/book/science/9 - requests are mapped to an object tree that is "mounted" on cherrypy.root (for instance: "cherrypy.root.user", "cherrypy.root.user.remi", ...) - method must be explicitly exposed with a decorator "@cherrypy.expose" (or "index.exposed = True" for Python-2.3) Remi. http://www.cherrypy.org -- http://mail.python.org/mailman/listinfo/python-list

Ann: CherryPy-2.0-beta released

2005-01-03 Thread remi
quot;: - filters perform operations on the request/response such as gzip-compression or string encoding - modules are web applications (like a blog or a web forum) than can be easily "mounted" anywhere you want in your website CherryPy-2 is already used in production by several sites and is supported by an active community. Remi. http://www.cherrypy.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Frameworks for "Non-Content Oriented Web Apps"

2005-01-03 Thread remi
Have a look a the new CherryPy (http://www.cherrypy.org). It allows developers to build web applications in much the same way they would build any other object-oriented Python program. This might corespond to what you're looking for. Remi. -- http://mail.python.org/mailman/listinfo/python-list

Re: Ann: CherryPy-2.0-beta released

2005-01-03 Thread remi
://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/BehindApache). Since CherryPy provides a WSGI interface (although it's still experimental), you can also run your CherryPy app with any WSGI-compatible HTTP server (although I don't really see any advantage to doing this). Remi -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.1.0-beta released

2005-07-14 Thread remi
#x27;, arg2='val2')" - CherryPy also supports "RESTful" URLs like http://domain/book/science/9 - requests are mapped to an object tree that is "mounted" on cherrypy.root (for instance: "cherrypy.root.user", "cherrypy.root.user.remi", ...) - metho

Re: Seeking Python + Subversion hosting.

2004-12-06 Thread remi
, ...) This is where http://www.cherrypy.org is hosted for instance. Regards, Remi. -- http://mail.python.org/mailman/listinfo/python-list

Re: Seeking Python + Subversion hosting.

2004-12-06 Thread remi
, ...) This is where http://www.cherrypy.org is hosted for instance. Regards, Remi. -- http://mail.python.org/mailman/listinfo/python-list

numbering variables

2005-03-28 Thread remi
Hello, I have got a list like : mylist = ['item 1', 'item 2','item n'] and I would like to store the string 'item1' in a variable called s_1, 'item2' in s_2,...,'item i' in 's_i',... The lenght of mylist is finite ;-) Any ideas ? Thanks a lot. Rémi. -- http://mail.python.org/mailman/listinfo/

Re: numbering variables

2005-03-28 Thread remi
Patrick Useldinger a écrit : remi wrote: Hello, I have got a list like : mylist = ['item 1', 'item 2','item n'] and I would like to store the string 'item1' in a variable called s_1, 'item2' in s_2,...,'item i' in 's_i',

Re: numbering variables

2005-03-28 Thread remi
Fredrik Lundh a écrit : "remi" <[EMAIL PROTECTED]> wrote: I have got a list like : mylist = ['item 1', 'item 2','item n'] and I would like to store the string 'item1' in a variable called s_1, 'item2' in s_2,...,'item

Re: numbering variables

2005-03-28 Thread remi
Fredrik Lundh a écrit : "remi" <[EMAIL PROTECTED]> wrote: I want to store each item of mylist in a variable (and after "xmlize" it little by little). why not just process the items in the list? That's right. for item in mylist: print tex2xml(it

Re: numbering variables

2005-03-28 Thread remi
Fredrik Lundh a écrit : variable['s_i']=mylist.pop() variable['s_' + str(i)]=mylist.pop() but that while and pop stuff is pretty weird; Why ? Because it destroys the list ? maybe you should read the sections on lists, for loops, and string formatting in the Python tutorial? here's a shorter

Re: (PHP or Python) Developing something like www.tribe.net

2005-04-28 Thread remi
ta-driven it would be a *lot* more ...). If it gets accepted, there will be a talk about this system at EuroPython ... Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN (Screencast): Using python at WebFaction

2006-06-21 Thread remi
installer already supports all major tools, including Rails, WordPress, Django, TurboGears, Plone, Trac and Subversion, but also lightweight tools such as static HTML, CGI or PHP. The demo is available at: http://blog.webfaction.com/control-panel-demo Remi. http://www.webfaction.com - Hosting for

ANN: Python-2.5 available at WebFaction

2006-09-20 Thread remi
n-2.5-compatible application servers will be able to use all the new features of Python-2.5 for their website. Remi http://www.webfaction.com - Hosting for an agile web -- http://mail.python.org/mailman/listinfo/python-list

Re: Python-2.5 available at WebFaction

2006-09-20 Thread remi
hon-Hosting.com) support all the > > major Python web frameworks (Django, TurboGears, CherryPy, > > mod_python, Pylons, web.py, ...) > > > > People using Python CGI or Python-2.5-compatible application servers > > will be able to use all the new features of Python-2.5 for

Re: python-hosting.com projects: dead?

2006-12-19 Thread Remi
wling under the load caused by these spammers). If your site got disabled by mistake just e-mail us and we'll re-enable it within minutes ... Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.2.0beta released

2006-01-30 Thread remi
Py process - Lots of bug fixes and improvements (including a more stable session handling) - Switch to lowercase API (instead of camelCase). (old API is still supported but deprecated) Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.0-final released

2005-05-04 Thread remi
esign of CherryPy-2 allows to easily write/use pluggable "filters" or "modules": - filters perform operations on the request/response such as gzip-compression or string encoding - modules are web applications (like a blog or a web forum) than can be easily "mounted" anywhere

ANN: CherryPy-2.2.0-rc1 released

2006-03-09 Thread remi
le from the CherryPy website: http://www.cherrypy.org Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.2.0-rc1 released

2006-04-04 Thread remi
yield "" # cherrypy.root = HelloWorld() # cherrypy.server.start() The project has been growing strongly lately: cherrypy.org averaged 3000 visitors/day in March, up from 2000 visitors/day in January and February; and the cherrypy-users list just passed 700 users. Details and downloads ar

Re: ANN: CherryPy-2.2.0 released

2006-04-04 Thread remi
yield "" > # cherrypy.root = HelloWorld() > # cherrypy.server.start() > > The project has been growing strongly lately: > cherrypy.org averaged 3000 visitors/day in March, > up from 2000 visitors/day in January and February; > and the cherrypy-users list just passed 700 users. > > > Details and downloads are available from: > > http://www.cherrypy.org > > > Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.2.0 released

2006-04-04 Thread remi
errypy-users list just passed 700 users. Details and downloads are available from: http://www.cherrypy.org Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: CherryPy-2.2.0 released

2006-04-04 Thread remi
errypy-users list just passed 700 users. Details and downloads are available from: http://www.cherrypy.org Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Free Trac/Subversion hosting at Python-Hosting.com

2005-01-19 Thread Remi Delon
through a web interface - Web usage statistics of your Trac site - Nightly backups of your data to external servers If you want to know more about this offer and find out how to sign up, check out the following page: http://www.python-hosting.com/freetrac Remi. -- http://mail.python.org

Re: Loop until condition is true

2005-06-21 Thread Remi Villatel
; used to it. Grandfathers and eggs. Now, excuse me but I have a group of savage AI written in bad style Python to tame. -- == Remi Villatel [EMAIL PROTECTED] == -- http://mail.python.org/mailman/listinfo/python-list

Re: Polling, Fifos, and Linux

2005-07-08 Thread Remi Villatel
f you kill the listener, the writer reports a broken pipe when it tries to flush(). The writer can close and open the pipe to its liking, the listener doesn't care. The only problem is that the writer freezes when it opens the pipe until there is a listener at the other end. A

Re: [CherryPy]Serve dynamic binary file in cherrypy?

2005-03-09 Thread Remi Delon
cpg.response.headerMap['Content-Type'] = 'image/gif' # return data Remi. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python-2.4 available at Python-Hosting.com

2004-12-03 Thread Remi Delon
others (in fact, pretty much everything you want that runs on Python). Remi PS: Python-Hosting.com will be 2 years old in a few weeks :-) -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python-2.4 available at Python-Hosting.com

2004-12-03 Thread Remi Delon
others (in fact, pretty much everything you want that runs on Python). Remi PS: Python-Hosting.com will be 2 years old in a few weeks :-) -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

Re: python coding contest

2005-12-25 Thread Remi Villatel
in order to > be able to submit) Do your best! I'd really like to see your code. Right now, 179 chars doesn't seem enough for me to write a "Hello world". ;-) -- == Remi Villatel [EMAIL PROTECTED] == -- http://mail.python.org/mailman/listinfo/python-list

Re: python coding contest

2005-12-25 Thread Remi Villatel
rbt wrote: > Does positioning matter? For example, say I give it '123' is it ok to > output this: > > 1 > 2 > 3 > > Or does it have to be 123 Download the test suite and you'll see that only 123 on one line passes the test. Sorry... -- ==

Re: python coding contest

2005-12-26 Thread Remi Villatel
27;ll have to see what can be done... 39 bytes... 53 bytes... It gives me the impression to follow a jet plane with a bike with my 179 bytes! There isn't a single superfluous byte. My code is so compressed that the syntactic colorizer can't cope any more. I definitively need a

Re: python coding contest

2005-12-27 Thread Remi Villatel
ure at 99% that I'm really stuck... -- == Remi Villatel [EMAIL PROTECTED] == -- http://mail.python.org/mailman/listinfo/python-list

Re: python coding contest

2005-12-27 Thread Remi Villatel
pythonic goal if you count in bytes. The same contest with the length of the code measured in "pythonic units" would be better. When I say "pythonic unit", I mean to count 1 unit for each variable, literal, operator or key-word. That would be more pythonic. ...b

Re: What's wrong in this HTML Source file of a Bank

2006-06-13 Thread Remi Villatel
ser(me). This is definitively not the right newsgroup for HTML issues. Go to: http://validator.w3.org/ And I'm already too nice... -- == Remi Villatel [EMAIL PROTECTED] == -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is fun (useless social thread) ;-)

2006-06-15 Thread Remi Villatel
to even start writing things in C++. No need to compile or debug in Python. When something goes wrong: CTRL+C, correct and restart. Python is fun because it's easy to write, to understand and to use. -- == Remi Villatel [EMAIL PROTECTED] == -- http://mail.python.org/mailman/listinfo/python-list

Loop until condition is true

2005-06-17 Thread Remi Villatel
uot;while". So far, all I got is: while True: some(code) if final_condition is True: break # # What I don't find so "nice" is to have to build an infinite loop only to break it. Is there a better recipe? --

Re: Build unordered list in HTML from a python list

2010-06-30 Thread Remi Carton
}, { 'title': 'Folder 1.1', 'children' : [ .. ], }, ] }, ] and something like: def displayListItem(i): print '%s' % i['title'] if i['children']: print '' for c in i['children']: displayListItem(c) print '' print you might also use recursion with your existing list, by 'pop'ing the first item and passing the rest of the list. Remi -- http://mail.python.org/mailman/listinfo/python-list