Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; '(at': 0.03; 'essentially': 0.04; 'frameworks': 0.05; 'redirected': 0.07; 'subject:How': 0.09; 'python': 0.09; 'cookies': 0.09; 'cookies,': 0.09; 'least)': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:create': 0.09; 'subject:language': 0.09; 'subject:using': 0.09; 'subject:python': 0.11; 'above?': 0.16; 'cryptic': 0.16; 'oct': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:core': 0.16; 'subject:login': 0.16; 'subject:screen': 0.16; 'uh,': 0.16; 'instance,': 0.17; 'code,': 0.18; 'code.': 0.20; 'written': 0.20; 'all,': 0.21; 'assignment': 0.22; 'http': 0.22; 'example': 0.23; "haven't": 0.23; 'possible,': 0.27; 'header:X-Complaints-To:1': 0.28; '"do': 0.29; '(since': 0.29; 'worked': 0.30; 'fri,': 0.30; 'normally': 0.30; 'error': 0.30; 'etc.)': 0.32; 'url:home': 0.33; 'problem': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'done': 0.34; 'server': 0.35; 'described': 0.35; "won't": 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'charset:us- ascii': 0.36; 'possible': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'login': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'you.': 0.61; "you'll": 0.62; 'provide': 0.62; 'email addr:gmail.com': 0.63; 'services': 0.64; 'direct': 0.69; '50%': 0.81; 'log-in': 0.84; 'subject:any': 0.84; 'dennis': 0.91; 'received:108': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: How to create a login screen using core python language without using any framework Date: Fri, 05 Oct 2012 14:13:32 -0400 Organization: > Bestiaria Support Staff < References: <97fa2804-adda-428f-a78a-d9ab3e22e965@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-218-239.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349460808 news.xs4all.nl 6938 [2001:888:2000:d::a6]:35462 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30828 On Fri, 5 Oct 2012 01:03:56 -0700 (PDT), shivakrshn49@gmail.com declaimed the following in gmane.comp.python.general: > > 1. Is it possible to create a login page using Python without using a framework? > Sure... After all, those frameworks are written in Python... > 2. I haven't worked on web services and don't know the basics of web development in Python. > That's going to be a problem -- since you'll need to understand HTTP (at the least) to manage session cookies (since someone not logged in should not be able to direct access the data pages -- they should be redirected to the log-in page). THEN you can see about what Python supplies that may assist you. > 3. If possible, can you provide me an example on how to create a login page using Python and achieve the functionality described above? Uh, anyone providing an "example" of a log-in page will have essentially written the 50% of your assignment (since they may have done a simple server instance, session cookies, authorization database, etc.) The regulars in this group normally don't "do homework"; we'll analyze cryptic error messages from runnable code, but won't provide the code. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/