Python GUIs for Humans! Create any GUI simple or complicated in a way that's intuitive. Launched in 2018. NEW for 2026 - the LGPL3 Version 6. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
This report presents the forensic synthetic code analysis of PySimpleGUI/PySimpleGUI, a Python project with 13,809 GitHub stars. SynthScan v2.0 examined 36,939 lines of code across 353 source files, recording 456 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 29.7 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 456 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | DemoPrograms/Demo_Graph_Drawing.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Button_Click.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_GoodColors.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Borderless_Window.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Desktop_Widget_CPU_Graph.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Canvas.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Pong_Multiple_Platforms.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Listbox_Search_Filter.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Table_Pandas.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Media_Player.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Nice_Buttons.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Color_Chooser_Custom.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | …_Game_Frontend_Battleship_Single_List_Comprehension.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Tabs.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Animated.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Design_Pattern_Persistent_Window.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_OpenCV_4_Line_Program.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Table_Simulation.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Window_Disappear.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Machine_Learning.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Table_CSV.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Menu_With_Toolbar.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Animated_Scatter.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | …emo_Game_Frontend_Battleship_No_List_Comprehensions.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_YouTube_Intro.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Keyboard.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Game_Frontend_Battleship.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Sort_Visualizer.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Keypad.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Notification_Window_Alpha_Channel.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | …Programs/Demo_Desktop_Widget_CPU_Utilization_Simple.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Font_Sizer.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Script_Launcher.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Buttons_Mac.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Pi_LEDs.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Keyboard_Realtime.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Paned_Window.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | …emo_Theme_Dark_Custom_Elements_Check_Toggle_Buttons.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_MIDI_Player.py | 0 | copyright 2018-2026 pysimplegui. all rights reserved. | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Styles.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | …rams/Demo_Matplotlib_Image_Elem_Spetrogram_Animated.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Embedded_TEMPLATE.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Image_Elem.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 0 | draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a ma | STRING |
| HIGH | DemoPrograms/Demo_User_Settings.py | 0 | saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previous | STRING |
| HIGH | DemoPrograms/Demo_User_Settings_Config_INI_Format.py | 0 | saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previous | STRING |
| HIGH | DemoPrograms/Demo_User_Settings_Class.py | 0 | saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previous | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 0 | ============================================================= demo of the histogram (hist) function with multiple data s | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser.py | 0 | ============================================================= demo of the histogram (hist) function with multiple data s | STRING |
| HIGH | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 0 | ============================================================= demo of the histogram (hist) function with multiple data s | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 0 | ========================================= demo of artist customization in box plots ==================================== | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser.py | 0 | ========================================= demo of artist customization in box plots ==================================== | STRING |
| HIGH | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 0 | ========================================= demo of artist customization in box plots ==================================== | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 0 | ========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf. | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser.py | 0 | ========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf. | STRING |
| HIGH | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 0 | ========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf. | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 0 | create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters --- | STRING |
| HIGH | DemoPrograms/Demo_Matplotlib_Browser.py | 0 | create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters --- | STRING |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Desktop_Widget_Launcher_Bar.py | 87 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 22 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 54 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 102 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Floating_Toolbar.py | 24 | CODE | |
| LOW | …Programs/Demo_Titlebar_Custom_Multiple_Combinations.py | 122 | CODE | |
| LOW | DemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py | 17 | CODE | |
| LOW | DemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py | 90 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py | 26 | CODE | |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 80 | CODE | |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 310 | CODE | |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 373 | CODE | |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 767 | CODE | |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 862 | CODE | |
| LOW | DemoPrograms/Demo_Button_Toggle.py | 15 | CODE | |
| LOW | …grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py | 160 | CODE | |
| LOW | DemoPrograms/Demo_Input_Auto_Complete.py | 28 | CODE | |
| LOW | …moPrograms/Demo_Notification_Window_Multiprocessing.py | 42 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Email_Notification.py | 72 | CODE | |
| LOW | DemoPrograms/Demo_Titlebar_Element.py | 21 | CODE | |
| LOW | DemoPrograms/Demo_All_Elements.py | 97 | CODE | |
| LOW | DemoPrograms/Demo_Progress_Meters.py | 34 | CODE | |
| LOW | DemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py | 42 | CODE | |
| LOW | DemoPrograms/Demo_HowDoI.py | 18 | CODE | |
| LOW | DemoPrograms/Demo_Pong_Multiple_Platforms.py | 143 | CODE | |
| LOW | DemoPrograms/Demo_Save_Windows_As_Images.py | 103 | CODE | |
| LOW | DemoPrograms/Demo_Game_Wordle.py | 36 | CODE | |
| LOW | DemoPrograms/Demo_System_Tray_Icon_Using_psgtray.py | 25 | CODE | |
| LOW | DemoPrograms/Demo_Menubar_Custom_and_Traditional.py | 54 | CODE | |
| LOW | DemoPrograms/Demo_Simple_Material_Feel.py | 53 | CODE | |
| LOW | DemoPrograms/Demo_Multithreaded_ProgressBar.py | 51 | CODE | |
| LOW | DemoPrograms/Demo_Execute_Py.py | 28 | CODE | |
| LOW | DemoPrograms/Demo_Table_Pandas.py | 14 | CODE | |
| LOW | DemoPrograms/Demo_OpenCV_Webcam.py | 15 | CODE | |
| LOW | DemoPrograms/Demo_User_Settings_Config_INI_Format.py | 39 | CODE | |
| LOW | DemoPrograms/Demo_Multithreaded_Long_Tasks.py | 39 | CODE | |
| LOW | DemoPrograms/Demo_System_Tray_Icon_psgtray_No_Window.py | 29 | CODE | |
| LOW | DemoPrograms/Demo_Multithreaded_DataPump.py | 107 | CODE | |
| LOW | DemoPrograms/Demo_Youtube-dl_Frontend.py | 65 | CODE | |
| LOW | DemoPrograms/Demo_Touch_Keyboard.py | 33 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Date.py | 117 | CODE | |
| LOW | DemoPrograms/Demo_Email_Send.py | 69 | CODE | |
| LOW | DemoPrograms/Demo_Chat_With_History.py | 19 | CODE | |
| LOW | DemoPrograms/Demo_PIL_Use.py | 88 | CODE | |
| LOW | …s/Demo_Design_Pattern_Multiple_Windows_Both_Visible.py | 36 | CODE | |
| LOW | …oPrograms/Demo_Desktop_Widget_Digital_Picture_Frame.py | 152 | CODE | |
| LOW | …s/Demo_Graph_Drawing_And_Dragging_Figures_2_Windows.py | 32 | CODE | |
| LOW | …Programs/Demo_System_Tray_GUI_Window_Design_Pattern.py | 46 | CODE | |
| LOW | DemoPrograms/Demo_User_Settings_Auto_Load_and_Save.py | 31 | CODE | |
| LOW | DemoPrograms/Demo_Notification_Window_Fade_In_Out.py | 36 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 348 | CODE | |
| LOW | DemoPrograms/Demo_Graph_Drawing_And_Dragging_Figures.py | 28 | CODE | |
| LOW | DemoPrograms/Demo_Design_Pattern_Multiple_Windows.py | 31 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage.py | 82 | CODE | |
| LOW | DemoPrograms/Demo_Reddit_Search.py | 60 | CODE | |
| LOW | DemoPrograms/Demo_Post_An_Issue.py | 124 | CODE | |
| LOW | DemoPrograms/Demo_Post_An_Issue.py | 246 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_psutil_Dashboard.py | 58 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Dashboard.py | 57 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Postit.py | 36 | CODE | |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py | 70 | # Create the weather columns layout | COMMENT |
| MEDIUM⚡ | …grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py | 80 | # Create the overall layout | COMMENT |
| MEDIUM⚡ | …grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py | 88 | # Create the window | COMMENT |
| MEDIUM | DemoPrograms/Demo_NonBlocking_Form.py | 15 | # Create a text element that will be updated with status information on the GUI itself | COMMENT |
| MEDIUM | DemoPrograms/Demo_NonBlocking_Form.py | 16 | # Create the rows | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_pymunk_2D_Graphics.py | 26 | # Create a Body with mass and moment | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_pymunk_2D_Graphics.py | 30 | # Create a box shape and attach to body | COMMENT |
| MEDIUM | DemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py | 52 | window.job_running = False # Create a member variable to signal to the thread when to stop | CODE |
| MEDIUM | DemoPrograms/Demo_Mini_Window.py | 79 | # Create the new layout inside a frame element so that it'll have a nice border. Requires PySimpleGUI version >= | COMMENT |
| MEDIUM | DemoPrograms/Demo_Nice_Buttons.py | 76 | # Create a string variable name to hold your image | COMMENT |
| MEDIUM | DemoPrograms/Demo_PyGame_Snake_Game.py | 83 | # Create an initial snake | COMMENT |
| MEDIUM | DemoPrograms/Demo_User_Setting_Save_Window_Inputs.py | 26 | # Create a UserSettings object. The JSON file will be saved in the same folder as this .py file | COMMENT |
| MEDIUM | DemoPrograms/Demo_Chatterbot.py | 69 | # Create a new trainer for the chatbot | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py | 16 | # Create a Body with mass and moment | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py | 19 | # Create a box shape and attach to body | COMMENT |
| MEDIUM | DemoPrograms/Demo_PyCharm_Launcher.py | 53 | # Create the Window | COMMENT |
| MEDIUM | DemoPrograms/Demo_Buttons_Base64_Simple.py | 21 | # Define the window's layout | COMMENT |
| MEDIUM | DemoPrograms/Demo_Buttons_Base64_Simple.py | 26 | # Create the window | COMMENT |
| MEDIUM | DemoPrograms/Demo_Button_Toggle2.py | 106 | # Define the button graphic base 64 strings and then call the main function | COMMENT |
| MEDIUM | DemoPrograms/Demo_Theme_Color_Swatches.py | 37 | # Create the pain part, the rows of Text with color swatches | COMMENT |
| MEDIUM | DemoPrograms/Demo_Class_Wrapper.py | 67 | # Create the class | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_Drag_Rectangle_Super_Simple.py | 24 | canvas_size=GRAPH_SIZE, graph_bottom_left=(0, 0), graph_top_right=GRAPH_SIZE, # Define the graph area | CODE |
| MEDIUM | DemoPrograms/Demo_Graph_Element_Sine_Wave.py | 47 | # Create the graph that will be put into the window. Making outside of layout so have element in a variable | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_Ball_Game.py | 22 | # Create a Body with mass and moment | COMMENT |
| MEDIUM | DemoPrograms/Demo_Graph_Ball_Game.py | 26 | # Create a box shape and attach to body | COMMENT |
| MEDIUM | DemoPrograms/Demo_Table_Simulation_Arrow_Keys.py | 29 | # Create the window | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py | 78 | except Exception: | CODE |
| LOW | DemoPrograms/Demo_Base64_Single_Image_Encoder.py | 35 | except Exception as error: | CODE |
| MEDIUM | DemoPrograms/Demo_Base64_Single_Image_Encoder.py | 28 | def convert_file_to_base64(filename): | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 274 | except Exception as e: | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 473 | except Exception as e: | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 518 | except Exception as e: | CODE |
| MEDIUM | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 940 | sg.cprint(f'Error trying to run python file. Error info:', e, c='white on red') | STRING |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 939 | except Exception as e: | STRING |
| MEDIUM | …grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py | 157 | print(f"Error fetching data: {e}") | CODE |
| LOW | DemoPrograms/Demo_Pong_Multiple_Platforms.py | 28 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Save_Windows_As_Images.py | 99 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 859 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 860 | print(f'Error removing {figure_agg} from list', e) | CODE |
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 919 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 920 | print('Error in plotting', e) | CODE |
| LOW | DemoPrograms/Demo_Exception_Traceback_Popup.py | 27 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Youtube-dl_Frontend.py | 78 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Youtube-dl_Frontend.py | 65 | def ExecuteCommandSubprocess(command, wait=False, quiet=True, *args): | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Date.py | 105 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Date.py | 177 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Email_Send.py | 32 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Email_Send.py | 47 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 333 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage.py | 48 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage.py | 109 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Reddit_Search.py | 68 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Reddit_Search.py | 175 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_psutil_Kill_Python_Processes.py | 135 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_psutil_Kill_Python_Processes.py | 177 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py | 83 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Manual_Counter.py | 120 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Image_Viewer_Thumbnails.py | 53 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Image_Viewer_Thumbnails.py | 76 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Image_Viewer_Thumbnails.py | 109 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Image_Viewer_Thumbnails.py | 110 | print(f'Error on file: {f}', e) | CODE |
| MEDIUM | DemoPrograms/Demo_Image_Viewer_Thumbnails.py | 72 | def display_image_window(filename): | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py | 72 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py | 86 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Matplotlib_Browser.py | 846 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Browser.py | 847 | print(f'Error removing {figure_agg} from list', e) | CODE |
| LOW | DemoPrograms/Demo_Matplotlib_Browser.py | 894 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_GitHub_File_Copier.py | 82 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Save_Any_Window_As_Image.py | 47 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Days_Counter.py | 86 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Emoji_Toolbar_PIL.py | 89 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py | 42 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py | 103 | except Exception as E: | CODE |
| LOW | DemoPrograms/Demo_PNG_Thumbnail_Viewer.py | 56 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Date_Chooser.py | 97 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Weather.py | 75 | except Exception as e: | CODE |
| MEDIUM | DemoPrograms/Demo_Desktop_Widget_Weather.py | 76 | print('Error getting nearest postal', e) | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Weather.py | 309 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_PyCharm_Launcher.py | 64 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_PyCharm_Launcher.py | 87 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Color_Swatches.py | 694 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Demo_Programs_Browser.py | 280 | except Exception as e: | CODE |
| LOW | …eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py | 133 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Settings_Save_Load.py | 29 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Settings_Save_Load.py | 41 | except Exception as e: | CODE |
| LOW | DemoPrograms/Demo_Settings_Save_Load.py | 67 | except Exception as e: | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 20 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 24 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 35 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 37 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 64 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 69 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 108 | # ================================================================================ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 110 | # ================================================================================ | COMMENT |
| MEDIUM | …moPrograms/Demo_Notification_Window_Multiprocessing.py | 24 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …moPrograms/Demo_Notification_Window_Multiprocessing.py | 40 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | DemoPrograms/Demo_Mini_Window.py | 26 | # ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Mini_Window.py | 95 | # ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Mini_Window.py | 102 | # ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Img_Viewer.py | 50 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Img_Viewer.py | 52 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Img_Viewer.py | 66 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | DemoPrograms/Demo_Notification_Window_Fade_In_Out.py | 19 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | DemoPrograms/Demo_Notification_Window_Fade_In_Out.py | 34 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Embedded_Toolbar.py | 72 | # ------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Sudoku.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Sudoku.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 6 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py | 7 | CODE | |
| LOW | DemoPrograms/Demo_GoodColors.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_NonBlocking_Form.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Graph.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Graph_Element.py | 5 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 4 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 4 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 4 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 6 | CODE | |
| LOW | DemoPrograms/Demo_Nice_Buttons.py | 7 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 711 | CODE | |
| LOW | DemoPrograms/Demo_Youtube-dl_Frontend.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Tabs.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Animated.py | 4 | CODE | |
| LOW | DemoPrograms/Demo_OpenCV_Simple_GUI.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_LED_Indicators.py | 3 | CODE | |
| LOW | DemoPrograms/Demo_Machine_Learning.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Menu_With_Toolbar.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Browser.py | 699 | CODE | |
| LOW | DemoPrograms/Demo_Button_Func_Calls.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Chatterbot_With_TTS.py | 8 | CODE | |
| LOW | DemoPrograms/Demo_Keyboard.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Floating_Toolbar.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Buttons_Mac.py | 2 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Two_Windows.py | 1 | CODE | |
| LOW | DemoPrograms/Demo_Graph_Noise.py | 4 | CODE | |
| LOW | DemoPrograms/Demo_Pyplot_Bar_Chart.py | 3 | CODE | |
| LOW | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 721 | CODE | |
| LOW | PySimpleGUI/__init__.py | 1 | CODE | |
| LOW | PySimpleGUI/__init__.py | 2 | CODE | |
| LOW | PySimpleGUI/__main__.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 586 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py | 216 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py | 66 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py | 111 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py | 168 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py | 213 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py | 64 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py | 109 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py | 165 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 221 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 72 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 117 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py | 173 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py | 226 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py | 76 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py | 121 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py | 178 | CODE | |
| LOW | DemoPrograms/Demo_Matplotlib_Browser.py | 580 | CODE | |
| LOW | DemoPrograms/Demo_Date_Chooser.py | 19 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py | 216 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py | 73 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py | 116 | CODE | |
| LOW | DemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py | 169 | CODE | |
| LOW | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 598 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py | 17 | def cut_ansi_string_into_parts(string_with_ansi_codes): | CODE |
| LOW | DemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py | 17 | def right_click_meny_new_size(window, new_size): | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 120 | def get_file_list_full_filename(): | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 293 | def check_modules_on_import_line(line:str): | CODE |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 526 | def window_choose_line_to_edit(filename, full_filename, line_num_list, match_list): | CODE |
| LOW | DemoPrograms/Demo_User_Settings.py | 81 | def save_previous_filename_demo(): | CODE |
| LOW | DemoPrograms/Demo_Progress_Meters.py | 34 | def demo_one_line_progress_meter(): | CODE |
| LOW | DemoPrograms/Demo_Progress_Meters.py | 106 | def manually_updated_meter_test(): | CODE |
| LOW | DemoPrograms/Demo_Progress_Meters.py | 206 | def demo_iterable_progress_bar(): | CODE |
| LOW | DemoPrograms/Demo_User_Settings_Config_INI_Format.py | 39 | def save_previous_filename_demo(): | CODE |
| LOW | DemoPrograms/Demo_Post_An_Issue.py | 17 | def _github_issue_post_make_markdown(issue_type, operating_system, os_ver, psg_port, psg_ver, gui_ver, python_ver, | CODE |
| LOW | DemoPrograms/Demo_Post_An_Issue.py | 113 | def _github_issue_post_make_github_link(title, body): | CODE |
| LOW | DemoPrograms/Demo_Post_An_Issue.py | 124 | def _github_issue_post_validate(values, checklist, issue_types): | CODE |
| LOW | DemoPrograms/Demo_GitHub_File_Copier.py | 262 | def execute_command_subprocess(command, *args, wait=False): | CODE |
| LOW | DemoPrograms/Demo_Script_Launcher.py | 38 | def execute_command_nonblocking(command, *args): | CODE |
| LOW | DemoPrograms/Demo_User_Settings_Class.py | 97 | def save_previous_filename_demo(): | CODE |
| LOW | DemoPrograms/Demo_Demo_Programs_Browser.py | 590 | def execute_command_subprocess(command, *args, wait=False, cwd=None): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | DemoPrograms/Demo_Progress_Meters.py | 101 | The sleep calls are here only for demonstration purposes. You should NOT be adding | STRING |
| MEDIUM | DemoPrograms/Demo_Progress_Meters.py | 216 | # Since the progress_bar is an iterator, you can use it within a list comprehension | COMMENT |
| MEDIUM | DemoPrograms/Demo_Column_Collapsible_Sections.py | 12 | Feel free to modify to use the fonts and sizes of your choosing. It's 1 line of code to make the section. | STRING |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 306 | # but it is good enough to generate a plot that you can use | COMMENT |
| MEDIUM | DemoPrograms/Demo_Justification_Columns.py | 29 | # If using an older version of PySimpleGUI, you can add the expansion using these expand method calls | COMMENT |
| MEDIUM | DemoPrograms/Demo_Matplotlib_Browser.py | 303 | # but it is good enough to generate a plot that you can use | COMMENT |
| MEDIUM | …moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py | 318 | # but it is good enough to generate a plot that you can use | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 311 | # Check if the file exists | COMMENT |
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 316 | # Open the file | COMMENT |
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 319 | # Read the file line by line | COMMENT |
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 322 | # Check if the line is an import statement | COMMENT |
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 325 | # Check if the module exists | COMMENT |
| LOW⚡ | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 332 | # Close the file | COMMENT |
| LOW | …Demo_Progres_Meter_With_Numeric_Using_Graph_Element.py | 58 | draw_progress(graph, 0) # Set bar to 0 initially | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 361 | # try: | COMMENT |
| LOW | …moPrograms/Browser_START_HERE_Demo_Programs_Browser.py | 381 | :param find_all_matches: if True, then return all matches in the dictionary | COMMENT |
| LOW | DemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py | 21 | # 88 88 88 | COMMENT |
| LOW | DemoPrograms/Demo_Mini_Window.py | 81 | except NameError: | COMMENT |
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 301 | # must be a list of sequences of x,y tuples; we have only | COMMENT |
| LOW | DemoPrograms/Demo_Matplotlib_Browser_Paned.py | 541 | # See doi:10.1016/j.atmosenv.2008.12.017 | COMMENT |
| LOW | DemoPrograms/Demo_Multithreaded_DataPump.py | 41 | # | COMMENT |
| LOW | DemoPrograms/Demo_Matplotlib_Browser.py | 541 | # scenarios: | COMMENT |
| LOW | DemoPrograms/Demo_PNG_Thumbnail_Viewer.py | 61 | if resize: | COMMENT |
| LOW | DemoPrograms/Demo_Demo_Programs_Browser.py | 201 | COMMENT | |
| LOW | …eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py | 41 | # MMMM MMMM `88888P' `88888P' dP | COMMENT |
| LOW | …eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py | 81 | # M""""""'YMM oo | COMMENT |
| LOW | …eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py | 141 | # M mmmmm..M 88 88 | COMMENT |
| LOW | DemoPrograms/Demo_Matplotlib_Image_Elem.py | 61 | # 88aaaa 88d888b. .d888b88 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | DemoPrograms/Demo_Input_Auto_Complete.py | 30 | # In this example, the PySimpleGUI Element names are used | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DemoPrograms/Demo_Debugger_ImWatchingYou.py | 58 | # don't worry about the "state" of things, just call this function "frequently" | COMMENT |