Differences

This shows you the differences between two versions of the page.

part2 [2009/05/11 11:37]
nuin
part2 [2009/05/11 11:38] (current)
nuin
Line 213: Line 213:
Our script is better now, not bulletproof, but a little bit more efficient. There still a "flaw", that you can only check one file for each run of the script. At least we not stuck to our usual DNA sequence. Our script is better now, not bulletproof, but a little bit more efficient. There still a "flaw", that you can only check one file for each run of the script. At least we not stuck to our usual DNA sequence.
- 
- 
-==== Commenting in Python ==== 
- 
- 
-As you might have noticed from the previous posts, comments in Python are defined mainly by the # sign. This is the signal used for single line comment like 
- 
-<code python>#this is a single line comment</code> 
- 
-If you are used to C++, this would be equivalent to //. 
- 
-On the other hand, multi line comments are defined by triple double quotes """, opening and closing, similar to C++ /* ... */, like this 
- 
-<code python>"""this is a multi 
-line comment"""</code> 
 
part2.txt · Last modified: 2009/05/11 11:38 by nuin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki