Visual Studio Code creates new lines on its own while using Python, I have no idea how to get rid of it, and it drives me mad.
Example:
ap.add_argument("-p", "--path", help="path",
default="C:\Data\file.txt")
I want this to be in one line, it's not exactly long, but Visual Studio Code knows better and just won't let me. It goes back to two lines after saving the file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.