@ Introducing Python: Modern Computing in Simple Packages by Bill Lubanovic (No. 432 / 12833)
Der Import wurde gebucht.
@ paiza
https://paiza.io/?locale=ja-jp Ausführen mit "Code-Erstellung versuchen (kostenlos)".
// Here your code !
import this
print("XXXXXXXX")
~~```txt:Ergebnis main.swift:2:8: error: no such module 'this' import this
(Ergänzung 2017/01/09)
Wie von @nukorou bestätigt, wurde Osterei auch in Paiza angezeigt.
@ ideone > Python (version 2?)
http://ideone.com/q2dtSc
```py
# your code goes here
import this
Ergebnis
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
https://www.tutorialspoint.com/execute_python_online.php
# Hello World program in Python
import this
print "Hello World!\n"
Ergebnis
sh-4.3$ python main.py
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Hello World!
sh-4.3$
http://www.tutorialspoint.com/execute_bash_online.php
--Verfahren --Geben Sie Python ein
~~ Es gibt einen Unterschied in der Implementierung von Python. (Obwohl die spezifische interne Implementierungsmethode unbekannt ist). ~~
In allen oben genannten Fällen wurde ein östliches Ei gezeigt.
Ich habe einen Artikel gesehen, in dem einige Online-Codeausführungsumgebungen bestimmte Importe absichtlich verhindern.
Recommended Posts