vulcan4d Posted April 7, 2022 Posted April 7, 2022 I'm looking for a way to pull data generated by a PyCharm python script as close to realtime as I can. At the moment I have the PyCharm script generate a text file with data every 0.4seconds then I have AutoIt read the file every second and place the data into an array. It works, but 99% of the time. The 1% it fails to read data and my AutoIt script fails. I can work around this with error checking and so forth but then I thought, there must be a better way without having to write to a file. Does anyone know a better way to get data from PyCharm to AutoIt?
lIlIIlIllIIIIlI Posted April 19, 2022 Posted April 19, 2022 if you start the python script via autoit, you can read its output via https://www.autoitscript.com/autoit3/docs/functions/StdoutRead.htm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now