How do I connect my Python code to a game or program?

Asked

Viewed 155 times

3

Hello!

I started studying Python and saw in it some possibilities to do some hacks for games and I liked the hahaha language even more. I have a code that for example, takes a String and converts it into another word, but I would like to do this by taking some Text from a game or some name from an item. How do I do it ? I mean, how do I connect my codes with the information passed in the game ?

Putting two examples: a game that I have saved on my computer, in this case, a Desktop game and an online game via Browser.

It is possible ?

Thank you for your attention :)

  • I don’t know exactly but you need to make a connection to the server using 'connectTCP' for this you need the Twisted module

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.