Python für Futuristen?

Ich musste das einfach ausprobieren:

% python
Python 2.6.5 (r265:79063, Mar 23 2010, 04:44:21)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import braces
File "", line 1
SyntaxError: not a chance
>>>

:-D

2 Kommentare

  1. Ich kannte aus der Uni noch:
    >>> import this

    und
    >>> import __hello__

    wobei ich glaube, das letzteres nicht mal ein Easter Egg ist, sondern eher eine anschauliche Erklärung für Imports:-)

  2. other things 2 try:
    import antigravity
    import this
    import __hello__

    Mir gefällt besonders antigravity. Es heißt ja: Python comes with batteries included. :-)

Schreibe einen Kommentar zu Ben Antworten abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

;-) :-) :-D :-| :-/ :-( :-P more »