Der Prozess scheint in der Desktop -Version von Python 3 sehr einfach zu sein, aber ich habe versucht, dies in Mobile in Pydroid 3 -Anwendung zu tun, funktioniert jedoch nicht.
Die Ausgabe war "kein Modul namens 'MyModule' gefunden". /p>
Code: Select all
def sky(name):
return ("Welcome, " + name)
< /code>
Fehler: < /p>
Python 3.8.3 (default, May 27 2020, 02:08:17)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mymodule
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'mymodule'