<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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>进化的测试 &#187; 未分类</title>
	<atom:link href="http://magustest.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://magustest.com/blog</link>
	<description>软件测试，自动化测试，白盒测试，Python</description>
	<lastBuildDate>Wed, 04 Jan 2012 09:09:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Python多行注释技巧</title>
		<link>http://magustest.com/blog/uncategorized/python-comment-multiline/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=python-comment-multiline</link>
		<comments>http://magustest.com/blog/uncategorized/python-comment-multiline/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 09:47:13 +0000</pubDate>
		<dc:creator>magus</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://magustest.com/blog/?p=642</guid>
		<description><![CDATA[Python语言本身是没有注释多行的支持的，如果需要注册多行，可以用一个取巧的方法，就是把需要注释的代码块用三个括号括起来，赋值为一个永远都不会使用的字符串变量，例如： 1 2 3 4 5 6 7 8 9 10 11 12 13 __devilcomment = ''' if bCmpLog == &#34;True&#34;: self.appendAdsLogToCmpLog(&#34;&#34;) &#160; if bCmpBinaryLog == &#34;True&#34;: self.appendBinaryAdsLogToCmpLog(res) &#160; if bCompareResp == &#34;True&#34;: self.appendResponseToCmpLog(response_strs) &#160; print &#34;move new and debug logs&#34; self.tools.move (src_db,dst_db) ''' No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Python语言本身是没有注释多行的支持的，如果需要注册多行，可以用一个取巧的方法，就是把需要注释的代码块用三个括号括起来，赋值为一个永远都不会使用的字符串变量，例如：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="python" style="font-family:monospace;">__devilcomment = <span style="color: #483d8b;">''</span><span style="color: #483d8b;">'
if bCmpLog == &quot;True&quot;:
        self.appendAdsLogToCmpLog(&quot;&quot;)
&nbsp;
if bCmpBinaryLog == &quot;True&quot;:
        self.appendBinaryAdsLogToCmpLog(res)
&nbsp;
if bCompareResp == &quot;True&quot;:
    self.appendResponseToCmpLog(response_strs)
&nbsp;
print &quot;move new and debug logs&quot;
self.tools.move (src_db,dst_db)
'</span><span style="color: #483d8b;">''</span></pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://magustest.com/blog/uncategorized/python-comment-multiline/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>用SC(server control)创建服务的时候要注意binpath=后面的空格</title>
		<link>http://magustest.com/blog/uncategorized/binpath-must-follow-a-space/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=binpath-must-follow-a-space</link>
		<comments>http://magustest.com/blog/uncategorized/binpath-must-follow-a-space/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 08:31:35 +0000</pubDate>
		<dc:creator>magus</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://magustest.com/blog/?p=348</guid>
		<description><![CDATA[这个问题以前就遇到过，今天又碰到了，很有必要记录下来，Windows Server有一个SC(server control)的命令，可以实现创建服务，改变服务状态等功能，但是在创建服务的时候，有一个参数是binpath，顾名思义就是可执行文件的路径了。我一开始这样配置： C:\Users\junhuachen&#62;sc create “SOA” binpath=”D:\MagusTestEnv\SOA\MySpace.PlatformServices.WindowsService.exe” 死活都不行，我很郁闷，以前配置Relay服务端的时候都可以的啊，后来仔细看了一下帮助，这个真的要仔细看！ DESCRIPTION: Creates a service entry in the registry and Service Database. USAGE: sc &#60;server&#62; create [service name] [binPath= ] &#60;option1&#62; &#60;option2&#62;&#8230; 那个“binPath= ”，等于号后面的确有一个空格，之后我把这个遗漏的空格加上，就能成功创建一个Windows服务了。以后看帮助真的要仔细！尤其是不要栽在空格上面，囧！ No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>这个问题以前就遇到过，今天又碰到了，很有必要记录下来，Windows Server有一个SC(server control)的命令，可以实现创建服务，改变服务状态等功能，但是在创建服务的时候，有一个参数是binpath，顾名思义就是可执行文件的路径了。我一开始这样配置：</p>
<p>C:\Users\junhuachen&gt;sc create “SOA” binpath=”D:\MagusTestEnv\SOA\MySpace.PlatformServices.WindowsService.exe”<br />
<span id="more-348"></span><br />
死活都不行，我很郁闷，以前配置Relay服务端的时候都可以的啊，后来仔细看了一下帮助，这个真的要仔细看！</p>
<blockquote><p>DESCRIPTION:<br />
Creates a service entry in the registry and Service Database.<br />
USAGE:<br />
sc &lt;server&gt; create [service name] <span style="color: #ff0000;"><strong>[binPath= ] </strong></span>&lt;option1&gt; &lt;option2&gt;&#8230;</p></blockquote>
<p>那个“binPath= ”，等于号后面的确有一个空格，之后我把这个遗漏的空格加上，就能成功创建一个Windows服务了。以后看帮助真的要仔细！尤其是不要栽在空格上面，囧！</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://magustest.com/blog/uncategorized/binpath-must-follow-a-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

