portablelauncher(namecommandline)(print('one moment please 'if sys platform[: ='win'for in range( )time sleep( )print( ( + )call now to start now windowskeep console secs def runlauncher(mytools)""pop up simple launcher bar for later use ""root mainwindow('pygadgets pp 'or root tk(if prefer for (namecommandlinein mytoolsb button(roottext=namefg='black'bg='beige'border= command=portablelauncher(namecommandline) pack(side=leftexpand=yesfill=bothroot mainloop(mytools ('pyedit'('pycalc'('pyphoto'('pymail'('pyclock'('pytoe'('pyweb''gui/texteditor/texteditor py')'lang/calculator/calculator py')'gui/pil/pyphoto py gui/pil/images')'internet/email/pymailgui/pymailgui py')'gui/clock/clock py -size -bg white-picture gui/gifs/pythonpowered gif')'ai/tictactoe/tictactoe py-mode minimax -fg white -bg navy')'launchbrowser pyw-live index html learning-python com')#-live pyinternetdemos html localhost: ')#-file')pyinternetdemos assumes local server started if __name__ ='__main__'prestarttoolbar truefalse if prestartrunimmediate(mytoolsif toolbarrunlauncher(mytoolsby defaultpygadgets starts programs immediately when it is run to run pygadgets in launcher bar mode insteadexample - simply imports and calls the appropriate function with an imported program list because it is pyw fileyou see only the launcher bar gui it constructs initiallynot dos console streams window--nice for regular usebut not if you want to see error messages (use pyexample - pp \pygadgets_bar pyw ""run pygadgets toolbar onlyinstead of starting all the gadgets immediatelyfilename avoids dos pop up on windowsrename to pyto see console messages""import pygadgets pygadgets runlauncher(pygadgets mytoolsthe pydemos and pygadgets launchers