<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>getopt - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/getopt/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Fri, 18 Oct 2013 11:27:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Python中getopt的使用(管理命令行参数)</title>
		<link>https://www.coder4.com/archives/4000</link>
					<comments>https://www.coder4.com/archives/4000#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 18 Oct 2013 11:27:11 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[getopt]]></category>
		<category><![CDATA[参数]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4000</guid>

					<description><![CDATA[转载自：http://blog.csdn.net/tianzhu123/article/details/7655499 python中 getopt 模块，该模块是专门用来处理命令行参数的。 函数getopt(args, shortopts, longopts = []) 参数args就是命令行传入的，在python中一般是sys.argv[1:] 参数分为长短两种： shortopts 短格式 (-) longopts 长格式(--) 例如下述，第1行是短，第[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4000/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux解析命令行参数 - getopt</title>
		<link>https://www.coder4.com/archives/1491</link>
					<comments>https://www.coder4.com/archives/1491#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 14:39:54 +0000</pubDate>
				<category><![CDATA[C && C++]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[getopt]]></category>
		<category><![CDATA[命令行参数]]></category>
		<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[解析]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1491</guid>

					<description><![CDATA[通常 Linux 下的各种命令都有许多的命令行参数可以选择，比如： gcc -g -lm foo.c -o foo getopt()就是用来分析命令行参数的函数。 在继续讨论getopt 之前，先要明确两个概念：选项(option) 和 选项参数(argument)。 在上面的例子中，-g 中的 g，-o 中的 o 还有 -lm 中的 l 就是选项，而 -lm 中的 m 就是 l 的选项参数，-o foo 中的 foo 就是 o 的选项参数。因此，我们知道了选项有两种，一种是带选项参数的[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1491/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
