Ein Fehler trat bei der Ausführung von Python-Code auf
An error has occurred while executing Python code
Wenn Sie die Funktionalität eines bestehenden Instruments erweitern möchten, können Sie dem Instrument mit der zweiten Methode direkt Python-Code zuweisen und so ein eigenes Instrument erstellen.
If you want to extend the functionality of an existing instrument, you can use the second method to assign Python code directly to the instrument, thereby creating a custom instrument.
Neben der Erzeugung von Python-Code bietet Maple nun Zugang zu einem Python-Interpreter, damit Sie direkt in Maple Python-Skripts ausführen und die Ergebnisse ansehen können.
In addition to providing code generation to Python, Maple now provides access to a Python interpreter, so you can execute Python scripts and get the results, all within Maple.
Sie bietet Hilfsfunktionen zum Ausgleichen der Unterschiede zwischen den Python- Versionen mit dem Ziel der Entwicklung von Python-Code, der kompatibel mit beiden Python-Versionen ist.
It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
Die ausschließliche Verwendung von Registerkarten ist möglich, PEP 8, der Style-Guide für Python-Code, besagt, dass Leerzeichen bevorzugt werden.
Using tabs exclusively is possible but PEP 8, the style guide for Python code, states that spaces are preferred.
Neu eingefügte Referenzen auf UCR-Variablen werden automatisch von Templates ausgewertet, eine zusätzliche Registrierung ist nur bei der Verwendung von Inline-Python-Code nötig (siehe Abschnitt 7.3.5.2).
Newly added references to UCR variables are automatically evaluated by templates; additional registration is only required with the use of inline Python code (see Section 7.3.5.2).
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.