How to solve TypeError: a bytes-like object is required, not 'str' in Python

后端 未结 0 391
醉话见心
醉话见心 2020-12-11 05:07
with open("data.txt","ab+") as myfile:

    while(True):

        VName = input("Enter student name: ")
        if VName == \'quit\':
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题