Steven D'Aprano wrote:
Never mind -- it turned out I had an "index.html" file in the directory
which had been wget'ed from LiveJournal.
That's okay, then. The other possibility was that your computer
had been recruited into an evil botnet set up by LiveJournal
to create backup servers for their
On Thu, 07 Jun 2018 13:32:10 +, Steven D'Aprano wrote:
> python3.5 -m http.server 8000
[...]
Thank you to everyone who responded, pointing out that I should check for
an index.html file. That was exactly the problem.
And yes, I acknowledge that my original post was lacking in some
necessa
On 2018-06-07 13:32, Steven D'Aprano wrote:
> I'm following the instructions here:
>
> https://docs.python.org/3/library/http.server.html
>
> and running this from the command line as a regular unprivileged
> user:
>
> python3.5 -m http.server 8000
>
> What I expected was a directory listing of
On 2018-06-07 14:32, Steven D'Aprano wrote:
> I'm following the instructions here:
>
> https://docs.python.org/3/library/http.server.html
>
>
> and running this from the command line as a regular unprivileged user:
>
> python3.5 -m http.server 8000
>
> What I expected was a directory listing o
On Thu, 07 Jun 2018 13:32:10 +, Steven D'Aprano wrote:
[...]
> python3.5 -m http.server 8000
>
> What I expected was a directory listing of my current directory.
>
> What I got was Livejournal's front page.
Never mind -- it turned out I had an "index.html" file in the directory
which had b
On 2018-06-07, Steven D'Aprano wrote:
> I'm following the instructions here:
>
> https://docs.python.org/3/library/http.server.html
>
>
> and running this from the command line as a regular unprivileged user:
>
> python3.5 -m http.server 8000
>
> What I expected was a directory listing of my curre
On 2018-06-07, Steven D'Aprano wrote:
> I'm following the instructions here:
>
> https://docs.python.org/3/library/http.server.html
>
>
> and running this from the command line as a regular unprivileged user:
>
> python3.5 -m http.server 8000
>
> What I expected was a directory listing of my curre
I'm following the instructions here:
https://docs.python.org/3/library/http.server.html
and running this from the command line as a regular unprivileged user:
python3.5 -m http.server 8000
What I expected was a directory listing of my current directory.
What I got was Livejournal's front page
yes, I would like to use a framework. I like the twisted method the user
posted. Are there any examples of it using a framework, get/post, etc..?
On Thu, Feb 9, 2012 at 6:28 AM, Thomas Bach wrote:
> Rita writes:
>
> > I am building a small intranet website and I would like to use
> > Python. I
Rita writes:
> I am building a small intranet website and I would like to use
> Python. I was wondering if there was a easy and medium performance
> python based web server available.
Are you going to use a framework? Most of these ship with a light
web server implementation… You probably want
>> I am building a small intranet website and I would like to use Python. I
>> was wondering if there was a easy and medium performance python based web
>> server available. I would like to run it on port :8080 since I wont have
>> root access also I prefer something easy to deploy meaning I would
In article ,
Rodrick Brown wrote:
> On Feb 8, 2012, at 11:01 PM, Rita wrote:
>
> > I am building a small intranet website and I would like to use Python. I
> > was wondering if there was a easy and medium performance python based web
> > server available. I would like to run it on port :8080
On Feb 8, 2012, at 11:01 PM, Rita wrote:
> I am building a small intranet website and I would like to use Python. I was
> wondering if there was a easy and medium performance python based web server
> available. I would like to run it on port :8080 since I wont have root access
> also I prefer
I am building a small intranet website and I would like to use Python. I
was wondering if there was a easy and medium performance python based web
server available. I would like to run it on port :8080 since I wont have
root access also I prefer something easy to deploy meaning I would like to
move
Thanks guys, Really appreciate your help. I am trying to solve the
problem and will keep you posted when I found a solution.
Farsheed Ashouri,
Tehran, Iran
--
http://mail.python.org/mailman/listinfo/python-list
> I run the cherrypy hello world! example and when I visit
> 127.0.0.1:8080
> on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in
> local network is 192.168.100.18
> but when I visit 192.168.100.18, there is another page: "It Works!".
> What is "It Works!"? and when I type 192.168
Farsheed Ashouri wrote:
> Hi everyone. I have started to develop a web base software for
> renderfarm managing.
> I run the cherrypy hello world! example and when I visit
> 127.0.0.1:8080
> on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in
> local network is 192.168.100.18
> but
Hi everyone. I have started to develop a web base software for
renderfarm managing.
I run the cherrypy hello world! example and when I visit
127.0.0.1:8080
on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in
local network is 192.168.100.18
but when I visit 192.168.100.18, there is
eric <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I want to setup simple python web server and I want it to just unzip
> and run, without any installation steps (have no right to do it).
>
> I've tried to write by myself, however, I find I am getting into more
> de
On 27/12/2007, eric <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to setup simple python web server and I want it to just unzip
> and run, without any installation steps (have no right to do it).
>
> I've tried to write by myself, however, I find I am getting into m
> Actually, I've considered to use django, however it required to run
> command (which I don't have right to do it)
> python setup.py install
>
> Btw, is it possible to use without running setup.py ?
Yes, it's quite possible...Django is pure Python, so you just have to
have its directory in
eric schrieb:
> On Dec 27, 4:52 pm, Panos Laganakos <[EMAIL PROTECTED]> wrote:
>> On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote:
>>
>>> Hi all,
>>> I want to setup simple python web server and I want it to just unzip
>>> and run,
On Dec 27, 6:22 pm, Bjoern Schliessmann wrote:
> eric wrote:
> > I want to setup simple python web server and I want it to just
> > unzip and run, without any installation steps (have no right to do
> > it).
>
> Which OS? You might run into authorisation problems if
On Dec 27, 4:52 pm, Panos Laganakos <[EMAIL PROTECTED]> wrote:
> On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I want to setup simple python web server and I want it to just unzip
> > and run, without any installation steps (have
eric wrote:
> I want to setup simple python web server and I want it to just
> unzip and run, without any installation steps (have no right to do
> it).
Which OS? You might run into authorisation problems if you want it
to listen on port 80 TCP.
Regards,
Björn
--
BOFH excuse #303:
eric napisał(a):
> I want to setup simple python web server and I want it to just unzip
> and run, without any installation steps (have no right to do it).
Look at SimpleHTTPServer in standard library.
> I've tried to write by myself, however, I find I am getting into more
On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to setup simple python web server and I want it to just unzip
> and run, without any installation steps (have no right to do it).
>
> I've tried to write by myself, however, I find I am get
See if this helps
www.*django*project.com
On 12/27/07, eric <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I want to setup simple python web server and I want it to just unzip
> and run, without any installation steps (have no right to do it).
>
> I've tried to write
Hi all,
I want to setup simple python web server and I want it to just unzip
and run, without any installation steps (have no right to do it).
I've tried to write by myself, however, I find I am getting into more
details like processing image file, different file type(like FLV) ..
etc
I am working on a task to display a wireless network nodes using
Google Earth (GE) with KML network links. I am using a simple python
webserver (see code below) to serve up the python scripts as KML
output to GE for this.
import BaseHTTPServer
import CGIHTTPServer
class Handler(CGIHTTPServer.CGIH
arvind wrote:
> When I run the script on server,only HTML part gets executed.
> But the python code appears as it is on the screen in the text format.
> How to run the CGI script on web server using Python2.4.3?
We don't have much specific information from you here, but taking a few
guesses, it so
arvind wrote:
> When I run the script
Which one ? And how ?
> on server,
Which one ?
> only HTML part gets executed.
HTML executed ???
> But the python code appears as it is on the screen in the text format.
> How to run the CGI script on web server using Python2.4.3?
Depends on your web ser
When I run the script on server,only HTML part gets executed.
But the python code appears as it is on the screen in the text format.
How to run the CGI script on web server using Python2.4.3?
--
http://mail.python.org/mailman/listinfo/python-list
Larry Bates wrote:
[...] You might want to take a look a Medusa. It is the basis for the
web server that is bundled in Zope.
Medusa is just an asyncore framework, and not something you can develop
web apps with.
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
kanzen wrote:
> I keep telling my friends that Python rocks. Now it's time to put my
> money where my mouth is. I'm about to start writing a server for a
> phone based game. It needs to handle simlpe requests from some Java
> code running on the phone at a fairly low transaction rate. There will
>
Okay, thanks for your suggestions. Are there any further
recommendations as to what Python framework to use if the web server is
Apache with mod_python?
--
http://mail.python.org/mailman/listinfo/python-list
- Does threading cause any more of a hassle in Python than Java?
Hello,
From the python docs, it states that the threading design is loosely
based upon the java module. Certainly, coming from Java I had little
trouble getting used to python threading. However heres some gotchyas :
- Th
kanzen wrote:
I keep telling my friends that Python rocks. Now it's time to put my
money where my mouth is. I'm about to start writing a server for a
phone based game. It needs to handle simlpe requests from some Java
code running on the phone at a fairly low transaction rate. There will
also be a
kanzen wrote:
I keep telling my friends that Python rocks. Now it's time to put my
money where my mouth is. I'm about to start writing a server for a
phone based game. It needs to handle simlpe requests from some Java
code running on the phone at a fairly low transaction rate. There will
also be a
kanzen wrote:
- Does threading cause any more of a hassle in Python than Java?
What hassles have you had? I thought threads in Java
were pretty straightforward. In any case, in Python
they are generally very easy to use, provided you have
a basic knowledge of thread safety issues and/or provided
I keep telling my friends that Python rocks. Now it's time to put my
money where my mouth is. I'm about to start writing a server for a
phone based game. It needs to handle simlpe requests from some Java
code running on the phone at a fairly low transaction rate. There will
also be a simple web sit
41 matches
Mail list logo