Python Forum
some ideas for intelligent list splitting?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
some ideas for intelligent list splitting?
#2
(Nov-20-2018, 11:39 AM)wardancer84 Wrote: in need the elements as commandline argument for a system command
your looking for the argparse module. Which is is in the standard library. nargs='*' is used for variable number of arguments.
Recommended Tutorials:
Reply


Messages In This Thread
RE: some ideas for intelligent list splitting? - by metulburr - Nov-20-2018, 12:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Pandas Syntax problem? Wrong Output, any ideas? Gbuoy 2 981 Jan-18-2023, 10:02 PM
Last Post: snippsat
  Splitting strings in list of strings jesse68 3 1,858 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  Help with coding/ideas natalie 6 1,956 Feb-12-2022, 03:16 PM
Last Post: deanhystad
  Looking for some ideas - Radius Log moralear27 1 2,001 Sep-10-2020, 09:32 PM
Last Post: micseydel
  A more intelligent .sort()? Pedroski55 4 2,793 Jul-08-2020, 07:52 AM
Last Post: DeaD_EyE
  Dealing with a .json nightmare... ideas? t4keheart 10 4,507 Jan-28-2020, 10:12 PM
Last Post: t4keheart
  Splitting String into 2d list cclark135 2 2,870 Aug-26-2019, 01:46 PM
Last Post: ThomasL
  splitting numeric list based on condition python_newbie09 7 9,607 May-27-2019, 03:58 PM
Last Post: python_newbie09
  Need help | splitting list into list Vinci141 3 2,666 Mar-13-2019, 09:09 PM
Last Post: Vinci141
  Ideas?? gullidog 3 3,797 Jul-20-2017, 09:06 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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