In Python we use the keyword class to define the "blueprint" for an object.
Em Python, usamos a palavra-chave class (classe) para definir o "blueprint" (modelo/planta/plano) de um objeto.
In the longer term we want to be able to write programs and then run them over and over again. 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.
Para fazer isto basta criar um ficheiro de texto com a extensão.py (na realidade, esta extensão é apenas uma convenção, podes utilizar o que quiseres, mas se quiseres saber a minha opinião é melhor que fiques com a convenção).
Provided we can test for an empty list, and generate a list minus its first element we can use recursion easily. In Python we do that using a technique called slicing.
Desde que possamos testar se uma lista contém elementos ou não, e criar um código baseado na lista menos o sue primeiro elemento, aí podemos utilizar a recursão de uma maneira muito simples.
"I think one reason was that with Python we purely wrote for the six of us," he said.
"Acho que uma razão disso é que nós, com o Python, escrevíamos apenas para nós seis mesmos", disse ele.
Conclusion After this brief analysis on usage of regular expressions in Python we saw that there are cases that they aren't the best choice, but in others cases they can give you a performance boost and dramatically reduce your code.
Conclusão Após essa breve análise do uso de expressões regulares no Python podemos ver que existem casos que elas não são a melhor escolha, já em outros podem te dar um ganho de desempenho e reduzir drasticamente seu código.
In Python we can use Lists to work with a lot of information together.
Em Python nós podemos usar Listas para trabalhar com muitas informações juntas.
In order to interact with Gnome Keyring from Python we need python-gnomekeyring installed.
Para tornar a interação entre o GNome Keyring e o Python nós precisamos da biblioteca python-gnomekeyring instalada.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.