Het aanmaken van een bestand random.py zal ervoor zorgen dat Python dit bestand zal importeren in plaats van de systeem library die nodig is voor het creëren van willekeurige getallen.
Creating a file called random.py will cause Python to start importing that file instead of the system library that creates random numbers.
Dankzij die modules kunnen Python gebruikers, net als Arduino-gebruikers, zich concentreren op hun toepassing in plaats van lange stukken software in te kloppen.
These modules make that, like Arduino users, Python users too can focus on their application instead of typing in software equivalents of transistors, resistors and ICs.
Arduino datalogger Python>MySQL Er zijn een heleboel mensen die de Raspberry Pi hebben gekozen in plaats van de Arduino omdat ze denken dat het met de laatste moeilijker is om naar een database te schrijven.
Logging data in Python to MySQL on the Arduino Lots of people have avoided the Arduino in favor of the Raspberry Pi because they think it's hard to write to a real database.
De programmeertaal Python ondersteunt UTF-16 sinds versie 2.1, maar nieuwere versies van Python ondersteunen UCS-4 om karakters op te slaan (in plaats van UTF-16).
The Python language environment officially only uses UCS-2 internally since version 2.0, but the UTF-8 decoder to "Unicode" produces correct UTF-16.
Hij smeerde zure room op zijn vistaco's in plaats van mayonaise.
He spread soured cream on his fish tacos instead of mayonnaise.
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