Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31608
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chip9munk@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'frameworks': 0.05; 'scripts': 0.09; 'python': 0.09; 'apache,': 0.09; 'cherrypy': 0.09; 'idea?': 0.09; 'script,': 0.09; 'scripts,': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'subject:python': 0.11; 'tutorials': 0.15; '(do': 0.16; 'correctly,': 0.16; 'describing': 0.16; 'purposes.': 0.16; 'say.': 0.16; 'wrote:': 0.17; 'basically': 0.17; 'example.': 0.17; 'requests': 0.18; 'question.': 0.20; 'trying': 0.21; 'meant': 0.21; '3.x': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'creating': 0.26; 'plain': 0.27; 'i.e.': 0.27; 'start,': 0.27; 'cgi': 0.29; "i'm": 0.29; 'thursday,': 0.30; 'server.': 0.32; 'accessible': 0.33; 'programming,': 0.33; 'zero': 0.33; 'handle': 0.33; 'knowledge': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'doing': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'add': 0.36; 'really': 0.36; 'useful': 0.36; 'thank': 0.36; 'bad': 0.37; 'october': 0.37; 'does': 0.37; 'two': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'page': 0.38; 'build': 0.39; 'from:no real name:2**0': 0.60; 'mentioned': 0.63; 'different': 0.63; 'here': 0.65; 'to,': 0.65; 'webpage': 0.65; 'sum': 0.66; 'lack': 0.71; 'etc..': 0.84; 'lightweight': 0.84; 'hands': 0.97 |
| Newsgroups | comp.lang.python |
| Date | Thu, 18 Oct 2012 01:10:50 -0700 (PDT) |
| In-Reply-To | <mailman.2409.1350547078.27098.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=193.2.84.130; posting-account=m6Dr7woAAAB9IOKFAlcVRGS6noWmjjMP |
| References | <98b7e362-14fd-4721-84c8-ae1bc11febac@googlegroups.com> <CANaSqUeAJv3u4EqBymifyKZHey1YohU=O73niTpzYOvZgSV3TQ@mail.gmail.com> <mailman.2409.1350547078.27098.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 193.2.84.130 |
| MIME-Version | 1.0 |
| Subject | Re: python scripts for web |
| From | chip9munk@gmail.com |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| 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> |
| Message-ID | <mailman.2410.1350547860.27098.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350547860 news.xs4all.nl 6951 [2001:888:2000:d::a6]:32872 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31608 |
Show key headers only | View raw
To explain, I am basically doing different algorithms and would like to make them work and be accessible as I mentioned in the example... and to add them to the functionality of a specific page... so I have experience in programming, just no experience in web development etc.. On Thursday, October 18, 2012 9:57:58 AM UTC+2, Zero Piraeus wrote: > > If I understand you correctly, what you're describing here is a > webserver - i.e. Apache, nginx etc. I'm not sure why you'd want to > write one of those if you're as inexperienced as you say. > These are all approaches to writing the software that the webserver > hands the request off to, which is a different thing. If that's what > you really meant to ask (how to write a script that processes a > request and returns a response), then plain CGI might be the best > place to start, if you're trying to get a handle on what's going on. I understand how the lack of knowledge on my part can cause the unclarity of my question. I will give you an example. So let us say I create two simple python scripts, one does the sum of two numbers the other one does the multiplication. SO now I want to put these scripts on the server. Now let us say there is a web page that would like to use these scripts (do this calculation). How do I do a "program" that will listen for the requests from the web page and call the scripts on the request? > Once you're happy that you understand how to build a plain CGI script, > frameworks [like Flask] can be very useful ... and Flask is both > lightweight and has good documentation, so it's not a bad choice for > learning purposes. all the tutorials about flask are dealing wit creating the whole webpage in python. I do not need to do that, I just need a service on the servers end.. is flask still the way to go? Also flask does not support Python 3.x jet, would using cherryPy be a good idea? Thank you for the answers!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
python scripts for web chip9munk@gmail.com - 2012-10-18 00:18 -0700
Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 03:57 -0400
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 01:10 -0700
Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 04:42 -0400
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 02:22 -0700
Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 06:02 -0400
Re: python scripts for web rurpy@yahoo.com - 2012-10-18 08:14 -0700
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:01 -0700
Re: python scripts for web Chris Angelico <rosuav@gmail.com> - 2012-10-18 21:02 +1100
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:03 -0700
Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 17:09 -0400
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 23:05 -0700
Re: python scripts for web Gilles <nospam@nospam.com> - 2012-10-19 12:32 +0200
Re: python scripts for web chip9munk@gmail.com - 2012-10-23 02:17 -0700
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 02:22 -0700
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 01:10 -0700
Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:07 -0700
csiph-web