Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python
#4
(Oct-28-2020, 11:30 PM)mluong2 Wrote: My program doesn't use sys.argv[1] as the variable file, sys.argv[2] as the input file, and sys.argv[3] as the output file. I three files template.py varsub.py and readme.txt

your code does not show you expect sys.argv[3] at all. And is not showing how you process your files.
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
python - by mluong2 - Oct-28-2020, 05:55 PM
RE: python - by bowlofred - Oct-28-2020, 07:08 PM
RE: python - by mluong2 - Oct-28-2020, 11:30 PM
RE: python - by buran - Oct-29-2020, 06:11 AM

Forum Jump:

User Panel Messages

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