&符号在python不知道什么是错误的



我得到这个错误,请帮助

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks       
("&") to pass it as part of a string.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : AmpersandNotAllowed

这是我的代码

import jwnet
import songList as sl
sl.downloadSongList(jwnet.ask("Name of your songlist "),
jwnet.ask("Output folder "))

我使用自定义库。jwnet。ask就像input = input("Question Here")Sl.downloadsonglist从txt文件中下载文件

检查您的终端所在位置。
你很可能在你的代码执行路径中包含了一个额外的&。和C:/用户/hello/…

最新更新