In Python regular expressions, the syntax for named regular-expression groups is (? P<name>pattern), where name is the name of the group and pattern is some pattern to match.
La syntaxe des expressions régulières en Python pour les groupes de captures nommés est (? P<nom>motif), où nom est le nom du groupe et motif est le motif à faire correspondre.
The tutorial explained how to make a simple function call in Python.
Le tutoriel expliquait comment faire un simple appel de fonction en Python.
In Python, Jupyter notebooks are handy for this task because of their interactivity.
À cause de leur interactivité, les carnets de notes Jupyter, dans Python, s'y prêtent bien.
See GDAL/OGR In Python for more information on GDAL's bindings.
Voir GDAL/OGR dans Python pour plus d'informations sur les liaisons de GDAL.
In Python 3.3, however, cdecimal has been integrated into the standard library under the name decimal, so there is no longer any difference.
Néanmoins, avec Python 3.3 et les versions ultérieures, cdecimal a été intégré dans la bibliothèque standard sous le nom de décimal, donc la différence n'est plus valide.
In Python 2, the string should be treated as a byte sequence without any character encoding.
Avec Python 2, la chaîne devrait être traitée comme une séquence d'octets sans encodage.
In Python, the actual parameter can be a list or a dictionary.
En Python, le paramètre effectif peut être une liste ou un dictionnaire.
In Python, declaring a string variable is straightforward and quick.
En Python, déclarer une variable chaîne est simple et rapide.
In Python, you can use the following ways to instantiate a struct.
En Python, vous pouvez utiliser les méthodes suivantes pour instancier une structure.
In Python, a nested loop can be created using two for statements.
En Python, une boucle imbriquée peut être créée en utilisant deux instructions for.
In Python, look for indentations instead of curlies to define code blocks.
En Python, recherchez les indentations plutôt que les accolades pour définir les blocs de code.
In Python, slicing is an effective way to obtain a substring easily.
En Python, le découpage est un moyen efficace d'obtenir facilement une sous-chaîne.
In Python, arguments can be passed using the pass by value approach.
En Python, les arguments peuvent être passés en utilisant l'approche du passage par valeur.