Si elles sont fournies, elles doivent prendre la forme définie par le mapping de Python IDL, mais ces méthodes sont considérées inutiles car les attributs sont directement accessible depuis Python.
If provided, they should take the form defined by the Python IDL mapping, but these methods are considered unnecessary since the attributes are accessible directly from Python.
Depuis Python 2.2 seulement il est possible d'hériter d'objet.
It has only been possible to inherit from object since Python 2.2.
Bizarrement, Python 2 continue d'être pris en charge, avec plus de 30 mises à jour publiées depuis Python 3, il y a presque 10 ans.
Weirdly Python 2 continues to be supported, with over 30 updates released since Python 3 came out nearly ten years ago.
Obsolète depuis la version 3.6: pyvenv était l'outil recommandé pour créer des environnements sous Python 3.3 et 3.4, et est obsolète depuis Python 3.6.
Deprecated since version 3.6: pyvenv was the recommended tool for creating virtual environments for Python 3.3 and 3.4, and is deprecated in Python 3.6.
Il ne présente pas d'interface Python, mais il est possible d'appeler des commandes de shell avec system ou popen et de récupérer le résultat depuis Python.
It doesn't have a Python interface, but you can escape out to the shell using system or popen and retrieve the output in Python.
Depuis Python 3.6, dans une fonction async def, une clause async for peut être utilisée pour itérer sur un itérateur asynchrone.
Since Python 3.6, in an async def function, an async for clause may be used to iterate over a asynchronous iterator.
Depuis Python 3.4, les descripteurs de fichiers créés par Python ne sont pas héritable par défaut.
Since Python 3.4, file descriptors created by Python are non-inheritable by default.
Depuis Python 3.2 il est garanti qu'une certaine partie de l'API gardera une ABI stable.
Since Python 3.2, a subset of the API has been declared to guarantee a stable ABI.
Depuis Python 3.2, vous pouvez aussi construire une instance de Fraction directement depuis un float.
From Python 2.7 onwards, you can also construct a Fraction instance directly from a float.
C'est une conséquence de l'utilisation de GTK depuis python, le récupérateur de mémoire est incapable de récupérer les objets orphelins.
This is a consequence of using GTK from python, with orphaned objects the garbage collector is unable to collect.
Pour le moment nous allons voir comment utiliser l'interface depuis Python et nous intéresser à la manipulation du widget GtkTree.
For now, let's see how to use the interface from Python and how to manipulate the GtkTree widget.
Package py pour utiliser les fonctions et les objets Python dans MATLAB, ainsi qu'une interface moteur pour appeler les fonctions MATLAB depuis Python
py package for using Python functions and objects in MATLAB, and an engine interface for calling MATLAB from Python
Potentially sensitive or inappropriate content
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.