Hello again everybody, I am sorry that I have not posted in the last couple of weeks. It’s December now, and Christmas time is approaching. In the meantime, here is a new Python tutorial about validation. What is validation? It’s a way of checking whether something is a certain value or not, and executing codeContinue reading “Python tutorials – Basic validation”
Category Archives: Python
Python tutorial – While loops basics
In Python, while loops allow you to repeat things forever, or up until a certain point. Here’s an example: keep_going = Truewhile (keep_going == True): print(“Hello world!”) This will print “Hello world!” indefinitely. The keep_going value is set to True, and the while loop checks continuously check that the keep_going value is equal to True.Continue reading “Python tutorial – While loops basics”
Python tutorial – How to create basic functions
In Python, a function is a block of code that only runs when it is called later on in the code. Data can be passed into the functions too. One example of a function is print. It runs when it is called in the code, and the text you put inside the bracket is theContinue reading “Python tutorial – How to create basic functions”
Python basics #1 – How to get Python to say Hi to you by name
Welcome to Python Basics, my blog series of how to work with Python. In this guide I will be showing you how you can get Python to ask you for your name and then say Hello to you, by name. In this tutorial, you will learn how to: Use Python’s print function. Use Python’s inputContinue reading “Python basics #1 – How to get Python to say Hi to you by name”
Python tutorials #1 – basic calculator
This is the first of my Python tutorials! Python is a programming language but unlike C++ and Java, is easier to learn but can still be used to create amazing programs such as web browsers, calculators, word processors, and more. But unlike Scratch, a GUI used to make games and other projects aimed at beginnersContinue reading “Python tutorials #1 – basic calculator”
Python Tkinter samples – Document Viewer
Only works in Python 2 at the moment, but will be ported over to Python 3.5 soon. I hope you like my sample! Epic Chas Gamer π
One lovely blog award – who are my favourite bloggers?
This challenge has spread across the internet like fire (I didn’t create this challenge) so I have decided to do one. Basically, I have to tell you 7 things about my character. And up to 15 bloggers I enjoy. I have over 40 followers, but as there are limits (a few don’t have blogs) andContinue reading “One lovely blog award – who are my favourite bloggers?”
Where Python 3.6 is stored on Windows
If you are wondering where Python 3.6 is stored, then here is the path: C:\Users\YOURUSERNAME\AppData\Local\Programs\Python
Python, GTK and WebKit β creating a web browser β Part 3
Hey guys! Welcome to Part 3 of myΒ Python, GTK and WebKit β creating a web browser tutorial. Part 3 will show you how to add an “About” button to the browser. The about dialog will look like: Add the following few lines to the beginning of the code: import Tkinter from ScrolledText import * importContinue reading “Python, GTK and WebKit β creating a web browser β Part 3”
Wow!
Awesome!!!!!!!!! π