From f5d86d2fa227784b891a47318831a817ceec6a9e Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Tue, 28 Aug 2018 19:48:16 -0400 Subject: [PATCH] Formatting --- docs/cookbook.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/cookbook.md b/docs/cookbook.md index 976ac6dd..44453e27 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -69,6 +69,9 @@ Browse for a filename that is populated into the input field. ## Add GUI to Front-End of Script Quickly add a GUI allowing the user to browse for a filename if a filename is not supplied on the command line using this 1-line GUI. It's the best of both worlds. +![script front-end](https://user-images.githubusercontent.com/13696193/44756573-39e9c380-aaf9-11e8-97b4-6679f9f5bd46.jpg) + + import PySimpleGUI as sg import sys @@ -84,7 +87,7 @@ Quickly add a GUI allowing the user to browse for a filename if a filename is no raise SystemExit("Cancelling: no filename supplied") -![script front-end](https://user-images.githubusercontent.com/13696193/44756573-39e9c380-aaf9-11e8-97b4-6679f9f5bd46.jpg) + --------------