Python如何阻止Atom-Beautify包装从线分裂



我正在创建一个程序来从Google日历API获取我的工作时间表并计算我的薪水。当我不想要时,有一条线一直在分裂。

我对它进行了一些调查,并增加了首选的线长度,因为我在美化设置中阅读了有关线长的配置的地方,但这是不起作用的,文本仍然包装。

print("n")
id_key = int(input("Please enter the number of the work calendar:"))
pay_date = int(
    input("Please enter the pay date you want to calculate:"))
print("n")

v.s。

print("n")
id_key = int(input("Please enter the number of the work calendar:"))
pay_date = int(input("Please enter the pay date you want to calculate:"))
print("n")

软件包设置 -> atom abletify-> python。将"最大线长度"设置为您喜欢的任何值。

最新更新