Sie können ein Python-Skript im Interpreter von ControlDesk ausführen, um Python-Befehle automatisch auszuführen, zum Beispiel um ein Projekt zu erstellen oder bestimmte Elemente abzusichern.
You can run a Python script in ControlDesk's Interpreter to execute Python commands automatically to perform tasks such as creating a project or validating specific elements.
Sie werden sehen, dass jede Aktion die Sie in FreeCAD vornehmen, wie z.B. das Drücken einer Taste, den entsprechenden Python-Befehl ausgibt.
You will see that in FreeCAD, every action you do, such as pressing a button, outputs a Python command.
In der Tat macht dieser Befehl ein komplettes Bündel an neuen 'Werkeugen' in der Form von Python-Befehlen zugänglich, die in einer Datei mit dem Namen 'sys.py' definiert sind.
In fact what this command does is makes available a whole bunch of new 'tools' in the shape of Python commands which are defined in a file called 'sys.py'.
Das Kommandozeilenprogramm gvm-pyshell.exe, das von Greenbone Networks angeboten wird, bietet direktes Senden und Empfangen von XML-Befehlen und -Antworten mithilfe von Python-Befehlen.
The command line tool gvm-pyshell.exe supplied by Greenbone Networks offers the direct sending and receiving of XML commands and XML responses using python commands.
In der Konsole werden die Python-Befehle zeilenweise nacheinander eingegeben und mit der Eingabetaste ausgeführt, wohingegen Makros komplexere Skripte enthalten können, die viele Zeilen lang sind und beim Ausführen des Makros nacheinander ausgeführt werden.
In the console, you write python commands one by one, which are executed when you press return, while the macros can contain a more complex script made of several lines, which is executed only when the macro is executed.
Nun kann man in Terminal und REPL Python-Befehle eingeben und etwas mit der RGB-LED WS2812 des Boards herumspielen.
Now it is possible to enter Python commands in the terminal, the REPL, and play a little with the on-board WS2812 RGB LED
Schauen wir einmal, was geschieht, wenn wir mehrere Befehle in Python eingeben.
Let's see what happens when we type multiple commands into Python.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.