Contributions de Administrateur

De www.yakakliker.org
Un utilisateur avec 1 614 modifications. Compte créé le 9 mars 2024.
Rechercher des contributionsaffichermasquer
⧼contribs-top⧽
⧼contribs-date⧽

24 mai 2024

23 mai 2024

22 mai 2024

21 mai 2024

17 mai 2024

16 mai 2024

15 mai 2024

10 mai 2024

7 mai 2024

  • 10:407 mai 2024 à 10:40 diff hist +521 N Python : Formatage des flottantsPage créée avec « <syntaxhighlight lang="bash"> b=3.14116 print(f"b = {b}") # pas d'instruction de formatage print(f"b = {b:.3f}") # 3 chiffres après la virgule print(f"b = {b:6.2f}") # au moins 6 caractères, dont deux chiffres après la virgule, si besoin des blancs print(f"b = {b:06.2f}") # au moins 6 caractères, dont deux chiffres après la virgule, si besoin des zéros </syntaxhighlight> === Lien === https://filedn.com/lpKG7uY9hIHVel5exA5Ik80/Bases_Python/L'affich... » Balise : Éditeur visuel
  • 10:367 mai 2024 à 10:36 diff hist +375 N Python : Formatage des entiersPage créée avec « <syntaxhighlight lang="bash"> a = 14 print(f"a = {a}") # pas d'instruction de formatage print(f"a = {a:4d}") # au moins 4 caractères, si besoin des blancs print(f"a = {a:04d}") # au moins 4 caractères si besoin des 0 </syntaxhighlight> === Lien === https://filedn.com/lpKG7uY9hIHVel5exA5Ik80/Bases_Python/L'affichage.html Catégorie:Python Catégorie:Scripts » Balise : Éditeur visuel
  • 10:347 mai 2024 à 10:34 diff hist +240 N Python : f-stringsPage créée avec «  <syntaxhighlight lang="bash"> a = 3 b = 5 print(f"La somme de {a} et {b} vaut {a+b}.") </syntaxhighlight> === Lien === https://filedn.com/lpKG7uY9hIHVel5exA5Ik80/Bases_Python/L'affichage.html Catégorie:Python Catégorie:Scripts » Balise : Éditeur visuel

6 mai 2024

3 mai 2024

2 mai 2024

  • 15:232 mai 2024 à 15:23 diff hist +1 493 N Bash : WhiptailPage créée avec « === Msgbox === <syntaxhighlight lang="bash"> whiptail --title "Déploiement" --fb --msgbox " Avant d'aller plus loin, veillez à avoir ces différentes informations en votre possession :" 20 100 </syntaxhighlight> === --yesno === <syntaxhighlight lang="bash"> if (whiptail --title "Déploiement" --fb --yesno "Souhaitez vous continuer ?" 10 60); then echo "ok" else echo "Fin" fi </syntaxhighlight> === Choix multiples === <syntaxhighlight lang="bash"> #Fonction... » Balise : Éditeur visuel

30 avril 2024

29 avril 2024

26 avril 2024

23 avril 2024

22 avril 2024