Dennis Lee Bieber wrote:
On Sat, 25 Jul 2009 07:18:58 -0400, Dave Angel
declaimed the following in gmane.comp.python.general:
Another thing I'd point out is that some ftp programs will do this
conversion as the file is being sent between a local DOS machine and a
Unix machine on the inte
Mark Tarver wrote:
Use dos2unix for conversion of the longer file and try again:
http://linux.about.com/od/commands/l/blcmdl1_dos2uni.htm-Hide quoted text -
- Show quoted text -
That sounds the ticket - but is there anything that runs under Windows
to do the trick?
M
On 25 July, 10:30, Mark Tarver wrote:
> On 24 July, 15:45, nn wrote:
>
>
>
>
>
> > On Jul 23, 7:03 pm, Dave Angel wrote:
>
> > > Mark Tarver wrote:
> > > > I have a very strange error. I have two test python files test.py and
> > > > python.py which contain the following code
>
> > > > #!/usr/b
On 24 July, 15:45, nn wrote:
> On Jul 23, 7:03 pm, Dave Angel wrote:
>
>
>
>
>
> > Mark Tarver wrote:
> > > I have a very strange error. I have two test python files test.py and
> > > python.py which contain the following code
>
> > > #!/usr/bin/python
> > > print "Content-type: text/html"
> > >
On Jul 23, 7:03 pm, Dave Angel wrote:
> Mark Tarver wrote:
> > I have a very strange error. I have two test python files test.py and
> > python.py which contain the following code
>
> > #!/usr/bin/python
> > print "Content-type: text/html"
> > print
> > print ""
> > print "Hello, Linux.com!"
> >
Mark Tarver wrote:
I have a very strange error. I have two test python files test.py and
python.py which contain the following code
#!/usr/bin/python
print "Content-type: text/html"
print
print ""
print "Hello, Linux.com!"
print ""
One file (test.py) works; you call it up and it shows a web pa
Mark Tarver wrote:
> On 23 July, 18:01, Dennis Lee Bieber wrote:
>> On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver
>> declaimed the following in
>> gmane.comp.python.general:
>>
>> > The only hint at a difference I can see is that my ftp program says
>> > the files are of unequal lengths.
On 23 July, 18:01, Dennis Lee Bieber wrote:
> On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver
> declaimed the following in
> gmane.comp.python.general:
>
> > The only hint at a difference I can see is that my ftp program says
> > the files are of unequal lengths. test.py is 129 bytes long.
On 23 July, 18:01, Dennis Lee Bieber wrote:
> On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver
> declaimed the following in
> gmane.comp.python.general:
>
> > I have a very strange error. I have two test python files test.py and
> > python.py which contain the following code
>
>
>
Diez B. Roggisch wrote:
> Mark Tarver wrote:
>
>> I have a very strange error. I have two test python files test.py and
>> python.py which contain the following code
>>
>> #!/usr/bin/python
>> print "Content-type: text/html"
>> print
>> print ""
>> print "Hello, Linux.com!"
>> print ""
>>
>> O
"Diez B. Roggisch" wrote in message
news:7crfjof29e4g...@mid.uni-berlin.de...
> They have different line-ending-conventions. Not sure if and why that makes
> a difference.
Depends on your setup. Shells can be a bit dumb about it, so
it will likely break simple cgi-style hosting.
-bash: ./pyth
Mark Tarver wrote:
> I have a very strange error. I have two test python files test.py and
> python.py which contain the following code
>
> #!/usr/bin/python
> print "Content-type: text/html"
> print
> print ""
> print "Hello, Linux.com!"
> print ""
>
> One file (test.py) works; you call it up
I have a very strange error. I have two test python files test.py and
python.py which contain the following code
#!/usr/bin/python
print "Content-type: text/html"
print
print ""
print "Hello, Linux.com!"
print ""
One file (test.py) works; you call it up and it shows a web page with
Hello, Linux
13 matches
Mail list logo