User Tools

Site Tools


cs_lang:c

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cs_lang:c [2011/07/12 10:47] – [Read a file] cedriccs_lang:c [2011/07/12 10:47] – [Equivalent in python] cedric
Line 55: Line 55:
 </code> </code>
  
-===== Equivalent in python =====+==== Equivalent in python ====
 <code python> <code python>
 for line in open("./file.txt", "r"): for line in open("./file.txt", "r"):
     print line     print line
 </code> </code>
cs_lang/c.txt · Last modified: 2012/09/30 23:32 by cedric