(May-30-2018, 08:08 AM)volcano63 Wrote:Please try to understand the answer before criticizing. Do you want help or not?(May-29-2018, 06:16 PM)woooee Wrote: Put the code in a function. The second program imports cpt and runs a function that inputs the value and returns it to the calling program. Obviously you can do this a 2nd time for the 2nd input.
It does notimport
- it tries to run another program as an external process (and does not do it right in the process - pun intended).
Please, try to understand the nature of the question before providing feedback
using subpocess for both reading and writing simultaneously
Users browsing this thread: 1 Guest(s)