Je debute dans le python
darkroad
Messages postés
8
Date d'inscription
Statut
Membre
Dernière intervention
-
darkroad Messages postés 8 Date d'inscription Statut Membre Dernière intervention -
darkroad Messages postés 8 Date d'inscription Statut Membre Dernière intervention -
voila un bloc python
def get_der_field(i,binary):
if (ord(binary[i]) == 02):
length = binary[i+1]
end = i + ord(length) + 2
string = binary[i+2:end]
return string
else:
return None
quand je lance le script voila l'erreur je ne comprend pas exactement
if (ord(binary[i]) == 02): syntax error invalid token
quelqu'un peut m'aider svp... merci
def get_der_field(i,binary):
if (ord(binary[i]) == 02):
length = binary[i+1]
end = i + ord(length) + 2
string = binary[i+2:end]
return string
else:
return None
quand je lance le script voila l'erreur je ne comprend pas exactement
if (ord(binary[i]) == 02): syntax error invalid token
quelqu'un peut m'aider svp... merci
A voir également:
- Je debute dans le python
- Citizen code python avis - Accueil - Outils
- \R python ✓ - Forum Python
- Python est introuvable. exúcutez sans argument pour procúder ó l ✓ - Forum Python
- Mot secret python pix ✓ - Forum Python
- Ce programme est écrit en python compléter le ✓ - Forum Python