Hey thanks!
You'll have to create a PyAudio stream and write your samples to it.
Check this file out: https://github.com/18alantom/synth/blob/main/super_simple_synth.py the stream is defined on line 27 and is written to on 44.
I go over it in the third part: https://python.plainenglish.io/build-your-own-python-synthesizer-part-3-162796b7d351