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


Groups > comp.lang.python > #40416

Re: Python in web development

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <hermanmu@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.05; 'intermediate': 0.05; 'framework.': 0.07; 'python': 0.09; 'grow,': 0.09; 'scripting': 0.09; 'tasks,': 0.09; 'cc:addr:python-list': 0.10; 'django': 0.10; 'suggest': 0.11; 'language': 0.14; 'tutorials': 0.15; ':))': 0.16; 'files)': 0.16; 'luck!': 0.16; 'perl.': 0.16; 'substitute': 0.16; 'tutorials.': 0.16; 'wrote:': 0.17; 'input': 0.18; 'module': 0.19; 'all,': 0.21; 'option.': 0.22; 'cc:2**0': 0.23; 'thus': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'extend': 0.26; 'am,': 0.27; 'handling': 0.27; 'message-id:@mail.gmail.com': 0.27; 'cgi': 0.29; 'perl': 0.29; 'subject:development': 0.29; 'url:mailman': 0.29; 'worked': 0.30; 'web.': 0.30; '(and': 0.32; 'url:python': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'achieving': 0.33; 'automation': 0.33; 'requirement.': 0.33; 'singh': 0.33; 'guys': 0.33; 'operations': 0.33; 'point.': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'so,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'development.': 0.36; 'level.': 0.36; 'modules': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'perform': 0.38; 'some': 0.38; 'little': 0.39; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; 'you.': 0.61; 'personally': 0.61; 'first': 0.61; 'organization': 0.61; 'office': 0.61; 'personal': 0.62; 'worth': 0.63; 'perfect': 0.63; 'more': 0.63; 'here': 0.65; 'tasks.': 0.65; 'url:youtube': 0.70; 'internet': 0.71; '2013': 0.84; 'fan,': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=uKZBZV4bsIAdgw2+gB3luQO490wlBP5VkP1aQWjtV9A=; b=MH+1oMkLiVV1DeCtgyU23t80h7DwIg3L0tWSLsjSAkJQtruHuzzwG4EAKAwtu9Pxxr UF/hlU/ErBbzNw1/mx383QfA8E0PGCsxFVZNM12KT38p2PEUwA1A1fXWDFl2Mw5B3JOa iHS/xwOrGSY8LjegSmEJ9DuK5OWGRWJ9+XdCeooyA/gapT84Un/wwOJjmRRkLlKlKSxR bQeaynpQ/Fl95nUj34TCMez9OnDdi9VeCR9fCqoWK2ZdW+L/Yubpf9q6i9WQJoyp3UR5 fWlIFDCcciphoM8YATBKiTre6rFP0bMKSTqscSr4lBLrQDPPsro52u3rQzAEldUWSoKA tvtA==
X-Received by 10.52.20.177 with SMTP id o17mr5917379vde.17.1362331223614; Sun, 03 Mar 2013 09:20:23 -0800 (PST)
MIME-Version 1.0
In-Reply-To <f1b02b78-62d6-4aa0-a532-eff8921cfc3a@googlegroups.com>
References <f1b02b78-62d6-4aa0-a532-eff8921cfc3a@googlegroups.com>
From Michael Herman <hermanmu@gmail.com>
Date Sun, 3 Mar 2013 09:20:02 -0800
Subject Re: Python in web development
To Sarbjit singh <sarbjit1987@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2823.1362331673.2939.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362331673 news.xs4all.nl 6974 [2001:888:2000:d::a6]:54984
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40416

Show key headers only | 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