Anyone understand this?
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.
>>def markdown_perl(i nput):
the
.... output from markdown (string).
....
.... input: a string of markdown-formatted text, including \n's at
the end
.... of lines, that will be sent to the markdown process.
....
.... returns: a string of valid XHTML from markdown
.... """
.... import tempfile
.... import commands
.... file = tempfile.NamedT emporaryFile()
.... file.write(inpu t)
.... file.flush()
.... return commands.getout put('./markdown.pl '+file.name)
File "<stdin>", line 15
return commands.getout put('./markdown.pl '+file.name)
^
SyntaxError: invalid syntax
>>>
concatenation.
--
Comment