语法错误将git clone拉入python的任何地方

yav*_*cik 1 git pythonanywhere

我试图将一个克隆拉入pythonanywhere.

我跑:

git clone https://github.com/<your-github-username>/my-first-blog.git
Run Code Online (Sandbox Code Playgroud)

我得到以下语法错误:

 File < stdin>, line 1
    git clone https://github.com/yavorcik/my-first-blog.git
            ^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud)

不知道我在这里做错了什么.

Vam*_*ire 6

您将在其中一个Python控制台中发出该命令,而您应该在Bash控制台中发出该命令,因此错误消息表明这不是有效的Python代码.