In article <[EMAIL PROTECTED]>,
"max(01)*" <[EMAIL PROTECTED]> wrote:
> i have some problems understanding following behaviour.
>
> consider this:
> $ cat file_input_3.pl
> #!/usr/bin/perl
>
> open MIAPIPE, "una_pipe";
>
> while ($riga = )
...
> $ cat file_input_3.py
> #!/usr/bin/python
>
>
Eric Nieuwland wrote:
> max(01)* wrote:
>
>> $ cat file_input_3.py
>> #!/usr/bin/python
>>
>> import sys
>>
>> MIAPIPE = open("una_pipe", "r")
>>
>> for riga in MIAPIPE:
>>print riga,
>> ...
>> [...]
>> BUT if i try to do the same with the python code, something different
>> happens: i have to
hi there.
i have some problems understanding following behaviour.
consider this:
...
$ cat file_input_3.pl
#!/usr/bin/perl
open MIAPIPE, "una_pipe";
while ($riga = )
{
print STDOUT ("$riga");
}
$ cat file_input_3.py
#!/usr/bin/python
import sys
MIAPIPE = open("una_pipe", "r")
fo
max(01)* wrote:
> $ cat file_input_3.py
> #!/usr/bin/python
>
> import sys
>
> MIAPIPE = open("una_pipe", "r")
>
> for riga in MIAPIPE:
>print riga,
> ...
> [...]
> BUT if i try to do the same with the python code, something different
> happens: i have to type ALL the lines on console #2 and co