[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: constant `e'
From: |
Dieter Wilhelm |
Subject: |
Re: constant `e' |
Date: |
Sat, 10 Feb 2007 22:12:25 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Slawomir Nowaczyk <address@hidden> writes:
> #> But python uses also the constants e and pi.
>
> except in Python you need:
>
>>>> import math
>>>> math.e
> 2.7182818284590451
...
> i.e. "e" and "pi" are not global.
Not in general, I did an `import math *'
and then e and pi became global.
Dieter
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
- Re: constant `e', (continued)
Re: constant `e', Dieter Wilhelm, 2007/02/09
Re: constant `e', Kevin Rodgers, 2007/02/10
- Re: constant `e', Stefan Monnier, 2007/02/10
- Re: constant `e', Lennart Borgman (gmail), 2007/02/10
- Re: constant `e', Stefan Monnier, 2007/02/10
- Re: constant `e', Lennart Borgman (gmail), 2007/02/10
- Re: constant `e', Kevin Rodgers, 2007/02/12
- RE: constant `e', Drew Adams, 2007/02/12
Re: constant `e', Daniel Brockman, 2007/02/10