官术网_书友最值得收藏!

Handling arguments like an adult

Recipe Difficulty: Easy

Python Version: 2.7 or 3.5

Operating System: Any

Person A: I came here for a good argument!
Person B: Ah, no you didn't, you came here for an argument!
Person A: An argument isn't just contradiction.
Person B: Well! it can be!
Person A: No it can't! An argument is a connected series of statements
intended to establish a proposition.
Person B: No it isn't!
Person A: Yes it is! It isn't just contradiction.

Monty Python (http://www.montypython.net/scripts/argument.php) aside, arguments are an integral part of any script. Arguments allow us to provide an interface for users to specify options and configurations that change the way the code behaves. Effective use of arguments, not just contradictions, can make a tool more versatile and a favorite among examiners.

主站蜘蛛池模板: 托里县| 岳阳县| 嵩明县| 象山县| 武安市| 清苑县| 民乐县| 仪陇县| 新野县| 龙游县| 延寿县| 巴彦县| 郴州市| 宝应县| 兴和县| 怀来县| 清水县| 宁乡县| 龙山县| 介休市| 曲松县| 习水县| 丹寨县| 精河县| 尤溪县| 沁源县| 稷山县| 峨山| 称多县| 万宁市| 满洲里市| 黑河市| 怀化市| 油尖旺区| 三原县| 商南县| 略阳县| 潞西市| 云阳县| 六安市| 静海县|