Rakesh Mishra wrote:
> hi
>
> i wanted to create my own web server, can any body suggest any tutorial,
> by the way i have gone through book Core Python Programing, in this book
> one example is given but it is to abstract, that i am unable to understand .
Can you be more specific? Creating a web
>> You can do this by setting an environment variable named PYTHONSTARTUP to
>> name of a file containing your start-up commands
>
> How do I set environmental variables in Windows?
If it's Windows 9x/Me use AUTOEXEC.BAT.
SET PTYTHONSTARTUP C:\mypath\myfile.py
If its Windows NT/2000/XP
righ
When I tried to run a program show at the beginning of "Dive into Python",
I got.
Traceback (most recent call last):
File "", line 1, in -toplevel-
import odbchelper
ImportError: No module named odbchelper
>>>
___
Tutor maillist - Tuto
2006/3/2, Kent Johnson <[EMAIL PROTECTED]>:
> Andre Engels wrote:
> > Thanks for your help; it brought me quite a bit farther, but not as
> > far as I wanted to come. The authentication is basic authentication,
> > and I have been able to adapt the programs so that I now get my pages
> > correctly.
Hi!
How have you started the script? As far as I could see, in the Chapter 1 of
"Dive into Python", the odbchelper.py is just a script-File and not a module
to be imported, therefore the Exception with the "ImportError".
I do not have a Windows box here to check if the problem is with the PythonI
Kermit Rose wrote:
> When I tried to run a program show at the beginning of "Dive into Python",
>
> I got.
>
>
> Traceback (most recent call last):
> File "", line 1, in -toplevel-
> import odbchelper
> ImportError: No module named odbchelper
odbchelper is the module defined in Example 2
Andre Engels wrote:
> 2006/3/2, Kent Johnson <[EMAIL PROTECTED]>:
>
>>Andre Engels wrote:
>>
>>>Thanks for your help; it brought me quite a bit farther, but not as
>>>far as I wanted to come. The authentication is basic authentication,
>>>and I have been able to adapt the programs so that I now ge
Ewald Ertl wrote:
> Hi!
>
> How have you started the script? As far as I could see, in the Chapter 1 of
> "Dive into Python", the odbchelper.py is just a script-File and not a module
> to be imported, therefore the Exception with the "ImportError".
It is both, if by "just a script-File" you mean
2006/3/3, Kent Johnson <[EMAIL PROTECTED]>:
> Have you tried using a CookieManager as shown in the first example here:
> http://docs.python.org/lib/cookielib-examples.html
>
> Once you set up your opener with a CookieJar the cookies should be
> handled automatically - if a server sets a cookie it
Andre Engels wrote:
> 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>:
>
>
>>Have you tried using a CookieManager as shown in the first example here:
>>http://docs.python.org/lib/cookielib-examples.html
>>
>>Once you set up your opener with a CookieJar the cookies should be
>>handled automatically - i
Hi Johnson
I wanted to create web server some think like similar to ZServer of zope.
I wanted to use it for publishing my home page (it is in php), or any web application.
I am confused with arch. ,
bye
rakeshOn 3/3/06, Kent Johnson <[EMAIL PROTECTED]> wrote:
Rakesh Mishra wrote:> hi>>
Rakesh Mishra wrote:
> Hi Johnson
> I wanted to create web server some think like similar to ZServer of zope.
> I wanted to use it for publishing my home page (it is in php), or any
> web application.
> I am confused with arch.
I still am not sure what you are asking for. Do you want to create
s
Hi Kent!
You are absolutely right. Sorry for my bad description.
Kent Johnson wrote:
> Ewald Ertl wrote:
>> Hi!
>>
>> How have you started the script? As far as I could see, in the Chapter 1 of
>> "Dive into Python", the odbchelper.py is just a script-File and not a module
>> to be imported, the
> Environmental variable is not in the windows help glossary.
Strange, in both Windows 2000 and XP I type 'environment variable'
into the search box and the list of topics returned includes
"Setting environment variables"
I'm sure Win98 does too because I've used it in the past.
> Before toda
From: Alan Gauld
Date: 03/03/06 11:41:05
To: Kermit Rose; tutor@python.org
Subject: Re: [Tutor] windows help system
> Environmental variable is not in the windows help glossary.
Strange, in both Windows 2000 and XP I type 'environment variable'
into the search box and the list of top
Thanks for your answers! It is working now!
2006/3/3, Kent Johnson <[EMAIL PROTECTED]>:
> Andre Engels wrote:
> > 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>:
> >
> >
> >>Have you tried using a CookieManager as shown in the first example here:
> >>http://docs.python.org/lib/cookielib-examples.html
> I found the windows help glossary, but did not find a search box.
>
> How would I find the search box in
> Microsoft Windows XP Home Edition
When you open Help and Support, just above where it says
"Pick a Help Topic" there is a text entry box labelled Search
and a green arrow. At least the
On Fri, 2006-03-03 at 15:41 +1000, STREET Gideon (SPARQ) wrote:
> The problem I'm stumbling over is that when I print x, the output is
> what I want. If I delete the print x and #, leaving only tn.write(x)
> on
> the last line everything looks good except it writes the 1st item in
> "lines" (the b
On Fri, Mar 03, 2006, Pat Martin wrote:
>
> Hello all,
> I seem to be having a problem finding the right tool in python. Given
> a username I want to find the uid for it. I can do the reverse very
> easily with:
> pwd.getpwuid(2012)
> This returns a tuple of data from the passwd file. B
Hello all,I seem to be having a problem finding the right tool in python. Given a username I want to find the uid for it. I can do the reverse very easily with:pwd.getpwuid(2012)This returns a tuple of data from the passwd file. But I want to do something like:
command(username) And get something t
You're close:import pwdpw = pwd.getpwnam('username')
Bill--INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc.URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676There is no distinctly native Am
I've got a module that needs to share a pack of cards
pack = ["14s", "2s", "3s", "4s", "5s", "6s", "7s", "8s", "9s", "10s", "11s",
"12s", "13s", "14d", "2d", "3d", "4d", "5d", "6d", "7d", "8d", "9d", "10d",
"11d", "12d", "13d", "14c", "2c", "3c", "4c", "5c", "6c", "7c", "8c", "9c",
"10
On 04/03/06, Adam <[EMAIL PROTECTED]> wrote:
> I've got a module that needs to share a pack of cards
>
> pack = ["14s", "2s", "3s", "4s", "5s", "6s", "7s", "8s", "9s", "10s", "11s",
> "12s", "13s", "14d", "2d", "3d", "4d", "5d", "6d", "7d", "8d", "9d",
> "10d",
> "11d", "12d", "13d", "14c"
Adam wrote:
> I've got a module that needs to share a pack of cards
>
> pack = ["14s", "2s", "3s", "4s", "5s", "6s", "7s", "8s", "9s", "10s", "11s",
> "12s", "13s", "14d", "2d", "3d", "4d", "5d", "6d", "7d", "8d", "9d",
> "10d",
> "11d", "12d", "13d", "14c", "2c", "3c", "4c", "5c", "6c",
On Sat, 2006-03-04 at 00:42 +, Adam wrote:
> On 04/03/06, Adam <[EMAIL PROTECTED]> wrote:
> > I've got a module that needs to share a pack of cards
> >
> > pack = ["14s", "2s", "3s", "4s", "5s", "6s", "7s", "8s", "9s", "10s", "11s",
> > "12s", "13s", "14d", "2d", "3d", "4d", "5d", "6d", "7d
Hi All,
Currently i am planning for writing a tool which gets a webpage and
fills the appropriate fields and posts the page back to the server.
The problem is that i am using SCAPY for doing http as i need VLAN TAG
to be supported to get the HTTP Page.
So before starting this i had couple of ques
hi Johnson
late me try to explain what I wants...
I am not interested in tool which is used to creating the web
pages. but I am interested in tool which is used for
webcasting the web pages.
in contax of Zope...
Apart from creating web pages it has its own web server called as
ZServer.
27 matches
Mail list logo