is it possible to read data from a running application?

One way to do this is to have your running application update shared datafile that can than be read from your Python program.

how do i create a shared datafile?

how do i create a shared datafile?

Well, I dont know about the shared data file, but for one of my applications I did something like.

I just opened a file updated with the information from running application and read the file again when it is needed.

Newfile = open("/directory/location/of/ file/filename.txt","a+") to open a file in append mode ;

Newfile.write("data") to write data to a file

and

DataRead = Newfile.readlines() to read all the lines of file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.