Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.python > #3381

Création liste en ligne en .txt

Newsgroups fr.comp.lang.python
Subject Création liste en ligne en .txt
From ThomasDeshayes <nospam_t.deshayes2111@laposte.net.invalid>
Organization !No_Organization!
Message-ID <kdadnUbx854BgijCnZ2dnUU798zNnZ2d@giganews.com> (permalink)
Date 2020-11-18 07:20 -0600

Show all headers | View raw


Bonjour,
Je souhaite réaliser le jeu du pendu avec une liste que j'ai crée en .txt, mais
je rencontre un problème avec l'importation de la liste (les mots sont en lignes
et non en colonne), c'est-à-dire que je voudrai prendre un mot de la liste mais
python me prend toutes la ligne de la liste. 
PS : les mots sont séparés uniquement par des points-virgules. 

Pouvez-vous m'aider, s'il vous plait

Back to fr.comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Création liste en ligne en .txt ThomasDeshayes <nospam_t.deshayes2111@laposte.net.invalid> - 2020-11-18 07:20 -0600
  Re: Création liste en ligne en .txt Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2020-11-18 18:03 +0100
    Re: Création liste en ligne en .txt thomasdeshayes <nospam_t.deshayes2111@laposte.net.invalid> - 2020-11-19 01:51 -0600
      Re: Création liste en ligne en .txt Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2020-11-19 16:14 +0100
  Re: Création liste en ligne en .txt thomasdeshayes <nospam_t.deshayes2111@laposte.net.invalid> - 2020-11-24 08:31 -0600

csiph-web