Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help me with this code : (
#4
Well, that's not a problem with the program. You are just not providing it with the command line arguments it needs.

You have a couple open ended slices there, so it seems like you could have a long list of command line arguments. That does not strike me as a good way to get data into the program. I would rewrite all of this as a function, that could take exam, folder, and a file name as parameters, and then read the open ended stuff (the exam questions?) from the file. Then call the function with the appropriate parameters.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: help me with this code : ( - by ichabod801 - Jul-13-2019, 12:32 PM
RE: help me with this code : ( - by ichabod801 - Jul-13-2019, 12:46 PM

Forum Jump:

User Panel Messages

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