【发布时间】:2020-01-23 06:16:11
【问题描述】:
我对 python 还很陌生,正在尝试编写可以通过计算机上的图像发送图像的代码,但我只能拥有一个,并且无法列出它们。
ExampleList = random.choice(['C:\\Example\\image.jpg', 'C:\\Example\\image.jpg'])
然后我用了autoit
autoit.control_send("Open", "Edit1", examplelist)
然后得到错误:
TypeError: 需要 unicode 字符串或整数地址而不是字节实例
【问题讨论】: