Examples with "string or bytes object" and their translation in Frans
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
To read a file's contents, call f.read(size), which reads some quantity of data and returns it as a string or bytes object.
Pour lire le contenu d'un fichier, appelez f.read(size), qui lit une certaine quantité de données et les retourne sous la forme d'une chaîne de caractères.
file is either a string or bytes object giving the name (and the path if the file isn't in the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped.
file est un path-like object donnant le chemin (absolu ou relatif au répertoire courant) du fichier à ouvrir ou un nombre entier représentant le descripteur de fichier à envelopper.
Andere resultaten
All functions accepting path or file names accept both bytes and string objects, and result in an object of the same type, if a path or file name is returned.
Toutes les fonctions acceptant les chemins ou noms de fichiers acceptent aussi bien des bytes que des string, et si un chemin ou un nom de fichier est renvoyé, il sera du même type.
In Python 3.x, those implicit conversions are gone - conversions between 8-bit binary data and Unicode text must be explicit, and bytes and string objects will always compare unequal.
En Python 3.x, ces conversions implicites ont disparues, les conversions entre les données binaires et texte Unicode doivent être explicites, et les bytes sont toujours différents des chaînes.
Note that both of these functions create and scan a copy of the string or bytes.
The method should only return a str or bytes object, with the preference being for str.
La méthode ne devrait renvoyer que des objets str ou bytes, avec une préférence pour les str.
A TypeError will be raised if there are any non-string values in iterable, including bytes objects.
Une TypeError sera levée si une valeur d itérable n'est pas une chaîne, y compris pour les objets bytes.
Decompress data, returning a bytes object containing the uncompressed data corresponding to at least part of the data in string.
Décompresse data, renvoie un objet bytes, contenant au moins une partie des données décompressées.
Also, bytes objects can be decoded to strings via the decode() method. Mutable sequences
Aussi, un objet bytes peut être décodé vers une chaîne via la méthode decode().
Bytes objects can also be created with literals, see String and Bytes literals.
Les objets bytes peuvent aussi être crées à partir de littéraux, voir Littéraux de chaînes de caractères et de suites d'octets.
Converts the value of the current Byte object to its equivalent string representation using the specified format and culture-specific formatting information. TryParse(String, Byte)
Convertit la valeur numérique de cette instance en sa représentation sous forme de chaîne équivalente à l'aide du format spécifié et des informations de format spécifiques à la culture.
Also, bytes objects can be decoded to strings via the decode() method. Mutable sequences
La fonction bytearray() convertit ensuite la chaîne en bytes via la méthode str.encode().
Computes and returns a 64-bit signed fingerprint value of the STRING or BYTES input using the Fingerprint64 function from the open-source FarmHash library.
Calcule et renvoie une valeur d'empreinte signée de 64 bits de l'entrée STRING ou BYTES à l'aide de la fonction Fingerprint64 de la bibliothèque Open Source FarmHash.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.