It turns out there's an even more elegant version to do this in Python.
Resulta ser que una versión aún más elegante, para hacer esto en Python
To do this in Python we create a text file with an extension.py (this is a convention only, you could use anything you like. But it's a good idea to stick with convention in my opinion...).
Para realizar esto en Python creamos un archivo de texto con la extensión.py (esto es una convención, en realidad se puede usar cualquier extensión que uno quiera, pero creo que en este punto es una buena idea mantener dicha convención).
As far as I know, the easiest way to do this in python is to import uuid module and run the following code: uuid.uuid4().hex With the call above we have 32 hexadecimal characters string [...]
La opción más sencilla en python es importar uuid y hacer la siguiente llamada: uuid.uuid4().hex Ale, con esa llamada ya tenemos 32 caracteres hexadecimales aleatorios (16 bytes aleatorios). ¿Sabes de algún otro método?
Well, some programming experience is useful, we do this in Python.
So if you try to do this in Python 3 and it broke, that is the reason why, you have to put an eval() around it.
Así que si se intenta hacer esta en 3 de Python y se rompió esa es la razón por qué, tienes que poner un eval alrededor de ella.
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.
No results found for this meaning.
Synonyms and analogies of "this in python" in English