In message
<[EMAIL PROTECTED]>, Bobby
Roberts wrote:
> evidently the environ dictionary is off limits on our server.
Why?
> It can't
> be that tough in python to get the current complete url being viewed.
> It's a snap in asp(which is my background).
Unless, of course, the relevant information
Bobby Roberts a écrit :
On Sep 23, 1:23 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
Bobby Roberts a écrit :
hi group. I'm new to python and need some help and hope you can
answer this question. I have a situation in my code where i need to
create a file on the server and write to it.
En Tue, 23 Sep 2008 09:37:44 -0300, Bobby Roberts <[EMAIL PROTECTED]>
escribió:
hi group. I'm new to python and need some help and hope you can
answer this question. I have a situation in my code where i need to
create a file on the server and write to it. That's not a problem if
i hard cod
On Sep 23, 1:23 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Bobby Roberts a écrit :
>
> > hi group. I'm new to python and need some help and hope you can
> > answer this question. I have a situation in my code where i need to
> > create a file on the server and write to it. That's not a
Bobby Roberts a écrit :
hi group. I'm new to python and need some help and hope you can
answer this question. I have a situation in my code where i need to
create a file on the server and write to it. That's not a problem if
i hard code the path. However, the domain name needs to be dynamic s
Hi,
Bobby Roberts wrote:
On Sep 23, 9:10 am, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
Bobby Roberts wrote:
Depends on the technology/web framework. If you use WSGI, you should use
something like:
host_name = environ.get("HTTP_HOST", None) or environ["SERVER_NAME"]
-- Gerhard
Yeah i already
Bobby Roberts a écrit :
On Sep 23, 9:10 am, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
Bobby Roberts wrote:
Depends on the technology/web framework. If you use WSGI, you should use
something like:
host_name = environ.get("HTTP_HOST", None) or environ["SERVER_NAME"]
-- Gerhard
Yeah i already tr
On Sep 23, 9:10 am, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
> Bobby Roberts wrote:
> >> Depends on the technology/web framework. If you use WSGI, you should use
> >> something like:
>
> >> host_name = environ.get("HTTP_HOST", None) or environ["SERVER_NAME"]
>
> >> -- Gerhard
>
> > Yeah i already
Bobby Roberts wrote:
Depends on the technology/web framework. If you use WSGI, you should use
something like:
host_name = environ.get("HTTP_HOST", None) or environ["SERVER_NAME"]
-- Gerhard
Yeah i already tried environ("SERVER_NAME") but get a key error when i
do.
You could output the whole
On Sep 23, 8:54 am, "Joe Riopel" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 23, 2008 at 8:37 AM, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> > hi group. I'm new to python and need some help and hope you can
> > answer this question. I have a situation in my code where i need to
> > create a file on
> Depends on the technology/web framework. If you use WSGI, you should use
> something like:
>
> host_name = environ.get("HTTP_HOST", None) or environ["SERVER_NAME"]
>
> -- Gerhard
Yeah i already tried environ("SERVER_NAME") but get a key error when i
do.
--
http://mail.python.org/mailman/listin
On Tue, Sep 23, 2008 at 8:37 AM, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> hi group. I'm new to python and need some help and hope you can
> answer this question. I have a situation in my code where i need to
> create a file on the server and write to it. That's not a problem if
> i hard code t
Bobby Roberts wrote:
hi group. I'm new to python and need some help and hope you can
answer this question. I have a situation in my code where i need to
create a file on the server and write to it. That's not a problem if
i hard code the path. However, the domain name needs to be dynamic so
i
hi group. I'm new to python and need some help and hope you can
answer this question. I have a situation in my code where i need to
create a file on the server and write to it. That's not a problem if
i hard code the path. However, the domain name needs to be dynamic so
it is picked up automati
14 matches
Mail list logo