Python Forum
Sound-player standalone? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: Sound-player standalone? (/thread-9026.html)



Sound-player standalone? - wavic - Mar-18-2018

Don't know why I can't post in Tutorials so I am doing it here.

In Sound-player standalone thread I see import curses statement in the Linux script. But I do not see it in use.


RE: Sound-player standalone? - snippsat - Mar-18-2018

wavic Wrote:Don't know why I can't post in Tutorials so I am doing it here.
Don't know why you can't post there Think
wavic Wrote:In Sound-player standalone thread I see import curses statement in the Linux script. But I do not see it in use.
Did some test with curses,then forget to remove it.
As Ctrl+c did work as exit in Linux,so i kept it simple and add that info help.
In Window there was no way to exit without invoke code for detect keyboard.
msvcrt(Windows) and curses or termios(Linux) is similar.
I could have used a package like eg keyboard that work Windows and Linux.
But just need a simple exit,and have to build with Pyinstaller on each platform,so that something work cross-platform is not important.


RE: Sound-player standalone? - wavic - Mar-18-2018

(Mar-18-2018, 02:17 AM)snippsat Wrote: Don't know why you can't post there Think
This is from the beginning of the forum.