Re: Framework for a beginner

2012-04-20 Thread Bryan
Gerd Niemetz wrote: > Take a look at http://www.web2py.com, a powerful and easy to learn python > framework, and the community at > https://groups.google.com/forum/?fromgroups#!forum/web2py is also very helpful > Web2py rocks. It does by default better than many, probably most, professional web

Re: Framework for a beginner

2012-04-19 Thread Terry Reedy
On 4/19/2012 8:12 AM, lkcl luke wrote: you don't *have* to use lambdas with map and reduce, you just have touse a function, > where a lambda happens to be a nameless function. Abbreviated statements like the above sometimes lead people to think that there is more difference between def functi

Re: Framework for a beginner

2012-04-19 Thread Grzegorz Staniak
On 19.04.2012, Kiuhnm wroted: > When you know more than 30 languages you stop thinking that way > and you also don't try to defend your language against "infidels". Then again, even when you know more than 100 languages, you may find some that fit your brain and some that just don't work well wi

Re: Framework for a beginner

2012-04-19 Thread Terry Reedy
On 4/19/2012 7:20 AM, Alek Storm wrote: Why not use list comprehension syntax? For 3.x, that should be shortened to "Why not use comprehension syntax?", where comprehensions by default become generator expressions. These: > Map: [val+1 for val in some_list] > Filter: [val for val in some_li

Re: Framework for a beginner

2012-04-19 Thread Terry Reedy
On 4/19/2012 7:14 AM, Kiuhnm wrote: On 4/19/2012 6:21, lkcl wrote: yeah, it does :) python is... the best word i can describe it is: it's beautiful. it has an elegance of expression that is only marred by the rather silly mistake of not taking map, filter and reduce into the list object itself:

Re: Framework for a beginner

2012-04-19 Thread Kiuhnm
On 4/19/2012 14:02, Roy Smith wrote: In article<4f8ff38c$0$1381$4fafb...@reader1.news.tin.it>, Kiuhnm wrote: I don't like when a community imposes style on a programmer. For instance, many told me that I shouldn't use camelCase and I should adhere to PEP8. Well, that's not me. I write my cod

Re: Framework for a beginner

2012-04-19 Thread Chris Angelico
On Thu, Apr 19, 2012 at 10:56 PM, lkcl luke wrote: > i'm belabouring the point (not entirely intentionally) but you see how > clumsy that is?  it's probably just as complex in the actual > lexer/grammar file in the http://python.org source code itself, as it > is to think about in real life and to

Re: Framework for a beginner

2012-04-19 Thread Chris Angelico
On Thu, Apr 19, 2012 at 10:12 PM, lkcl luke wrote: >  that's what i meant about beauty and elegance.  the "bang per buck" > ratio in python, results obtained for the number of characters used, > is higher, and that's something that i personally find to be a > priority over speed. Number of charac

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 1:21 PM, Alek Storm wrote: > On Thu, Apr 19, 2012 at 7:12 AM, lkcl luke wrote: >> >> On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote: >> > Why not use list comprehension syntax? >> >>  because it's less characters to type, and thus less characters to >> read.  i find t

Re: Framework for a beginner

2012-04-19 Thread Neil Cerutti
On 2012-04-19, Kiuhnm wrote: > I don't like when a community imposes style on a programmer. > For instance, many told me that I shouldn't use camelCase and I > should adhere to PEP8. > > Well, that's not me. I write my code the way I like it and if > that is frowned upon by some "standardizing" co

Re: Framework for a beginner

2012-04-19 Thread Alek Storm
On Thu, Apr 19, 2012 at 7:12 AM, lkcl luke wrote: > On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote: > > Why not use list comprehension syntax? > > because it's less characters to type, and thus less characters to > read. i find that syntax incredibly klunky. left to right you're > reading

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote: > On Wed, Apr 18, 2012 at 11:21 PM, lkcl wrote: >> >> On Apr 11, 9:11 pm, biofob...@gmail.com wrote: >> >> > I am new to python and only have read the Byte of Python ebook, but want >> > to move to the web. I am tired of being a CMS tweaker and

Re: Framework for a beginner

2012-04-19 Thread Roy Smith
In article <4f8ff38c$0$1381$4fafb...@reader1.news.tin.it>, Kiuhnm wrote: > I don't like when a community imposes style on a programmer. For > instance, many told me that I shouldn't use camelCase and I should > adhere to PEP8. > Well, that's not me. I write my code the way I like it and if tha

Re: Framework for a beginner

2012-04-19 Thread Chris Angelico
On Thu, Apr 19, 2012 at 9:14 PM, Kiuhnm wrote: > There are many things I don't like about Python. The first flaw is the > absence of anonymous code blocks, but I've already solved this problem. You mean lambdas? Yeah, they're a lot more limited in Python than in some other languages. However, you

Re: Framework for a beginner

2012-04-19 Thread Alek Storm
On Wed, Apr 18, 2012 at 11:21 PM, lkcl wrote: > On Apr 11, 9:11 pm, biofob...@gmail.com wrote: > > > I am new to python and only have read the Byte of Python ebook, but want > to move to the web. I am tired of being a CMS tweaker and after I tried > python, ruby and php, the python language makes

Re: Framework for a beginner

2012-04-19 Thread Kiuhnm
On 4/19/2012 6:21, lkcl wrote: yeah, it does :) python is... the best word i can describe it is: it's beautiful. it has an elegance of expression that is only marred by the rather silly mistake of not taking map, filter and reduce into the list object itself: l.map(str) for example would be i

Re: Framework for a beginner

2012-04-18 Thread lkcl
On Apr 11, 9:11 pm, biofob...@gmail.com wrote: > I am new to python and only have read the Byte of Python ebook, but want to > move to the web. I am tired of being a CMS tweaker and after I tried python, > ruby and php, the python language makes more sense (if that makes any "sense" > for the r

Re: Framework for a beginner

2012-04-18 Thread lkcl
On Apr 17, 9:54 am, Bryan wrote: > If by rebuilding your portfolio you mean to position yourself for a > job, then popularity counts a lot. As measured by job openings, Django > is king. yeah i can attest to that. i never get the jobs, though :) -- http://mail.python.org/mailman/listinfo/pyth

Re: Framework for a beginner

2012-04-17 Thread Bryan
Roy Smith wrote: > Bryan wrote: > > Django has emphasized backwards compatibility with the > > down-side that, last I heard, there was no plan to move to Python 3. > > Hardly.  Seehttps://www.djangoproject.com/weblog/2012/mar/13/py3k/ Ah, I'm behind the times again. Thanks, that's good news. -- -

Re: Framework for a beginner

2012-04-17 Thread Gerd Niemetz
Am Mittwoch, 11. April 2012 22:11:37 UTC+2 schrieb biof...@gmail.com: > I am new to python and only have read the Byte of Python ebook, but want to > move to the web. I am tired of being a CMS tweaker and after I tried python, > ruby and php, the python language makes more sense (if that makes an

Re: Framework for a beginner

2012-04-17 Thread Gerd Niemetz
Am Mittwoch, 11. April 2012 22:11:37 UTC+2 schrieb biof...@gmail.com: > I am new to python and only have read the Byte of Python ebook, but want to > move to the web. I am tired of being a CMS tweaker and after I tried python, > ruby and php, the python language makes more sense (if that makes an

Re: Framework for a beginner

2012-04-17 Thread Roy Smith
In article , Bryan wrote: > Django has emphasized backwards compatibility with the > down-side that, last I heard, there was no plan to move to Python 3. Hardly. See https://www.djangoproject.com/weblog/2012/mar/13/py3k/ I agree that Django is probably what the OP should be looking at, for

Re: Framework for a beginner

2012-04-17 Thread Arnaud Delobelle
On 17 April 2012 09:54, Bryan wrote: > Django has emphasized backwards compatibility with the > down-side that, last I heard, there was no plan to move to Python 3. Not quite: https://www.djangoproject.com/weblog/2012/mar/13/py3k/ -- Arnaud -- http://mail.python.org/mailman/listinfo/python-li

Re: Framework for a beginner

2012-04-17 Thread Bryan
biofob wrote: > I am new to python and only have read the Byte of Python ebook, but want to > move to the web. I am tired of being a CMS tweaker and after I tried python, > ruby and php, the python language makes more sense (if that makes any "sense" > for the real programmers). I heard a lot of

Re: Framework for a beginner

2012-04-11 Thread Louis des Landes
A simpler version of Django or Pyramid is 'Flask' It's doco is great and aimed at a reasonably entry level. It's still quite powerful, but easier to set up to start with: http://flask.pocoo.org/ Louis. http://psykar.com -- http://mail.python.org/mailman/listinfo/python-list

RE: Framework for a beginner

2012-04-11 Thread Ed W LaHay
-bounces+edwlahay=astound@python.org [mailto:python-list-bounces+edwlahay=astound@python.org] On Behalf Of biofob...@gmail.com Sent: Wednesday, April 11, 2012 1:12 PM To: python-list@python.org Subject: Framework for a beginner I am new to python and only have read the Byte of Python ebook

Re: Framework for a beginner

2012-04-11 Thread Micky Hulse
Hello, I've got more experience with PHP stuff, but for Python, I would recommend checking out Django "getting started": ... to see if you like it. Having used a few PHP frameworks and CMSs, I really dig that Django has a built-in admin; I am in th

Framework for a beginner

2012-04-11 Thread biofobico
I am new to python and only have read the Byte of Python ebook, but want to move to the web. I am tired of being a CMS tweaker and after I tried python, ruby and php, the python language makes more sense (if that makes any "sense" for the real programmers). I heard a lot of good things about Dja