Support
Quality
Security
License
Reuse
kandi has reviewed ItChat and discovered the below as its top functions. This is intended to give you an instant insight into ItChat implemented functionality, and help decide if they suit your requirements.
Get all kandi verified functions for this library.
Get all kandi verified functions for this library.
A complete and graceful API for Wechat. WeChat personal account interface, WeChat robot and command line WeChat, 30 lines can customize personal account robot.
See all related Code Snippets
QUESTION
Simple python code can't execute with invalid syntax
Asked 2019-Mar-26 at 07:14The following script is not executable. Did some search and I don't think there is any error.
for i in range(1, length):
itchat.send("జ్ఞా", toUserName=friends[i]['UserName'])
print(f'检测到第{i}位好友: {str(friends[i]["NickName"]).center(20, " ")}')
ANSWER
Answered 2019-Mar-26 at 07:14Try:
for i in range(1, length):
itchat.send("జ్ఞా", toUserName=friends[i]['UserName'])
print('检测到第{}位好友: {}'.format(i, str(friends[i]["NickName"]).center(20, " ")))
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
No vulnerabilities reported
Save this library and start creating your kit
Save this library and start creating your kit
Open Weaver – Develop Applications Faster with Open Source