Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #2

Open
showsoso opened this issue Feb 2, 2018 · 2 comments
Open

SyntaxError: invalid syntax #2

showsoso opened this issue Feb 2, 2018 · 2 comments

Comments

@showsoso
Copy link

showsoso commented Feb 2, 2018

E:\xxx\API-DOCUMENT.wiki>toc.py home.md
File "E:\xx\API-DOCUMENT.wiki\toc.py", line 7

^
SyntaxError: invalid syntax

运行以后报这个错,怎么处理呢?

@sk1418
Copy link
Owner

sk1418 commented Feb 2, 2018

你提供的信息太少了.
如果方便, 能提供home.md吗?
你是用的python2吗?
具体错误是什么? 你没copy过来.
是所有md在你那都报错吗?

@LoseyourseIf
Copy link

使用项目里的test.md报错 syntax error near unexpected token `newline'

cd ghtoc-master/test/
toc.py <test.md>
-bash: syntax error near unexpected token `newline'

MACOS 10.13.3
Python 2.7.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants