Python Forum
help mising 1 required posisitional rgument
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help mising 1 required posisitional rgument
#8
Please, keep the discussion in one thread, no need to start new thread every time.
In this case the first argument - file must have write method. You pas str which does not have such method.
Seriously, you need to go through fundamentals

Also, note that the way you call the function - with separator as keyword argument, you virtually make *args` useless
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: I am confused with this argument function - by buran - Apr-12-2020, 07:07 PM

Forum Jump:

User Panel Messages

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