Skip to content

SyntaxError: invalid syntax (related to literal string) #37

Open
@reikred

Description

@reikred

When I run xmltable2csv I get the following error message"

File "/usr/lib/python3.4/site-packages/xmlutils/console.py", line 20
"""
^
SyntaxError: invalid syntax

The offending code is the triple-double quoted string literal as follows

def run_xml2sql():
print """xml2sql by Kailash Nadh (http://nadh.in)
--help for help

"""

What am I doing wrong here? My python is version 3.4, as you can see. I feel I must be making some basic compatibility mistake or some such, as this can not possibly be a real syntax errror, can it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions