Using Python to script in apps

BIZZY.

Junior Member
Joined
Feb 3, 2018
Messages
146
Reaction score
82
Hello BHW,

I am quite new to Python but have already read a lot regarding the subject. Yesterday I managed to put my first script together that I can use in Snapchat. However the script is very limited and I don't know where to begin searching for the commands I need to make my script functional.

Current script:
import keyboard, time
time.sleep(5)
with open ("test.txt", 'r') as f:
for lines in f:
keyboard.write(lines)
keyboard.press_and_release('enter')

This is the part of the script that allows to reply to people using a text file.
How can I make the script use a return button? Or androids "go back" button? Ive tried a lot of things all ending in error. When fully functional I want the script to do other tasks in snapchat like adding usernames, watching stories and saving snaps. Is there a library somewhere where I can find the missing pieces of code? Really appreciate if someone could share some knowledge regarding this so I can have some direction in the sea of information I am drowning in right now.
 
Anyone recommend which GUI I could use best to code this? I have built a bot with pyautogui but the image recognition wont work as expected
 
Back
Top