Python Forum
configparser module, when use text file to show following error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
configparser module, when use text file to show following error
#6
(Jul-13-2020, 07:36 PM)Gribouillis Wrote: You are using a wrong signature for ConfigParser.read_file(). This method expects an iterable of strings such as an open file. Replace config.read_file() with config.read().

Thanks your guidance, now is working fine...
Reply


Messages In This Thread
RE: configparser module, when use text file to show following error - by mbilalshafiq - Jul-14-2020, 04:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert text from an image to a text file Evil_Patrick 5 4,418 Jul-30-2019, 07:57 PM
Last Post: DeaD_EyE
  reading text file and writing to an output file precedded by line numbers kannan 7 10,607 Dec-11-2018, 02:19 PM
Last Post: ichabod801
  Login Module Help - Comparing data in a text file to data held in a variable KeziaKar 0 2,294 Mar-08-2018, 11:41 AM
Last Post: KeziaKar

Forum Jump:

User Panel Messages

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