Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40416

Re: Python in web development

References <f1b02b78-62d6-4aa0-a532-eff8921cfc3a@googlegroups.com>
From Michael Herman <hermanmu@gmail.com>
Date 2013-03-03 09:20 -0800
Subject Re: Python in web development
Newsgroups comp.lang.python
Message-ID <mailman.2823.1362331673.2939.python-list@python.org> (permalink)

Show all headers | View raw


If Python is your personal choice, then it's the *best* for you. If
you are literally just going to be processing an HTML form, then CGI
is your best bet. However, if you think this functionally will grow,
then it's worth learning a web framework.

I would go with a micro framework. bottle.py is a perfect starting
point. I am a huge Flask fan, but it's a little higher level. I have
tutorials here for Flask -
http://www.youtube.com/playlist?list=PLLjmbh6XPGK5pM1QJ8I1ccdGiCTHa1IC8

Also, check out realpythonfortheweb.com for more tutorials.

Good luck! :)

On Sun, Mar 3, 2013 at 6:18 AM, Sarbjit singh <sarbjit1987@gmail.com> wrote:
>
> Hello All,
>
> I have been using Python as a scripting language for my office tasks. Now
> I have been thinking of using (and learning as well) for web development.
> For my tasks, I need to perform some tasks and report on the web. Now I have
> no experience of web development with Python. So, I want to conform first
> whether Python is best for web development. Python is my personal choice for
> my automation works and I want to extend it for web development.
>
> REQUIREMENT:
> I need to develop a html form which would take user input and perform some
> operations (generate intermediate files) and report result on web.
>
> >> Some guys in my organization are using Perl for this purpose and thus I
> >> could get the setup for free.But I want to learn and use Python as
> >> substitute for Perl. (PHP could also be an option. I have worked on PHP once
> >> for handling the form data.)
>
> So my questions are:-
>
> 1. Can I use Python (I want to use personally :)) over PHP/Perl?
>
> 2. If Yes, I want to know the modules that I should learn for achieving my
> requirement. I searched internet and found Python provides CGI, Django etc.
>
> I don't much about Django/CGI, please suggest which module I should learn
> and use.
>
> Thanks
> Sarbjit
> --
> http://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python in web development Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-03 06:18 -0800
  Re: Python in web development becky_lewis <bex.lewis@gmail.com> - 2013-03-03 06:50 -0800
  Re: Python in web development Michael Torrie <torriem@gmail.com> - 2013-03-03 09:19 -0700
  Re: Python in web development Michael Herman <hermanmu@gmail.com> - 2013-03-03 09:20 -0800
  Re: Python in web development Roy Smith <roy@panix.com> - 2013-03-03 14:34 -0500

csiph-web