Frank Barknecht wrote:
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
The grand plan is to have no libraries loaded by default. Then the
library configuration would be completely embedded in the patch, like
python does with import.$ python Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
sin(0.5)
Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'sin' is not defined
math.sin(0.5)
Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'math' is not defined
import math math.sin(0.5)
0.47942553860420301
Ciao
is this a good idea? pd comes with a set of tools, I don't see a reason why I should import [bang] before I can use it. I (don't) want to be treated like a child in a sandpit here: "mummy, can I have the shovel?" "say please" "please can I have the shovel?" "you know, my darling, this shovel is from toys "r" us... can you say, mummy please can I have the shovel from toys "r" us?" "please can I have the shovel from toys "r" us?" "cutie! say thank you" "thank you" "kiss mummy!" kiss... marius.
Or the other version:
"mummy, can I have the shovel" "which shovel, dear, the red one or the blue one" "the blue one" "here you are dear"
Next time, you'll learn to ask for one of the specific shovels right away: red/shovel or blue/shovel.