How to fetch data from PostgreSQL to WXpyhon GUI to automaticaly open the next processe ?
I worry that you want others to write your code. Maybe in a for hire post you could ask that but here you share your code and point out where you are stuck and members tackle the issues.
Since I don't want to leave you with nothing, why not look at prior examples as you build your app?
Example which looks to use wx and the database you mentioned seem to be out there. Look at https://wiki.wxpython.org/FullyFunctionalDemo