Eel urllib request function returns null to JS, but value to python

前端 未结 0 1288
生来不讨喜
生来不讨喜 2021-02-03 21:01

I have the following Python code for Eel

import eel, urllib.request

@eel.expose
def python_function():
    response = urllib.request.urlopen(\'http://google.com\         


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