How to create a login screen using core python language without using any framework

Сахнов Михаил sahnov.m at gmail.com
Fri Oct 5 04:13:30 EDT 2012


Hi, you can write a simple wsgi app for that, and run it through simple
server, for example.

http://docs.python.org/library/wsgiref.html
05.10.2012 12:06 пользователь <shivakrshn49 at gmail.com> написал:

> I need to develop a simple login page using Python language with two
> fields and a button, like:
>
>     Username, Password, Login
>
> I know there are some beautiful Python frameworks like
>
>     Django, Grok, WebPy, TurboGears
>
> which support web development using Python, but mine is a basic
> requirement consisting of only 3 screens (pages):
>
> * 1st page  -  Login page (Redirects to 2nd page when login button is
> clicked)
> * 2nd page  -  Page with records in the form of a list, with an option for
> adding new records (Redirects to 3rd page when "Add Records" button is
> clicked)
> * 3rd page  -  Page with fields, which are saved as records for the list
> on 2nd page  (After entering details and clicking Submit)
>
> So, I have decided to develop the above functionality using Python
> **without** using any framework, so that I can have flexibility as well as
> write my own code.
>
> 1. Is it possible to create a login page using Python without using a
> framework?
>
> 2. I haven't worked on web services and don't know the basics of web
> development in Python.
>
> 3. If possible, can you provide me an example on how to create a login
> page using Python and achieve the functionality described above?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121005/caadffcf/attachment.html>


More information about the Python-list mailing list