So if we create a test name that has several underscores in it, and we apply the sub function to substitute the underscore with nothing in this variable, testName.
Así que si creamos un nombre de prueba que tiene varios caracteres de subrayado, y aplicamos la subfunción para sustituir la subrayan con nada en esta variable, nombrePrueba.
In this example, the output of the serialization will only give the numbers after the underscore in the list item IDs.
En este ejemplo, la salida de la serialización solo dará los números después del guion bajo en los ID de elemento de lista.
Variables are always specified with the initial character $, and can include any alphanumeric characters or the underscore in their names.
Las variables se especifican siempre con el carácter inicial $ y pueden contener cualquier carácter alfanumérico o el carácter de subrayado en sus nombres.
The homogeneous and grazing lighting on the walls can also be completely switched off, while the Underscore In Out light lines positioned along the building's corners are kept on to create an attractive quasi-silhouette effect.
La iluminación homogénea y rasante de las paredes se puede apagar por completo, dejando encendidas solo las líneas de luz garantizando un ahorro energético del 60% respecto al sistema anterior
layout. In Python, most variable names use only lower case letters, with underscores to separate words.
The official style guide for Python (yes, programmers really wrote a book on style) says that multi-word variable names in Python should be separated by underscores.
La guía de estilo de Python (sí, los programadores escribieron un libro de estilo) dice que las variables con nombres formados por varias palabras en Python deberían estar separadas por guiones bajos.
In Python, you can easily slice strings to access parts of the text.
En Python, puedes cortar cadenas fácilmente para acceder a partes del texto.
In Python, creating a utility function is both simple and practical.
En Python, crear una función utilitaria es tanto simple como práctico.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple