Un programme Python est comme un fichier texte intégré dans la station et contient du code Python pour automatiser des tâches spécifiques dans RoboDK.
A Python program is like a text file embedded in the station and contains Python code to automate specific tasks in RoboDK.
Un programme Python utilisant l'API RoboDK permet de créer des programmes de robots à partir de code de programmation générique (Python).
A Python program using the RoboDK API allows creating robot programs from generic programming code (Python).
Avant d'écrire un programme Python qui fait cela, faisons une expérience.
Before I write a Python program to do just that, let's do an experiment.
Puisqu'il s'agit d'un programme Python, les bibliothèques doivent être importées.
As it's a Python program, the libraries must be imported.
J'ai dû me tourner vers des développements externes afin de développer un programme Python.
I turned to external developments to develop a Python program.
d'utiliser les objets de base de la librairie dans un programme python,
to use the basic objects of the library in a python program,
Le chemin de cherche peut être manipulé depuis un programme Python en tant que variable sys.path.
The search path can be manipulated from within a Python program as the variable sys.path.
Ce module permet à un programme Python de déterminer si une chaîne représente un mot-clé.
This module allows a Python program to determine if a string is a keyword.
L'ordinateur ignorera tout texte dans un programme Python qui se trouve après le caractère .
The computer will ignore any text in a Python program that occurs after the .
Au fur et à mesure que vous progresserez au travers des leçons, vous trouverez d'autres parties d'un programme Python.
You will learn more about the different pieces of a Python program as you progress through these lessons.
Si on lance un programme Python depuis un terminal, le répertoire courant est le répertoire dans lequel on se trouve dans le terminal au moment de lancer le programme.
If a Python program is started from a terminal, the current directory is the directory in which the terminal is located at the time the program is started.
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.