0

I saw a few ways to open an application using Python but none of them allow me to read the data from inside the application. Is this possible?

4
  • I am looking for a module similar to selenium that allows me to interact with my application just like I would do with a web page. I have tried opening applications using subprocess but am not able to interact with them. Commented Sep 30, 2015 at 0:54
  • If you're talking specifically about iTunes, you can copy the library with ctrl+A and paste it into a csv. Then you can use the csv module in Python to read the data in. Commented Sep 30, 2015 at 1:46
  • I actually want to interact with applications through Python and extract the data using Python directly. Commented Sep 30, 2015 at 2:16
  • Are you asking specifically for iTunes, or any general application? Commented Sep 30, 2015 at 4:29

1 Answer 1

-1

Windows:

You can interact with programs with pywin32.

Also, check this out: Interact with other programs using Python

You can interact with programs in Python using COM automation.

Mac:

How can I interact with an application on mac through python subprocess?

How do I communicate between python and a mac application?

Sign up to request clarification or add additional context in comments.

3 Comments

This answer is specific to Windows. The question is tagged osx.
A link-only answer which links to other SO questions isn't really appropriate, either. Nominate as a duplicate for one of them (probably the second one) is my suggestion.
@tripleee Got it. Thanks again! :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.