How to transfer music on audio input?

I want to write a script which will start the flow of audio output(music headphones) audio input (microphone) tell me a library or standard methods.
June 14th 19 at 18:56
1 answer
June 14th 19 at 18:58
May fit: https://docs.python.org/3.6/library/wave.html
But why so perverted? What is the problem?

Find more questions by tags Python