What is wrong with this code?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Sep 19 00:00:51 CEST 2011


On Sun, 18 Sep 2011 21:07:22 +0000, superhappyfuntime wrote:

> On 09-15-2011, Ulrich Eckhardt <ulrich.eckhardt at dominolaser.com> wrote:
> 
>> superhappyfuntime wrote:
>>>  #this is antiWYSIWYG, an easy to learn cap for begginners to LaTeX.
> 
>> It's LaTeX, not Python.
> 
>> Uli
> 
> no, it's a cap for LaTeX written in python

If it's Python, it's no Python syntax I've ever seen before.


>>> here it is: = '\begin{document}'
  File "<stdin>", line 1
    here it is: = '\begin{document}'
          ^
SyntaxError: invalid syntax


How about if you start off by explaining what you think "a cap for LaTeX" 
means, or provide a link to something that will explain it? This is a 
Python list, and we don't necessarily know much about LaTeX.



-- 
Steven




More information about the Python-list mailing list