Python Forum
which command line to use here
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which command line to use here
#4
You are right, I didn't even look at your code close enough to see it requires arguments - two of them, third is optional.
First is path to the file. Second is flag (no idea what it does). Third is path to created output file.
Output:
python main.py /path/to/file flag /path/to/output/is_optional
Reply


Messages In This Thread
which command line to use here - by SoulsKeeper - Sep-01-2018, 07:13 AM
RE: which command line to use here - by j.crater - Sep-01-2018, 08:24 AM
RE: which command line to use here - by SoulsKeeper - Sep-01-2018, 09:52 AM
RE: which command line to use here - by j.crater - Sep-01-2018, 09:58 AM
RE: which command line to use here - by SoulsKeeper - Sep-01-2018, 11:10 AM
RE: which command line to use here - by j.crater - Sep-01-2018, 11:28 AM
RE: which command line to use here - by SoulsKeeper - Sep-01-2018, 11:55 AM
RE: which command line to use here - by j.crater - Sep-01-2018, 12:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Command line argument issue space issue mg24 5 1,365 Oct-26-2022, 11:05 PM
Last Post: Yoriz
  accept command line argument mg24 5 1,369 Sep-27-2022, 05:58 PM
Last Post: snippsat
  Accessing varying command line arguements Rakshan 3 2,081 Jul-28-2021, 03:18 PM
Last Post: snippsat
  How to input & output parameters from command line argument shantanu97 1 2,606 Apr-13-2021, 02:12 PM
Last Post: Larz60+
  Passing List of Objects in Command Line Python usman 7 3,247 Sep-27-2020, 03:45 PM
Last Post: ndc85430
  Taking Multiple Command Line Argument Input bwdu 6 4,094 Mar-29-2020, 05:52 PM
Last Post: buran
  python 3 from command line Dixon 1 2,038 Mar-01-2020, 08:35 PM
Last Post: snippsat
  Running linux command line apps... dbrdh 0 1,678 Jan-30-2020, 01:14 PM
Last Post: dbrdh
  command line input (arg parse) and data exchange Simba 7 4,377 Dec-06-2019, 11:58 PM
Last Post: Simba
  code works at command line but not in .py ridgerunnersjw 4 2,598 Sep-12-2019, 11:09 PM
Last Post: ridgerunnersjw

Forum Jump:

User Panel Messages

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