Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.

Slides:



Advertisements
Similar presentations
EasyGUI “Probably the Easiest GUI in the world”. Assumptions (Teachers’ Notes) This resources sets out an introduction to using easyGUI and Python
Advertisements

Noadswood Science,  To know how to use Python to produce windows and colours along with specified co-ordinates Sunday, April 12, 2015.
Some Introductory Programming 1. Structured Query Language (SQL) - used for queries. - a standard database product. 2. Visual Basic for Applications -
Week 8 – Visual/GUI Using a very simple system, look at some of the ideas involved in using Graphical User Interfaces Basis of this will be a simplified.
MCT260-Operating Systems I Operating Systems I Interfaces to Operating Systems.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
Graphical Tree-Based Scientific Calculator: CalcuWiz Will Ryan Christian Braunlich.
Vanche Gujarat Abhiyaan(VGA)- Best Reader Competition Online Student Registration and Data Entry presentation.
By: Bryan Sanchez and Alex Lindenmayer. A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by.
Python File Handling. In all the programs you have made so far when program is closed all the data is lost, but what if you want to keep the data to use.
Review for Mid-term! October 26, Review Homework Worksheet True or False Operators are symbols that perform specific operations in Visual Basic.
1 Introduction to C# Programming Console applications No visual components Only text output Two types MS-DOS prompt - Used in Windows 95/98/ME Command.
COMPUTER PARTS AND COMPONENTS INPUT DEVICES
Example – Solve the system of equations below We will do this graphically on our calculator. We first need to isolate y in each equation.
Graphical User Interfaces Tonga Institute of Higher Education.
Type accurately challenge! This is a starter activity and should take 2 minutes [ slide 1 ] 1.Can you type out the code in Code Box 2.1 with no errors.
1 Computer Science of Graphics and Games MONT 105S, Spring 2009 Session 20 Graphical User Interface (GUI)
Computing Science 1P Lecture 17: Friday 23 rd February Simon Gay Department of Computing Science University of Glasgow 2006/07.
CSCE 121: Introduction to Program Design and Concepts, Honors Dr. J. Michael Moore Spring 2015 Set 15: GUIs 1.
NA2204.1jcmt CSE 1320 Intermediate Programming C Program Basics Structure of a program and a function type name (parameters) { /* declarations */ statement;
Lesson 6. Python 3.3 Objectives. In this lesson students will learn how to output data to the screen and request input from the user. Students will also.
Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory.
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
1 Introduction to C# Programming Console applications No visual components Only text output Two types MS-DOS prompt - Used in Windows 95/98/ME Command.
1 Creating Windows GUIs with Visual Studio. 2 Creating the Project New Project Visual C++ Projects Windows Forms Application Give the Project a Name and.
What is Programming? Computer programming is about telling the computer what it is we want it to do We tell the computer what we want it to do by sending.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
Lesson 3 - The Entry Box.. Last week We produced a Tkinter window with a label and a button Now we are going to create a new program that creates a Button.
1 * * * Updated for NTS software version , * * *
Creating visual interfaces in python
Styles of User Interface. Learning Objectives: By the end of this topic you should be able to: describe the characteristics of different styles of user.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
Introduction to Programming
UFCFY5-30-1Multimedia Studio Scripting for Interactive Media Using Interface Fields to Receive and Display Data to the User.
DEPARTMENT MODULE User’s Guide. Step 1. Click Files Step 2. Click Department.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Input, Output and Variables GCSE Computer Science – Python.
Topics Graphical User Interfaces Using the tkinter Module
Graphical User Interfaces (GUIs)
Chapter Topics 15.1 Graphical User Interfaces
Event loops 16-Jun-18.
To write a Python program, you first need to open Pyscripter
My Final Project: Calorie Counter
Python I/O.
Event loops.
Lesson Aims Vocabulary In this lesson you are going to:
HOW TO CREATE A CLASS Steps:
Event loops 17-Jan-19.
Event loops 17-Jan-19.
User Interfaces and Libraries
Topics Graphical User Interfaces Using the tkinter Module
Chapter 15: GUI Applications & Event-Driven Programming
Event loops 8-Apr-19.
Visual C# - GUI and controls - 1
Just Basic Lesson 15 Mr. Kalmes.
Just Basic Lessons Mr. Kalmes.
The University of Texas – Pan American
Event loops.
Errors.
Custom Form with Spin Button Controls with VBA in Excel In-Class Exercise #12 Objective: Enhance a “standard” DSS interface with a custom “user form”
What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( “ int input ) = + Hello world chr ord.
Event loops.
Event loops 19-Aug-19.
Custom Forms with VBA in Excel In-Class Exercise #11
TA: Nouf Al-Harbi NoufNaief.net :::
Python Creating a calculator.
Presentation transcript:

Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have a command line interface (CLI). Now you are going to learn how to develop programs with a GUI using Python. Python uses a library or ‘add-on’ called Tkinter to create GUIs.

Task 1 Start a new Python program and enter the code shown below: Creates a new text box containing the text “Computer”. Add the text box to the screen.

Task 2 Add these three lines of code to your program. What do the new lines do?

Task 3 Start a new Python program and enter the code shown below: Adds a text entry box to the screen. This function is called when the button is pressed. Adds a button to the screen.

Task 4 Start a new Python program and enter the code shown below: The inputted numbers are converted to integers for the calculation.