Skip to content

Commit 89256e4

Browse files
committed
DocuPort PSG Update
> v2.3.1b -> v2.3.2b --- GUI-File Changes: - Added Python shebang line to project file. - Negligible comment changes. --- CLI-File Changes: - Added Python shebang line to project file. --- Other: - None. Signed-off-by: schlopp96 <[email protected]>
1 parent 965212a commit 89256e4

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44

55
> - _A PySimpleGUI Online Documentation Portal_
6-
> - v2.3.1-Beta
6+
> - v2.3.2-Beta
77
88
[PySimpleGUI](https://pysimplegui.readthedocs.io/en/latest/) is an _excellent_ framework for building GUIs quickly, and with ease. Unfortunately, **_PSG_** doesn't have any _official_ offline documentation that can be easily downloaded. Instead, the documentation is hosted _online_, where it is changed and updated quite frequently - which is part of the reason the creator maintains the documentation online only.
99

src/DocuPort_PSG.pyw

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# #& DocuPort PSG v2.3.1-Beta
1+
#!/usr/bin/env python3
2+
#& DocuPort PSG v2.3.2-Beta
23
#? Simple GUI Script to open user-specified chapter of the Online-Documentation for PySimpleGUI.
34
#? =============================== Libraries =============================== ?#
45
from random import choice as rChoice
@@ -18,10 +19,10 @@ def open_PSGUI(title: str, url: str) -> bool:
1819
"""Open a specific PySimpleGUI documentation section in the user's default browser.
1920
2021
:param title: title of the documentation-section selected.
21-
:type title: (str)
22-
:param url: section URL to open in the user's default browser.
23-
:type url: (str)
24-
:returns: opens new page/tab in browser.
22+
:type title: str
23+
:param url: URL of the doc-section to open in user's default browser.
24+
:type url: str
25+
:return: opens new page/tab in browser.
2526
:rtype: None
2627
"""
2728
window_MAIN['-TEXT_TOP-'].Update(f'Opening Doc Section: {title}')
@@ -108,7 +109,7 @@ winlayout = [
108109
[sg.Text(f'Current Color Theme: {theme}', font='_ 8')]
109110
]
110111

111-
#~ Displays Window:
112+
#@ Displays Window:
112113
window_MAIN = sg.Window(title='DocuPort PSG',
113114
layout=winlayout,
114115
element_justification='Center',

src/DocuPort_PSG_CLI.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Primitive script to open Online-Documentation for PySimpleGUI using a console/terminal. #
1+
#!/usr/bin/env python3
2+
#> Primitive CLI-Script to Open PySimpleGUI's Online-Documentation Within Your Default Browser. #
23

3-
from typing import Any
44
from webbrowser import open as openURL
55
from loadingSequence import load
66
from sys import exit as ex

0 commit comments

Comments
 (0)