Re: Python - requests - forms - web scraping - how to deal with multi stage forms

2018-05-17 Thread Grant Edwards
On 2018-05-17, kret...@gmail.com wrote: > https://stackoverflow.com/questions/50383210/python-requests-how-to-post-few-stages-forms Your point? -- Grant Edwards grant.b.edwardsYow! I had pancake makeup at

Re: Python - requests - forms - web scraping - how to deal with multi stage forms

2018-05-17 Thread GMX
https://stackoverflow.com/questions/50383210/python-requests-how-to-post-few-stages-forms   --  https://mail.python.org/mailman/listinfo/python-list  Hi,  Your post will get more traction on the email list if you try to post the actual question on the list against posting a url to an external

Python - requests - forms - web scraping - how to deal with multi stage forms

2018-05-16 Thread kret . ca
https://stackoverflow.com/questions/50383210/python-requests-how-to-post-few-stages-forms -- https://mail.python.org/mailman/listinfo/python-list

Re: Python loop and web server (bottle) in the same script (Posting On Python-List Prohibited)

2017-11-29 Thread zljubisic
Processing is I/O and CPU bound. :( -- https://mail.python.org/mailman/listinfo/python-list

Re: Python loop and web server (bottle) in the same script (Posting On Python-List Prohibited)

2017-11-24 Thread Gregory Ewing
Lawrence D’Oliveiro wrote: I naturally concluded that you didn’t care about updates being momentarily held up by a web request in progress--which would happen anyway if you used threads, at least with CPython. Not necessarily -- the web processing is probably I/O bound, in which case the GIL

Re: Python loop and web server (bottle) in the same script (Posting On Python-List Prohibited)

2017-11-24 Thread zljubisic
That's right. Update task has precedence. Looks like it is not an easy task. Regards. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python loop and web server (bottle) in the same script (Posting On Python-List Prohibited)

2017-11-24 Thread Gregory Ewing
Lawrence D’Oliveiro wrote: On Friday, November 24, 2017 at 3:27:17 AM UTC+13, zlju...@gmail.com wrote: Looks like I need some sort of parallelization. This is why coroutines were added to Python. Threading is notoriously bug-prone, and is best avoided in most situations. The OP claimed

Re: Python loop and web server (bottle) in the same script

2017-11-23 Thread Chris Angelico
On Fri, Nov 24, 2017 at 1:27 AM, wrote: > I would like to have a script that collects data every minute and at the same > time serve newly collected data as web pages. > > Timely collecting data is more important than serving web pages, so > collecting data should have

Python loop and web server (bottle) in the same script

2017-11-23 Thread zljubisic
I would like to have a script that collects data every minute and at the same time serve newly collected data as web pages. Timely collecting data is more important than serving web pages, so collecting data should have priority and should never be interrupted by serving web pages. My first

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-09-26 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: This is marked as "critical". Looks like it's fixed. Can we close it? -- nosy: +lukasz.langa ___ Python tracker ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-03-24 Thread Steve Dower
Steve Dower added the comment: New changeset 1aceb024172ea3d6f9dd6e90f4fbe63ea1fb054e by Steve Dower in branch 'master': bpo-29624: Adds purge step and layout test after uploading files. (#258) https://github.com/python/cpython/commit/1aceb024172ea3d6f9dd6e90f4fbe63ea1fb054e --

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-03-24 Thread Steve Dower
Steve Dower added the comment: New changeset e29741466df0cd01a49bf5ec3b1df3e2bad119a7 by Steve Dower in branch '3.5': bpo-29624: Adds purge step and layout test after uploading files. (#258) (#263) https://github.com/python/cpython/commit/e29741466df0cd01a49bf5ec3b1df3e2bad119a7 --

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-03-24 Thread Steve Dower
Steve Dower added the comment: New changeset f2beceb7e54fadc507137f86cbe9d74f7e5b8f7c by Steve Dower in branch '3.6': bpo-29624: Adds purge step and layout test after uploading files. (#258) (#264) https://github.com/python/cpython/commit/f2beceb7e54fadc507137f86cbe9d74f7e5b8f7c --

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +235 ___ Python tracker ___ ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +236 ___ Python tracker ___ ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Steve Dower
Steve Dower added the comment: I have built an updated web installer which should allow us to replace just the one file on the server to fix the issue. The only downside is that it is not compatible with existing installs of 3.5.3 (that is, you can't run the executable to Modify/Repair/Remove

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +228 ___ Python tracker ___ ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Steve Dower
Steve Dower added the comment: Creating a repaired installer is possible, though risky (it's easy when I still have the original build handy, but at this stage a rebuild will produce different hashes and make things worse). But I intend to look into that as soon as I can. If the launcher is

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Tim Golden
Tim Golden added the comment: Since the webmaster@ address tends to bear the brunt of these, can I make sure I understand the situation? * The only installers affected are those for x86/32-bit Windows 3.5.3 * By default [I just checked] the launcher checkbox is not checked * If it *is*

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-22 Thread Steve Dower
it doesn't happen again. (Adding a /layout test after uploading is an easy way to test this.) -- assignee: steve.dower components: Windows messages: 288379 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: critical severity: normal stage: test needed status: open title: Python

[issue26550] documentation minor issue : "Step back: WSGI" section from "HOWTO Use Python in the web"

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Alejandro. Doc/howto/webservers.rst has been removed in Python 3 so I just fixed 2.7. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 3.2, Python 3.3,

[issue26550] documentation minor issue : "Step back: WSGI" section from "HOWTO Use Python in the web"

2016-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 522506fcff88 by Berker Peksag in branch '2.7': Issue #26550: Fix typo in webservers HOWTO https://hg.python.org/cpython/rev/522506fcff88 -- nosy: +python-dev ___ Python tracker

Python 3 Flask web-based curve and surface fitter

2016-07-07 Thread zunzun . com
I made a Python 3 web-based curve and surface fitting application using Flask, the URL is: https://github.com/zunzun/FlaskFit/ -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

[issue26550] documentation minor issue : "Step back: WSGI" section from "HOWTO Use Python in the web"

2016-03-12 Thread Alejandro Soini
New submission from Alejandro Soini: Bad article usage in the following sentence from the WSGI section on HOWTO Use Python in the web (https://docs.python.org/2/howto/webservers.html#wsgi) : "Authentication is another a problem easily solved using existing middleware." sugges

[issue24852] Python 3.5.0rc1 "HOWTO Use Python in the web" needs fix

2016-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8ee8f79a024 by Berker Peksag in branch '3.5': Issue #24852: Remove outdated "HOWTO Use Python in the web" document https://hg.python.org/cpython/rev/b8ee8f79a024 New changeset ee1d44f7d3e7 by Berker Peksag in branch 'default': Issue #248

[issue24852] Python 3.5.0rc1 "HOWTO Use Python in the web" needs fix

2016-03-07 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue24852] Python 3.5.0rc1 "HOWTO Use Python in the web" needs fix

2016-03-06 Thread Berker Peksag
Berker Peksag added the comment: See issue 26497 for another report about this. I will remove Doc/howto/webservers.rst. -- versions: -Python 3.4 ___ Python tracker

[issue26497] Documentation - HOWTO Use Python in the web paragraph on TurboGears still mentions it's based on Pylons

2016-03-06 Thread Berker Peksag
.0rc1 "HOWTO Use Python in the web" needs fix _______ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26497> ___ ___ Python-bugs-lis

[issue26497] Documentation - HOWTO Use Python in the web paragraph on TurboGears still mentions it's based on Pylons

2016-03-06 Thread Alessandro Molina
dro Molina, docs@python priority: normal severity: normal status: open title: Documentation - HOWTO Use Python in the web paragraph on TurboGears still mentions it's based on Pylons versions: Python 3.5, Python 3.6 ___ Python tracker <rep...@bugs.pyth

[issue24852] Python 3.5.0rc1 HOWTO Use Python in the web needs fix

2015-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's probably better to remove the document for now I concur. Although, this topic sees lot of change regularly, so it is probably not a good one for the standard documentation after all. This makes sense. We typically use wiki pages for this kind of

[issue24852] Python 3.5.0rc1 HOWTO Use Python in the web needs fix

2015-08-13 Thread Berker Peksag
Berker Peksag added the comment: +1 I'd delete most of the CGI section, add a note about PEP and mention Gunicorn, uwsgi and Waitress. The frameworks section also needs a cleanup. Do you want to work on a patch? -- nosy: +berker.peksag stage: - needs patch versions: +Python

[issue24852] Python 3.5.0rc1 HOWTO Use Python in the web needs fix

2015-08-13 Thread Georg Brandl
Georg Brandl added the comment: It's probably better to remove the document for now, and add a rewritten version back when it arrives. Although, this topic sees lot of change regularly, so it is probably not a good one for the standard documentation after all. -- nosy: +georg.brandl

[issue24852] Python 3.5.0rc1 HOWTO Use Python in the web needs fix

2015-08-13 Thread John Hagen
rather than python. Unfortunately, I think I should defer writing the patch/new page to someone with more experience in the Python/web world. I am still pretty new to it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24852

[issue24852] Python 3.5.0rc1 HOWTO Use Python in the web needs fix

2015-08-12 Thread John Hagen
New submission from John Hagen: https://docs.python.org/3.5/howto/webservers.html#setting-up-fastcgi The HOWTO Use Python in the web documentation for 3.5.0rc1 prescribes to use flup in its example, which is not compatible with Python 3. This has led to some confusion: https

[issue22041] http POST request with python 3.3 through web proxy

2014-07-28 Thread Alejandro MJ
Alejandro MJ added the comment: Thanks a lot for your help, as you suggested the problem was because of the method set_tunnel. I've tested the code that you have posted and now works perfectly. I'll keep in mind this for future works. We can conclude that it's not really a bug of Python, so

[issue22041] http POST request with python 3.3 through web proxy

2014-07-28 Thread Demian Brecht
Demian Brecht added the comment: No problem, happy you were able to get things sorted. Feel free to close this issue as I've opened #22095 to address the host port header issue. -- ___ Python tracker rep...@bugs.python.org

[issue22041] http POST request with python 3.3 through web proxy

2014-07-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22041 ___ ___

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: Thanks a lot for your help! I've tested it in Linux, Python version 3.3.5 and the message obtained is this: [404 Not Found]. The script is this one (changing of course the ip_address and the proxy_url values): import http.client, urllib.parse data =

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: I've wrote these sentences on my SUSE, python is installed on path: /usr/local/pr/python computer002:/usr/local/pr/python # patch -p1 --dry-run issue22041_1.patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: To add a little more detail, from what I gather, CONNECT support may be unsupported or limited (i.e. only allowing SSL connections) on various proxy servers. If the code snippet in my previous post solves your issue, then I would assume that to be the case

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: Sorry Alejandro, I should have clarified: The attached patch is for dev, so the failure you're seeing when attempting to apply the patch against 3.3 is expected. It effectively does the same thing as explicitly setting the port as you have already attempted.

[issue22041] http POST request with python 3.3 through web proxy

2014-07-24 Thread Demian Brecht
Demian Brecht added the comment: I've attached a patch that solves the issue I encountered. It would be great if you could confirm whether or not it also resolves the issue as reported. -- keywords: +patch Added file: http://bugs.python.org/file36066/issue22041.patch

[issue22041] http POST request with python 3.3 through web proxy

2014-07-24 Thread Demian Brecht
Demian Brecht added the comment: Attached a new patch with with a simple test. -- Added file: http://bugs.python.org/file36079/issue22041_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22041

[issue22041] http POST request with python 3.3 through web proxy

2014-07-23 Thread Alejandro Mj
Changes by Alejandro Mj witchar...@gmail.com: -- nosy: -AlexMJ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22041 ___ ___ Python-bugs-list

[issue22041] http POST request with python 3.3 through web proxy

2014-07-23 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +demian.brecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22041 ___ ___

[issue22041] http POST request with python 3.3 through web proxy

2014-07-23 Thread Demian Brecht
Demian Brecht added the comment: Hi Alejandro, I've spent a little time looking into this. I haven't been able to reproduce what you're seeing on Windows exactly, but I've encountered other issues along the same path using a local squid instance (localhost:4242): from http.client import OK,

[issue22041] http POST request with python 3.3 through web proxy

2014-07-23 Thread Demian Brecht
Demian Brecht added the comment: Ignore my previous note. Digging into this a little more, I think I've possibly found the underlying issue: If the port is not specified in set_tunnel (as in your example), the buffer sent over the wire looks like send: b'POST [PATH] HTTP/1.1\r\nHost:

[issue22041] http POST request with python 3.3 through web proxy

2014-07-22 Thread Alejandro MJ
. -- components: Windows messages: 223688 nosy: AlexMJ priority: normal severity: normal status: open title: http POST request with python 3.3 through web proxy type: behavior versions: Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http

Re: Reg secure python environment with web terminal emulator

2013-08-08 Thread dieter
Lakshmipathi.G lakshmipath...@gmail.com writes: Could you please share more info about creating raw binary executable and its potential problem. In an earlier message, you reported to have banned gcc to avoid C level exploits. A raw binary executable would allow the same exploits. Think of a

Re: Reg secure python environment with web terminal emulator

2013-08-08 Thread Lakshmipathi.G
the same exploits. Think of a binary generated elsewhere (where gcc is available) and put into your environment. That's pretty bad news :( I am convinced that 100 % security is impossible - and correspondingly would use a pragmatic approach: I would rely on OS level constraints (user with

Re: Reg secure python environment with web terminal emulator

2013-08-07 Thread dieter
Lakshmipathi.G lakshmipath...@gmail.com writes: We have a server running a web-based terminal emulator (based on shellinabox for screen-casting check www.webminal.org) that allows users to learn simple bash commands. This Linux environment secured by things like quota, selinux,ulimit etc

Re: Reg secure python environment with web terminal emulator

2013-08-07 Thread Lakshmipathi.G
Hi - Thanks for the response. Yes, we used OS features to restrict the system user accounts. We don't allow gcc - this helped us to avoid kernel exploits via C code like : https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=42827forum=59

Re: Reg secure python environment with web terminal emulator

2013-08-07 Thread Lakshmipathi.G
If you permit file I/O and anything that can spawn a process, it is possible to create a raw binary executable and trigger its execution. -- Yes,we permit file i/o with quota limits and spawning a process is allowed upto a limit. If I'm not wrong, we will be safe if user invokes

Reg secure python environment with web terminal emulator

2013-08-06 Thread Lakshmipathi.G
Hi - We have a server running a web-based terminal emulator (based on shellinabox for screen-casting check www.webminal.org) that allows users to learn simple bash commands. This Linux environment secured by things like quota, selinux,ulimit etc Now some users are requesting python access. How

Re: Newbie: Python 3 and web applications?

2013-07-30 Thread Wayne Werner
On Fri, 26 Jul 2013, Rui Maciel wrote: I'm currently learning Python, and I've been focusing on Python3. To try to kill two birds with one stone, I would also like to learn the basics of writing small web applications. These web applications don't need to do much more than provide an

Newbie: Python 3 and web applications?

2013-07-26 Thread Rui Maciel
I'm currently learning Python, and I've been focusing on Python3. To try to kill two birds with one stone, I would also like to learn the basics of writing small web applications. These web applications don't need to do much more than provide an interface to a small database, and they may

Re: Newbie: Python 3 and web applications?

2013-07-26 Thread John Gordon
In kstdma$pir$1...@dont-email.me Rui Maciel rui.mac...@gmail.com writes: I'm currently learning Python, and I've been focusing on Python3. To try to kill two birds with one stone, I would also like to learn the basics of writing small web applications. These web applications don't need

Useful Python books and Web sites for system administrators

2013-06-13 Thread Richard Zinar
Hi, If anyone has some favorite books or Web sites which explore using Python for various system administration tasks, I'd be interested in hearing about them. I'm primarily interested in resources which focus on Linux, but since I work in a multi-platform environment, pointers to sites which

Re: python scripts for web

2012-10-23 Thread chip9munk
On Friday, October 19, 2012 12:32:48 PM UTC+2, Gilles wrote: In that case, are you sure a web script is a good idea? If you're thinking web to make it easy for people to upload data, click on a button, and get the results back, you might want to write the UI in Python but write the number

Re: python scripts for web

2012-10-19 Thread chip9munk
On Thursday, October 18, 2012 11:10:45 PM UTC+2, Zero Piraeus wrote: WSGI would enable you to write a persistent application that sits around waiting for requests and returns responses for them as and when, as opposed to a simple CGI script that gets started each time a request comes in, and

Re: python scripts for web

2012-10-19 Thread Gilles
On Thu, 18 Oct 2012 23:05:48 -0700 (PDT), chip9m...@gmail.com wrote: these scripts will do a lot of calculation on a big dataset, and it is possible that there will be many requests in a short period of time. In that case, are you sure a web script is a good idea? If you're thinking web to make

python scripts for web

2012-10-18 Thread chip9munk
Hello all! Please help me start learning about this thing. Sorry for my inexperience! Here is what I need to do: on some webpage (done in php, or any other different technology), user inputs some data, that data and the request then goes to the server where python scripts calculate something

Re: python scripts for web

2012-10-18 Thread Zero Piraeus
: On 18 October 2012 03:18, chip9m...@gmail.com wrote: Here is what I need to do: on some webpage (done in php, or any other different technology), user inputs some data, that data and the request then goes to the server where python scripts calculate something and return the result to the

Re: python scripts for web

2012-10-18 Thread chip9munk
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,

Re: python scripts for web

2012-10-18 Thread Zero Piraeus
: On 18 October 2012 04:10, chip9m...@gmail.com wrote: 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

Re: python scripts for web

2012-10-18 Thread chip9munk
On Thursday, October 18, 2012 10:42:56 AM UTC+2, Zero Piraeus wrote: That is exactly what a webserver does. Is there some reason you don't want to use e.g. Apache to handle the requests? no reason at all. so i guess the solution is much easier then I have anticipated. So i guess in that case i

Re: python scripts for web

2012-10-18 Thread Zero Piraeus
: On 18 October 2012 05:22, chip9m...@gmail.com wrote: So i guess in that case i do not need cgi or anything? Assuming your scripts accept the request as sent and return an appropriate response, they are CGI scripts (unless there's some wrinkle in the precise definition of CGI that escapes me

Re: python scripts for web

2012-10-18 Thread Chris Angelico
On Thu, Oct 18, 2012 at 8:22 PM, chip9m...@gmail.com wrote: On Thursday, October 18, 2012 10:42:56 AM UTC+2, Zero Piraeus wrote: That is exactly what a webserver does. Is there some reason you don't want to use e.g. Apache to handle the requests? no reason at all. so i guess the solution is

Re: python scripts for web

2012-10-18 Thread rurpy
On 10/18/2012 04:02 AM, Zero Piraeus wrote: On 18 October 2012 05:22, chip9m...@gmail.com wrote: [...] By the way: are you using Google Groups? It's just that I'm led to understand that it's recently started to misbehave [more than it used to], and your replies are addressed to both

Re: python scripts for web

2012-10-18 Thread chip9munk
thank you for the answer! On Thursday, October 18, 2012 12:03:02 PM UTC+2, Chris Angelico wrote: CGI is a protocol between Apache and your script. What you want to do is set up Apache to call your CGI scripts. yes, but as I have just answered to Zero, is using mod_wsgi a better strategy? --

Re: python scripts for web

2012-10-18 Thread chip9munk
On Thursday, October 18, 2012 12:02:40 PM UTC+2, Zero Piraeus wrote: Assuming your scripts accept the request as sent and return an appropriate response, they are CGI scripts (unless there's some wrinkle in the precise definition of CGI that escapes me right now). yes, they are, but, I came

Re: python scripts for web

2012-10-18 Thread chip9munk
thank you guys for pointing the double posting issue out, I am having some issues with the news server i am using, so I am doing this via google.groups at the time! :) i think i managed to fix it -- http://mail.python.org/mailman/listinfo/python-list

Re: python scripts for web

2012-10-18 Thread Zero Piraeus
: On 18 October 2012 12:03, chip9m...@gmail.com wrote: yes, but as I have just answered to Zero, is using mod_wsgi a better strategy? WSGI would enable you to write a persistent application that sits around waiting for requests and returns responses for them as and when, as opposed to a simple

Re: How to call python script from web.

2012-10-05 Thread Joel Goldstick
On Fri, Oct 5, 2012 at 9:59 AM, Mike mike20...@gmail.com wrote: Hi, I can call the php script from browser assuming apache web server exists. How can I call the python script like php script? Any thought? Thanks -- http://mail.python.org/mailman/listinfo/python-list A popular way for

Re: Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-14 Thread John Nagle
The HTMLTemplate module is useful for static web page generation. It doesn't do much. It's not a content management system. If you just need to generate a page with some data items filled in, it's fine. If you need more than that, there are bigger packages, but they have more baggage.

Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread KLEIN Stéphane
Hi, Today, I've show this static web site generating tools write in ruby : * http://webgen.rubyforge.org/index.html * http://nanoc.stoneship.org/about/ * http://webby.rubyforge.org/tutorial/ I like this tools, I'm wonder if there are similar tools in Python ? I know Sphinx, but this tools

Re: Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread dorzey
On Mar 9, 8:57 am, KLEIN Stéphane steph...@harobed.org wrote: Hi, Today, I've show this static web site generating tools write in ruby :  *http://webgen.rubyforge.org/index.html  *http://nanoc.stoneship.org/about/  *http://webby.rubyforge.org/tutorial/ I like this tools, I'm wonder if

Re: Are there in Python some static web site generating tools like?webgen, nanoc or webby in Ruby ?

2010-03-09 Thread garabik-news-2005-05
KLEIN Stéphane steph...@harobed.org wrote: Hi, Today, I've show this static web site generating tools write in ruby : * http://webgen.rubyforge.org/index.html * http://nanoc.stoneship.org/about/ * http://webby.rubyforge.org/tutorial/ I like this tools, I'm wonder if there are similar

Re: Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread Javier Collado
I'm only aware of Hyde (http://ringce.com/hyde) There are also jekyll and cyrax: http://github.com/mojombo/jekyll/ http://pypi.python.org/pypi/cyrax/0.1.5 I haven't tried any of them, but it looks like cyrax is in active development and its design was inspired in both jekyll and hyde. Best

Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread KLEIN Stéphane
Hi, Today, I've show this static web site generating tools writed in ruby : * http://webgen.rubyforge.org/index.html * http://nanoc.stoneship.org/about/ * http://webby.rubyforge.org/tutorial/ I like this tools, I'm wonder if there are similar tools in Python ? I know Sphinx, but this tools

Re: Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread Matthew Behrens
I like this tools, I'm wonder if there are similar tools in Python ? Blogofile is a static file blog engine/compiler, inspired by Jekyll. http://blogofile.com/ http://github.com/EnigmaCurry/blogofile -- http://mail.python.org/mailman/listinfo/python-list

Re: Are there in Python some static web site generating tools like webgen, nanoc or webby in Ruby ?

2010-03-09 Thread Stefan Behnel
? Here's a still incomplete but not so short list of web frameworks in Python: http://wiki.python.org/moin/WebFrameworks You might be interested in the templating frameworks if all you want is generate static pages. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on the Web

2009-09-03 Thread Bruno Desthuilliers
Ed Singleton a écrit : On Aug 26, 4:17 am, alex23 wuwe...@gmail.com wrote: Frameworks created for the sake of creating a framework, as opposed to those written to meet a defined need, tend to be the worst examples of masturbatory coding. Indeed, but masturbation is perfectly healthy and

Re: Python on the Web

2009-09-03 Thread Bruno Desthuilliers
John Nagle a écrit : (snip) MySQLdb is available only up to Python 2.5. Huh ??? Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for more information. import MySQLdb

Re: Python on the Web

2009-09-02 Thread Ed Singleton
On Aug 26, 4:17 am, alex23 wuwe...@gmail.com wrote: Frameworks created for the sake of creating a framework, as opposed to those written to meet a defined need, tend to be the worst examples of masturbatory coding. Indeed, but masturbation is perfectly healthy and acceptable, and we all do it

Re: Python on the Web

2009-08-28 Thread Bruno Desthuilliers
Phil a écrit : When I gave that arbitrary percentage, I was basing it off of the information I had seen with regards to launching applications built with existing frameworks using lighttpd. I do realize I was missing a lot of information by looking up something that specific. Indeed !-) I

Re: Python on the Web

2009-08-28 Thread John Nagle
Graham Dumpleton wrote: A few additional comments on top of what others have said. On Aug 26, 11:09 am, Phil phil...@gmail.com wrote: As I've read elsewhere, These days, FastCGI is never used directly. Actually, FCGI works quite well. Sitetruth's AdRater

Re: Python on the Web

2009-08-28 Thread John Nagle
Bruno Desthuilliers wrote: If you're only writing your framework for learning purposes, you could as well go with Python 3, and implement everything from the ground up (not a trivial task FWIW). Python 3 isn't ready for prime time on web servers. Too many major modules, haven't been

Re: Python on the Web

2009-08-28 Thread Bruno Desthuilliers
John Nagle a écrit : Bruno Desthuilliers wrote: If you're only writing your framework for learning purposes, you could as well go with Python 3, and implement everything from the ground up (not a trivial task FWIW). Python 3 isn't ready for prime time on web servers. Too many major

Re: Python on the Web

2009-08-27 Thread Graham Dumpleton
On Aug 27, 1:02 pm, Phil phil...@gmail.com wrote: Thanks a lot for another response. I've never posted in groups like this before but the results are amazing. I will definitely consider trying mod_wsgi when I get a chance. I like the approach taken with it. It is unfortunate that I completely

Re: Python on the Web

2009-08-27 Thread Bruno Desthuilliers
Phil a écrit : (snip) However, 99.9% of the discussion I see with Python on the web is around FCGI. May I suggest you spend some time reading django-users and django-dev on google groups ? (and that's only *one* of the way-too-many Python web frameworks). -- http://mail.python.org/mailman

Re: Python on the Web

2009-08-27 Thread Phil
to get Python 3 on the web before figuring out that it wasn't quite ready for that. I just really like some of the new features of Python 3, and most importantly, unicode compliance is just that much straight forward in my opinion. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on the Web

2009-08-27 Thread Aahz
to develop. I enjoy developing these kinds of things from scratch as a learning experience. Well, there's a standard joke that just as people learning Scheme write a new language (following SICP), people learning Python write a new web framework. That's why there are so many of them. -- Aahz

Re: Python on the Web

2009-08-27 Thread Phil
' that provide next to nothing. I'm do not mean to say anything negative about them, but I strongly feel that my approach will be much more functional without having to include, or at least a good starting point for newcomers to both Python and web programming. The ideas I had for mine lied somewhere

Re: Python on the Web

2009-08-26 Thread Bruno Desthuilliers
. As far as I understand, the main (or only?) reasoning for this is because WSGI makes Python applications easier to deploy without having to worry about whether using FCGI/SCGI/CGI. Nor about which web server you use (Apache, lighthttpd, whatever). What would be involved to run Python on the web

Re: Python on the Web

2009-08-26 Thread Phil
frameworks that pop up seemingly every day, to look at my (hypothetical) framework and just rip it apart with (constructive) criticism. That is just the way I do things, whether the community agrees with it or not. The reason I was asking about Python 3 on the web was just because I like some

Re: Python on the Web

2009-08-26 Thread Graham Dumpleton
was asking about Python 3 on the web was just because I like some of the changes that have been made, and would like to use it for my framework. That is when I realized that I was absolutely clueless about the details of how Python, or any language, works on the web. Graham, regarding number 3

Re: Python on the Web

2009-08-26 Thread Phil
Thanks a lot for another response. I've never posted in groups like this before but the results are amazing. I will definitely consider trying mod_wsgi when I get a chance. I like the approach taken with it. It is unfortunate that I completely missed all Apache related material because I was

Python on the Web

2009-08-25 Thread Phil
WSGI makes Python applications easier to deploy without having to worry about whether using FCGI/SCGI/CGI. What would be involved to run Python on the web using FCGI without WSGI? I can feel the flames already. This isn't the only reason I want to know, but one reason is that I want to use Python

  1   2   3   >