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”

Rate This

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”

Rate This

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?”

Rate This

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”

Rate This

Python, GTK and WebKit – creating a web browser – Part 2

IF YOU HAVE NOT YET, PLEASE READ PART 1 BEFORE CONTINUING! In Part 1, I showed you how to create a very basic web browser in Python with WebKit and GTK. It is a great example of Python’s power, but there was no refresh button. Part 2 focuses on adding this feature so you can refreshContinue reading “Python, GTK and WebKit – creating a web browser – Part 2”

Rate This

Python, GTK and WebKit – creating a web browser – Part 1

THIS WEB BROWSER IS NOT SEASURF. IT IS A VERY BASIC BUT RATHER FUNCTIONAL WEB BROWSER.  Here is how to use Python, GTK and WebKit to create a very simple web browser. First, you will need Python and the GTK and WebKit modules installed. Here is the code for the basic web browser: #!/usr/bin/env pythonContinue reading “Python, GTK and WebKit – creating a web browser – Part 1”

Rate This