Don't wanna be here? Send us removal request.
Text
PySimpleGui Beginners-Day 3
PySimpleGui Beginners-Day 3. On day three I converted another of my simple Tkinter programs to PySimpleGUI, and after that I converted the PSG version to a web app.
PySimpleGui Beginners-Day Three
Two Conversions
For Day Three I am going to convert another one of my simple Tkinter programs to PySimpleGUI, and after that I am going to convert that PSG conversion to a PSG web app.
 I have decided against doing a full step by step explanation of the conversion from Tkinter to PSG, like I did in Day two.
For one, it could get boring, as there are a lot of sgeâŚ
View On WordPress
1 note
¡
View note
Text
Python Code Snippets #26
Python Code Snippets #26. Another five bits of code to amaze and inspire you to try something new or different.
Python Code Snippets #26
Hi Py-Snippers.
You are here for code snippets not my inane preamble text, so letâs get straight into it.
126-Football-Historic-Data
Tested on : Windows 7, Linux Mint 19.1 Installs required: None, (but requires a CSV file downloaded from football-data Source: Unknown (for now, lost the link sorry)
This got me quite excited when I first saw this a few weeks ago. ItâŚ
View On WordPress
0 notes
Text
PySimpleGui Beginners-Day Two
PySimpleGui Beginners-Day Two. A guide to PySimpleGUI. In the second of this series I take you through every step of converting an existing Tkinter app to a full PySimpleGUI app with some extra trimmings.
PySimpleGui Beginners-Day Two
Building A Full Working App With A GUI
By the end of the PSG Day One Primer we had learnt the very basics of PySimpleGUI. There were some vital to understand concepts covered there which if you do not understand yet you might have some difficulty following all of this article.
The Most Important Thing To Know Is;
The most important thing to learn is how the designâŚ
View On WordPress
0 notes
Text
PySimpleGui Beginners-Day One
PySimpleGui Beginners-Day One. Will help to get beginners over the initial learning curve when starting out with PSG. This primer is to ready a newb to be able to tackle the PSG docs with confidence and understand the very basics.
PySimpleGui Beginners-Day One
The Backstory
I first heard about PySimpleGui when I was collaborating with a guy called Mike on my Bletchley GitHub project. I was way out of my depth of course, he is a developer of many years experience.
Mike helped me solve lots of the problems that I was having with Bletchley, and he also refactored the code completely. Mike also showed me how quickly he couldâŚ
View On WordPress
0 notes
Text
Python Football Results Predictor
Python Football Results Predictor. A simple little Python GUI with the aim of predicting every result of the 2019-2020 Premier League Football season. Not to be taken too seriously at all though.Source code works on Windows, Linux.
Python Soccer Results Predictor
I have used the words âSoccer as well as âFootballâ and âFootyâ to cater for everyone. It will probably cause more confusion than it avoids, but we will see, I can always edit later.
Amos Is Not In The Dictionary
For quite some time now I have been avoiding Python dictionaries, I have only just got my head around lists ffs lol.
The strange and annoying thing isâŚ
View On WordPress
0 notes
Text
Python Code Snippets #25
Python Code Snippets #25. Five more simple but really useful Python code snippets mostly for beginners. All work on Linux and Windows and most likely Mac.
Python Code Snippets #25

Hi Py-Snippers, welcome to Python Snippets volume 25. Yes, somehow I have yet again managed to cobble together another five more deliciously easy to use, and potentially useful, Python code snippets for your grubby little fingers to play about with.
So letâs just get right on it.
121-Language Detection And Translation
Tested on : Windows 7, Linux Mint 19.1 InstallsâŚ
View On WordPress
0 notes
Text
PyAutoGui Automation Tutorial
PyAutoGui Automation Beginners Tutorial. I describe how to automate a program that boots with your computer and cleans junk files for you automatically. This simple example can be used as a template for many other possibilities.

PyAutoGui Automation Tutorial
I have said many times in the last year on this blog how highly I rate the PyAutoGui module, mainly for its clean simplicity and beginner friendly documentation. Of course it is also powerful, versatile and extremely useful for many tasks.
âThe purpose of PyAutoGUI is to provide a cross-platform Python module for GUI automation for human beings. The API is designedâŚ
View On WordPress
0 notes
Text
Python Code Snippets #24
Python Code Snippets #24
Python Code Snippets #24

Hi Py-Snippers. I have five more cracking little Python snippets for you here, not forgetting the bonus nonsense at the end of the post too.
Why Pip3?
A quick note to the uninitiated to explain why I put âpip3 install xxxâ instead of just âpip install xxxâ in the snippets information header.
It is for Linux users mainly. You see, most, if not all, Linux distroâs come withâŚ
View On WordPress
0 notes
Text
Python Screen Spy Update V1.92
Screen Spy V1.92. The penultimate update. I have added a key logger, file viewer, image save limit, global store class, and an overwrite check. I failed in four features that I wanted to add, can you rise to the challenge?
Screen Spy Update V1.92

This program is for informational purposes and just a fun programming exercise. Please only use on your own computer, and maybe you wonât end up in jail.
Since the last screen spy update I have been really busy trying to add the features that I had mentioned in that post, whilst also trying to keep the code multi-platform.
Key Logger Added
First of all I wanted toâŚ
View On WordPress
0 notes
Text
Easy Way To Avoid Global Vars
Easy Way To Avoid Global Variables. A quick tutorial and step by step guide for beginners on how to easily avoid using global statements in their code.
The Easy Way To Avoid Using Global Variables A Step By Step Guide

I am currently still working on an update of Screen Spy, but I just had to break off that work to report this finding, because it will probably be of use in most of my future projects.
This is newb important stuff people, because I am about to describe how to avoid ever needing to use a global statementin your code ever again,âŚ
View On WordPress
0 notes
Text
Python Code Snippets #23
Python Code Snippets #23. Five more insane Python snippets to gloat over including, Tk toolbar, html gallery, email scraper, photoframer, colour slider and some bonus nonsense. How could you not?
Python Code Snippets #23
Hi Py-Snippers, I wonât bore you with the usual preamble nonsense, thereâs a lot to get through here, so letâs crack on.
111-Tkinter Toolbar
Tested on : Windows 7, Linux Mint 19.1 Installs required: pip3 install pillow. Also requires the four (supplied) images in a folder named âiconsâ in current directory. Source: DreamInCode (original post seems to have been deleted)
ItâŚ
View On WordPress
0 notes
Text
Python Screen Spy Update V1.61
Python Screen Spy Update V1.61
Python Screen Spy Update V1.61
After reviewing some of the most popular posts on this blog I decided to spend a day updating my Screen Spy program. The code left quite a lot to be desired in its current form and so I spent a few days trying to improve it.
If you want you can still read the original Screen Spy post and get the source code for it.
There were two things I felt urgently neededâŚ
View On WordPress
0 notes
Text
Python Code Snippets #22
python code snippets Vol 22: All work on Windows and Linux. White Noise Generator, Display Module Attributes, Insert Image On Every Page Of A PDF, Validate Email Address, Masked Password Entry Box.
Python Code Snippets #22
 Hi Py-Snippers, I have spent more time on improving the look and usefulness of the snippets logo, (above), than I have talking about the code snippets I have for you today.
I struggle with design and artistic stuff, but I really like how this logo has finally turned out. I think adding a listing of the snippets in the post makes it useful as well as fairly cool.
EnoughâŚ
View On WordPress
0 notes
Text
Tk Functools callback loop
Tk Functools callback loop
Improving My Python Tkinter Code
sub-titled: âWell, that shouldnât be too difficult!â
IÂ fully admit that my coding overall, and especially my Tkinter code, should be a lot better after 9 months of self-learning.
A female can create a fully grown baby in that time, but I still struggle to write a well coded GUI. [Thatâs not meant as a sexist remark, but one of awe.]
Also, taking into accountâŚ
View On WordPress
0 notes
Text
Python Code Snippets 21
Python Code Snippets 21. Here we go with the start of the next 100 bits of code. Five snippets including: Using Tkinters Internal Bitmaps And Cursors, Tkinter ToolTip, Webbrowser trick, Scrolled text reader, Tkinter menu check mark. All beginner friendly of course.
Python Code Snippets #21
Hi code snippet fans. Well, here we go again. This is the start of the second batch of 100 code snippets.
I am quite excited as I just seem to keep coming across bits of code that are screaming out to be catalogued as a snippet for our collection.
I just hope I can keep the quality up all the way to snippet 200. I like to think that I achieved that with the first 100âŚ
View On WordPress
0 notes
Text
TIM-Another Update-V1.70
TIM-The Insult Machine. Update V1.70
Download Tim v1.70 Freeware. Source and .exe. I just couldnât let it lie
Although I did quite well with updating TIM last time, it still left me feeling like I had failed on too many issues. The main one being I wanted a single cross platform source code file for Windows, Linux and possibly Mac.
Almost as soon as I finished the last update I started workâŚ
View On WordPress
0 notes
Text
A useful little Python secret ?
A useful little Python secret ? I have stumbled upon what looks like an undocumented feature in the built in Python webbrowser module. I have found it to be very useful when making my programs cross platform.
A Useful Little Python Secret?

Subtitled: Well I hope it is, or I am going to look a right idiot⌠again!
This Is All TIMâs Fault
Whilst updating TIM for my last post, and trying to make it cross platform on Windows and Linux, I came across several problems that I am now looking at closer to try resolve properly, rather than the stop-gap solutions I used just to finish off the update.
One ofâŚ
View On WordPress
0 notes