Je debute dans le python
darkroad
Messages postés
8
Statut
Membre
-
darkroad Messages postés 8 Statut Membre -
darkroad Messages postés 8 Statut Membre -
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
- Mot secret python pix ✓ - Forum Python
- \R python ✓ - Forum Python
- Citizen code python solution - Forum Python
- Python est introuvable. exúcutez sans argument pour procúder ó l ✓ - Forum Python