difference between script and prompt ! looking for the Problem

Emile van Sebille emile at fenx.com
Sat Mar 24 12:12:46 EST 2001


Well, you're printing the individual attributes.  (3.0, 4.5) is tuple
representation.  You can print the tuple by using:

print (c.r, c.i)


HTH
--

Emile van Sebille
emile at fenx.com

---------
"William Famy" <william.famy at noos.fr> wrote in message
news:3ABCD57F.DC395F88 at noos.fr...
> Thanks.
>
> but if i print in the script i have 3.0 4.5 insted of (3.0, 4.5)
>
>
>
> Emile van Sebille wrote:
> >
> > You need to print from within a script.  Interactive mode assumes it.
> >
> > ie:
> >
> > print c.r, c.i
> >
> > HTH
> > --
> >
> > Emile van Sebille
> > emile at fenx.com
>
> --
>        \\\|///
>                            \\  - -  //
>                             (  @ @  )
> +-------------------------oOOo-(_)-oOOo-------------------------+
> |  Famy William  36 avenue des barattes  74000 Annecy  France   |
> |  email:william.famy at noos.fr william.famy at mail-enseignant.com  |
> +---------------------------------Oooo--------------------------+
>                            oooO   (   )
>                           (   )    ) /
>                            \ (    (_/
>                             \_)





More information about the Python-list mailing list