web.py

Web.py "Hello world" not working – ERR_ADDRESS_INVALID

Web.py "Hello world" not working – ERR_ADDRESS_INVALID Question: I’m trying to get the “Hello World” example for Web.py working and it’s giving me an error: This person seemed to be having the same issue in 2011 and the sole response suggested it might be a firewall issue. I have tried setting a new port as …

Total answers: 3

ModuleNotFoundError: No module named 'BaseHTTPServer'

ModuleNotFoundError: No module named 'BaseHTTPServer' Question: So I am trying to follow a tutorial online on how to work with web.py, and I got it installed but unfortunately, using this piece of code yields a nasty error. My Code… import web urls = ( ‘/(.*)’, ‘index’ ) app = web.application(urls, globals()) class index: def GET(self, …

Total answers: 1

web.py and flask

web.py and flask Question: For these pythonic web frameworks; They looks similar, except a few minor differences like their url handling schemes. So it is very hard to choose one of them. I want to learn from your experiences that which one more suits for a web application that is small in size, but need …

Total answers: 1

Running a python script from webpy

Running a python script from webpy Question: I setup a lighttpd server along with webpy and fastcgi. I am trying to simply run a python script everytime the wenpy app is accessed. Though it seems even when I give the normal python code to execute the script it does nothing. So Id like to be …

Total answers: 5

How do I use python for web development without relying on a framework?

How do I use python for web development without relying on a framework? Question: I know the various frameworks have their benefits, but I personally want my web development in python to be as straight-forward as possible: less writing to the framework, more writing python. The only thing I have found so far that lets …

Total answers: 10