blender2017
V2EX  ›  问与答

命令行参数怎么变成 list

  •  
  •   blender2017 · Sep 30, 2018 via Android · 1824 views
    This topic created in 2854 days ago, the information mentioned may be changed or developed.
    比如以下命令
    ./a.py 1 2 3 4.4 1/3
    怎么把 1 2 3 4.4 1/3 这个部分变成脚本里一个列表[1, 2, 3, 4.4, 1/3]
    1 replies    2018-10-01 05:44:58 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1064 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:28 · PVG 07:28 · LAX 16:28 · JFK 19:28
    ♥ Do have faith in what you're doing.