Algunas cosas serían un poco diferentes y, probablemente, la cosa más notable sería... que la impresión en Python 3.x es diferente.
Some things will be a little different and probably the most notable thing that would be different is print would work differently.
Por ejemplo, el código que hemos escrito que usa 'print' no funcionaria en Python 3.x... tendriamos que adicionar parentesis para que funcionara.
So the code that youâ ve written that uses print would not work in python three, youâ d have to add extra parentheses for that.
Casi todo lo que Ud. han escrito en clase correría... en Python 3.0 y lo hubieramos escrito igual si lo hubieramos escrito en Python 3.x... algunas cosas no... y, en la mayoría de código escrito hoy en día
So almost everything that youâ ve written in this class would work in python three and would be the same way to write it in python three, some things wouldnâ t.
En lugar de ello, recomendamos utilizar los módulos "requests" o "urllib3" en Python 2.x, o la clase estándar http.client.HTTPSConnection en Python 3.x.
Instead, we recommend using the "requests" or "urllib3" modules in Python 2.x, or the standard http.client.HTTPSConnection class in Python 3.x.
Hay algunas incompatibilidades en Python 3.x... por ejemplo... es difícil actualizar... librerías que fueron escritas para Python 2.x para que trabajen en Python 3.x y la infraestructura que estamos usando está completamente basada en Python 2.x, no en Python 3.x.
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