Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
-> Help: erreur print
#2
This calls your function that asks for all the input:

saisie_nomf(list)

Whenever you call this function you will have to type in a filename.

This calls your function twice:

saisie_nomf(list)
saisie_nomf(list)

Calling your function twice means you have to enter the file name twice. Why are you calling the function twice (once to print which file was chosen and once again to open the file)?
Reply


Messages In This Thread
-> Help: erreur print - by cherry_cherry - Apr-08-2020, 03:51 PM
RE: -> Help: erreur print - by deanhystad - Apr-08-2020, 05:19 PM
RE: -> Help: erreur print - by cherry_cherry - Apr-08-2020, 05:40 PM
RE: -> Help: erreur print - by deanhystad - Apr-08-2020, 07:51 PM
RE: -> Help: erreur print - by cherry_cherry - Apr-09-2020, 05:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Erreur de code python sur un template rpm de zabbix samba 0 1,987 Apr-02-2021, 09:43 AM
Last Post: samba
  Erreur Code access violation reading 0x00000004 yan_mhb 0 2,406 Jul-10-2020, 02:28 PM
Last Post: yan_mhb
  Erreur Code yan_mhb 2 2,198 Jul-09-2020, 03:50 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020