Skip to main content

Parse Command Line Arguments From String

Project description

Pixelsuft Parse Arguments

Parse Command Line Arguments From String

Example

from parse_args import get as get_args
print(str(get_args('   test.exe /f /m --file "lol lol.txt" --test 1 2')))

Output:
['test.exe', '/f', '/m', '--file', 'lol lol.txt', '--test', '1', '2']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parse_args-1.0.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page