In this section, we'll see how to make the program read data from its command line, a common feature for programs of all sorts. Most command-line programs and a surprising number of graphical user interface programs as well can be given extra information on the command line, after the command that invokes the program. These extra bits of information are referred to as arguments and they are delivered to Python programs as a list of strings. It turns out that there's quite a lot of code involved in turning an argument list into useful information, especially, if we want to make the program as convenient for our users as possible. Fortunately, a lot of that code can be the same from program to program, and the Python standard library's argparse module takes care of much of the effort for us.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand