Getting PY_VAR1 when i print 'query'

后端 未结 1 415
无人及你
无人及你 2021-01-28 20:59

Im making a simple web srape code and when i try to print a value it gives me something else.

def PeopleSearch():
query = SearchTerm
query = (\'what is \'+ quer         


        
1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-28 21:30

    StringVar is an object which manages the value - to get the value itself you want SearchTerm.get()

    0 讨论(0)
提交回复
热议问题