Bryan Olson wrote:
> Amer Neely wrote:
>> I don't have shell access but I can run 'which python' from a Perl
>> script, and I will try the different shebang line you suggested.
>
> And after trying it, Amer Neely reported:
>
>> I tried `which pyt
Paddy wrote:
> On Sep 13, 1:30 am, Amer Neely <[EMAIL PROTECTED]> wrote:
>> I'm a complete newbie with Python, but have several years experience
>> with Perl in a web environment.
>>
>> A question I have, if someone here is familiar with Perl, does Pyth
Bryan Olson wrote:
> Amer Neely wrote:
>> This seems to indicate that maybe my host needs to configure Apache to
>> run python scripts? But I didn't need to do anything with mine.
>
> Another possibility: If it works on Windows but not Unix, check
> the end-of-line
Bryan Olson wrote:
> Amer Neely wrote:
>> This seems to indicate that maybe my host needs to configure Apache to
>> run python scripts? But I didn't need to do anything with mine.
>
> Another possibility: If it works on Windows but not Unix, check
> the end-of-line
I V wrote:
> On Thu, 13 Sep 2007 23:49:32 -0400, Amer Neely wrote:
>> In trying to track down why this script would not run on my host, it has
>> to come to light that Python is installed, however the Apache module is
>> not. So, short story is - I was flogging a dead hor
Amer Neely wrote:
> I'm a complete newbie with Python, but have several years experience
> with Perl in a web environment.
>
> A question I have, if someone here is familiar with Perl, does Python
> have something like Perl's 'here document'? I've ju
Tim Golden wrote:
> Amer Neely wrote:
>> Richie Hindle wrote:
>>>> [Amer]
>>>> #!/usr/bin/python
>>>> [...] On my home PC [...]
>>>> [Thu Sep 13 04:16:03 2007] [error] [client 0.0.0.0] (OS 2)The system
>>>> cannot find the f
Amer Neely wrote:
> Richie Hindle wrote:
>>> [Amer]
>>> #!/usr/bin/python
>>> [...] On my home PC [...]
>>> [Thu Sep 13 04:16:03 2007] [error] [client 0.0.0.0] (OS 2)The system
>>> cannot find the file specified.
>>
>> That'
C:\Python25\python.exe, not /usr/bin/python.
>
> Are you sure /usr/bin/python is correct for your hosting environment?
>
It's my understanding that the Windows shell doesn't pay much attention
to the shebang line if the file type is associated with the proper
application.
04:16:03 2007] [error] [client 0.0.0.0] (OS 2)The system
cannot find the file specified. : couldn't create child process:
720002: hello.py
I suspect it would be similar on my hosting server. Is this saying it
can't find hello.py or one of the modules?
--
Amer Neely
w: www.we
Ben Finney wrote:
> Amer Neely <[EMAIL PROTECTED]> writes:
>
>> Well, I have checked everything I can but I'm getting '500 Internal
>> Server Error'.
>
> This is the HTTP response code saying that the program that should
> have served the respons
Amer Neely wrote:
> TheFlyingDutchman wrote:
>> On Sep 12, 5:30 pm, Amer Neely <[EMAIL PROTECTED]> wrote:
>>> I'm a complete newbie with Python, but have several years experience
>>> with Perl in a web environment.
>>>
>>> A question I
TheFlyingDutchman wrote:
> On Sep 12, 5:30 pm, Amer Neely <[EMAIL PROTECTED]> wrote:
>> I'm a complete newbie with Python, but have several years experience
>> with Perl in a web environment.
>>
>> A question I have, if someone here is familiar with Perl, doe
TheFlyingDutchman wrote:
> On Sep 12, 5:30 pm, Amer Neely <[EMAIL PROTECTED]> wrote:
>> I'm a complete newbie with Python, but have several years experience
>> with Perl in a web environment.
>>
>> A question I have, if someone here is familiar with Perl, doe
Ben Finney wrote:
> Amer Neely <[EMAIL PROTECTED]> writes:
>
>> A question I have, if someone here is familiar with Perl, does Python
>> have something like Perl's 'here document'?
>
> I'm not sure exactly what behaviour you want, but Python
ng HTML but they all seem to refer to various
template utilities. Is this the only way, or am I missing something? I'm
used to generating X/HTML by hand, which makes the here document in Perl
ideal for me. Also, many times a client already existing HTML code that
I can use
16 matches
Mail list logo