Ich konnte IDLE herunterladen. Ich chmod, um es ausführbar zu machen. aber immer wenn ich die .py Datei starte. Ich bekomme Fehler: keine solche Datei am Anfang jeder Zeile. Es läuft gut in dem Modul für IDLE, aber wenn ich versuche, in Terminal zu laufen, stoße ich auf dieses Problem.Fehler: keine solche Datei
~/Desktop/PythonScripts# ./calculator.py Error: no such file "Welcome to my Calculator Program." Error: no such file "You will be able to do basic calculations." Error: no such file "Such as addition, subtraction, multiplication and division." Error: no such file ":For addition press 1: " Error: no such file ":For subtraction press 2: " Error: no such file ":For multiplication press 3: " Error: no such file ":For division press 4: "
Ich würde gerne wissen, wie das zu beheben, bitte und danke.
, die wie eine einfache Lösung schien ‚#!/Usr/bin/python 'hat es sofort behoben. Vielen Dank! – Placebo
Kein Problem. Bitte akzeptieren Sie die Antwort, wenn das Problem behoben wurde. – FELASNIPER