Re: Re: Re: porting unittest.py to Prothon.

Greg Ewing <[email protected]> Thu, 24 Jun 2004 16:15:53 +1200
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
Serge Orlov <[email protected]>:

> How do I do "from math import *"? I hope you don't suggest
> writing
> math.sin(x) + math.cos(y)

What's wrong with:

  from math import sin, cos
  z = sin(x) + cos(y)

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
[email protected]	   +--------------------------------------+