17 lines
1.1 KiB
Markdown
17 lines
1.1 KiB
Markdown
|
This page shows how PySimpleGUI can be used to duplicate (or nearly duplicate) Visual Basic interfaces with ease.
|
||
|
|
||
|
This is the target program to duplicate
|
||
|
|
||
|
![scientific mockup.gif](/api/files/5dc34ca6f9d240db75d27783/scientific-mockup.gif "scientific mockup.gif")
|
||
|
|
||
|
This short PySimpleGUI program is under 40 lines of code and implements the first row of controls. On Windows, the special characters (arrows) show up correctly. On Trinket they do not and will in fact give you an error if you click on one of these buttons.
|
||
|
|
||
|
This is how the program looks when run on Windows
|
||
|
|
||
|
![SNAG-0542.jpg](/api/files/5dc34d18f9d240db75d278e7/snag-0542.jpeg "SNAG-0542.jpg")
|
||
|
|
||
|
VERY little time was spent creatring and even less time spent polishing it. Stuff doesn't line up perfectly, etc. Like any GUI, time needs to be spent making these kinds of fine adjustments. The point here was to show something representative quickly.
|
||
|
|
||
|
|
||
|
<iframe src='https://trinket.io/embed/pygame/e4cd64d5eb?start=result' width='100%' height='650' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>
|