Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Classe « InputSource » Python 3.13.2

Méthode xml.sax.InputSource.setByteStream

Signature de la méthode setByteStream

def setByteStream(self, bytefile) 

Description

help(InputSource.setByteStream)

Set the byte stream (a Python file-like object which does
not perform byte-to-character conversion) for this input
source.

The SAX parser will ignore this if there is also a character
stream specified, but it will use a byte stream in preference
to opening a URI connection itself.

If the application knows the character encoding of the byte
stream, it should set it with the setEncoding method.


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé