Mid Unit Review. Of the four learning outcomes for this unit, we have covered the first two. 1.1 LO1 2.1 LO2 LO2

Size: px
Start display at page:

Download "Mid Unit Review. Of the four learning outcomes for this unit, we have covered the first two. 1.1 LO1 2.1 LO2 LO2"

Transcription

1 Lecture 8

2 Mid Unit Review Of the four learning outcomes for this unit, we have covered the first two. LO Learning outcome (LO) AC Assessment criteria for pass The learner can: LO1 Understand the principles of procedural programming. 1.1 Discuss the principles, characteristics and features of procedural programming. LO2 Be able to design procedural programming solutions. 2.1 Identify the program units and data and file structures required to implement a given design. LO2 Be able to design procedural programming solutions. 2.2 Design a procedural programming solution for a given problem

3 Now for the remaining two LO Learning outcome (LO) AC Assessment criteria for pass The learner can: L03 L03 L03 L04 L04 L04 L04 L04 Be able to implement procedural programming solutions Be able to implement procedural programming solutions Be able to implement procedural programming solutions Be able to test procedural programming solutions Be able to test procedural programming solutions Be able to test procedural programming solutions Be able to test procedural programming solutions Be able to test procedural programming solutions 3.1 select and implement control structures to meet the design algorithms 3.2 correctly use parameter passing mechanisms 3.3 implement a procedural programming solution based on a prepared design 4.1 critically review and test a procedural programming solution 4.2 analyse actual test results against expected results to identify discrepancies 4.3 evaluate independent feedback on a developed procedural programme solution and make recommendations for improvements 4.4 create onscreen help to assist the users of a computer program 4.5 create documentation for the support and maintenance of a computer program

4 Previously Pseudo code. File operations. First assignment

5 Today GUI applications. (L03-3.1)

6 Graphical User Interface CONCEPT: A graphical user interface allows the user to interact with the operating system and other programs using graphical elements such as icons, buttons and dialog boxes. A computer s user interface is the part of the computer that the user interacts with. It was in the 1980s that this new type of interface known as a graphical user interface came into use in commercial operating systems. Now we see and use them everywhere. GUI programs are associated with event driven programs. However, we can write a GUI interface in Python.

7 GUI Window Much of the interaction with a GUI is done through dialog boxes, which are small windows that display information and allow the user to perform actions.

8 GUI Window Instead of typing commands according to a specified syntax, the user interacts with graphical elements such as icons, buttons, and slider bars etc. In a text-based environment, such as a command line interface, programs determine the order in which things happen. In a GUI environment, however, the user determines the order in which things happen.

9 Graphical User Interface Python does not have GUI programming features built into the language itself. CONCEPT: In Python you can use the tkinter module to create simple GUI programs. There are other third party modules you can download to create GUI s. E.g. Qt designer, wxglade etc We will use tkinter as it is supplied with Python.

10 Graphical User Interface The name tkinter is short for Tk interface. It is named this because it provides a way for Python programmers to use a GUI library named Tk. Many other programming languages use the Tk library as well.

11 Graphical User Interface A GUI program presents a window with various graphical widgets that the user can interact with or view. The tkinter module provides 15 widgets.

12 GUI widgets

13 Graphical User Interface In the.net world these widgets are called controls. We won t cover all of the tkinter widgets, but we will learn how to create simple GUI programs that gather input, display data and respond to events. Note IDLE uses tkinter for its interface so testing our GUI s using IDLE may give unpredictable results. pycharm or Visual studio may be better or another editor of your choice.

14 GUI Window Try this # be careful with the case on the import statement. import tkinter def main(): # Create the main window widget. main_window = tkinter.tk() # Enter the tkinter main loop. tkinter.mainloop() # Call the main function. main() What do you get?

15 GUI Window Result

16 GUI Window Line 3 imports the tkinter module. Inside the main function, line 7 creates an instance of the tkinter module s Tk class, and assigns it to the main_window variable. This object is the root widget, which is the main window in the program. Line 10 calls the tkinter module s mainloop function. This function runs like an infinite loop until you close the main window. This is an event loop.

17 GUI Window CONCEPT: You use the Label widget to display text in a window. To make a Label widget you create an instance of the tkinter module s Label class. Label = tkinter.label(main_window, text= Hello World! )

18 GUI Window add a label 1. from tkinter import * 2. def main(): 3. # Create the main window widget. 4. main_window = Tk() 5. # Create a Label widget containing the 6. # text 'Hello World!' 7. label = Label(main_window, text='hello World!') 8. # Call the Label widget's pack method. 9. label.pack() 10. # Enter the tkinter main loop. 11. mainloop() 12. # Call the main function. 13. main()

19 GUI Window # Call the Label widget's pack method. label.pack() # Enter the tkinter main loop. mainloop() With widgets we need to add (pack) them to the form. So the label.pack statement calls the Label widget s pack method. The pack method determines where a widget should be positioned, and makes the widget visible when the main window is displayed. (You call the pack method for each widget in a window.) The final statement calls the tkinter module s mainloop which displays the program s main window and listens for any form events. This is the event loop.

20 GUI Window So how do we pre-define the size of our form? The Place geometry manager allows you explicitly set the position and size of a window, either in absolute terms, or relative to another window. The place manager can be accessed through the place method. It can be applied to all standard widgets. # width x height + x_offset + y_offset: root.geometry("170x ") Notice this is entered as a string.

21 GUI Window Button widgets CONCEPT: You use the Button widget to create a standard button in a window. When the user clicks a button, a specified function or method is called. A Button is a widget that the user can click to cause an action to take place. When you create a Button widget you can specify the text that is to appear on the face of the button, and the name of a callback function. A callback function is a function or method that executes when the user clicks the button.

22 GUI Window Button widgets NOTE: A callback function is also known as an event handler because it handles the event that occurs when the user clicks the button. To add a button my_button = tkinter.button(main_window, \ text='click Me!', \ command=do_something) Notice the command=do_something, this is the callback function you will need to write to handle the click event.

23 GUI Window Button widgets For example - def do_something(): # Display an info dialog box. tkinter.messagebox.showinfo('response', \ 'Thanks for clicking the button.') When the user clicks the button. The do_something function is called. Here we use a messagebox to display a message on the screen. You may have to add this statement to your program. import tkinter.messagebox

24 Now do the lab exercises

25 Summary what we have learnt today Mid term review of where we are and where we are going next. Graphical user interfaces, part 1.

26 Next Time GUI s part 2. Test a procedural programming solution.

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith We looked at: Debugging Previously BTEC Level 3 Year 2 Unit 16 Procedural programming Now Now we will look at: GUI applications. BTEC Level 3 Year 2 Unit 16

More information

Tkinter Part II: Buttons, Lambda & Dynamic Content

Tkinter Part II: Buttons, Lambda & Dynamic Content Tkinter Part II: Buttons, Lambda & Dynamic Content July 8, 2015 Brian A. Malloy Slide 1 of 11 1. We further investigate Labels and Buttons and hook Python actions to these widgets. We present lambda functions,

More information

ENGR/CS 101 CS Session Lecture 15

ENGR/CS 101 CS Session Lecture 15 ENGR/CS 101 CS Session Lecture 15 Log into Windows/ACENET (reboot if in Linux) Use web browser to go to session webpage http://csserver.evansville.edu/~hwang/f14-courses/cs101.html Right-click on lecture15.py

More information

Teaching London Computing

Teaching London Computing Teaching London Computing A Level Computer Science Programming GUI in Python William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London How the Session Works Outline

More information

Selected GUI elements:

Selected GUI elements: Selected GUI elements: Element tkinter Class Description Frame Frame Holds other GUI elements Label Label Displays uneditable text or icons Button Button Performs an action when the user activates it Text

More information

CAS London CPD Day February 16

CAS London CPD Day February 16 Practical Sheet: GUI Programming This sheet is a set of exercises for introducing GUI programming in Python using Tkinter, assuming knowledge of basic Python programming. All materials are at http://www.eecs.qmul.ac.uk/~william/cas-london-2016.html

More information

Procedural Programming

Procedural Programming Unit 18: Procedural Unit code: D/601/1293 QCF Level 4: BTEC Higher National Credit value: 15 Aim To provide learners with an understanding of the principles of procedural programming and to enable them

More information

Part 3. Useful Python

Part 3. Useful Python Part 3 Useful Python Parts one and two gave you a good foundation in the Python language and a good understanding of software design. You ve built some substantial applications, and hopefully you ve built

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Introduction This unit aims to enable you to develop the skills and understanding required to design and develop procedural programming applications. Irrespective

More information

Lecture 3 - Overview. More about functions Operators Very briefly about naming conventions Graphical user interfaces (GUIs)

Lecture 3 - Overview. More about functions Operators Very briefly about naming conventions Graphical user interfaces (GUIs) Lecture 3 - Overview More about functions Operators Very briefly about naming conventions Graphical user interfaces (GUIs) Function parameters Passed by reference, but the standard implication that the

More information

CS 112: Intro to Comp Prog

CS 112: Intro to Comp Prog CS 112: Intro to Comp Prog Importing modules Branching Loops Program Planning Arithmetic Program Lab Assignment #2 Upcoming Assignment #1 Solution CODE: # lab1.py # Student Name: John Noname # Assignment:

More information

CS 112 Project Assignment: Visual Password

CS 112 Project Assignment: Visual Password CS 112 Project Assignment: Visual Password Instructor: Dan Fleck Overview In this project you will use Python to implement a visual password system. In the industry today there is ongoing research about

More information

Programming Training. This Week: Tkinter for GUI Interfaces. Some examples

Programming Training. This Week: Tkinter for GUI Interfaces. Some examples Programming Training This Week: Tkinter for GUI Interfaces Some examples Tkinter Overview Set of widgets designed by John K. Ousterhout, 1987 Tkinter == Tool Kit Interface Mean to be driven by Tcl (Toolkit

More information

This text is used together with Mark Pilgrims book Dive Into Python 3 for the Arthead course Python Fundamentals.

This text is used together with Mark Pilgrims book Dive Into Python 3 for the Arthead course Python Fundamentals. 2 About this text This text is used together with Mark Pilgrims book Dive Into Python 3 for the Arthead course Python Fundamentals. The first part is written for Python 2 and at the end there is a section

More information

Chapter 9 GUI Programming Using Tkinter. Copyright 2012 by Pearson Education, Inc. All Rights Reserved.

Chapter 9 GUI Programming Using Tkinter. Copyright 2012 by Pearson Education, Inc. All Rights Reserved. Chapter 9 GUI Programming Using Tkinter 1 Motivations Tkinter is not only a useful tool for developing GUI projects, but also a valuable pedagogical tool for learning object-oriented programming. 2 Objectives

More information

User Interaction. User Interaction. Input devices. Input devices. Input devices GUIs and GUI design Event-driven programming 3D interaction

User Interaction. User Interaction. Input devices. Input devices. Input devices GUIs and GUI design Event-driven programming 3D interaction User Interaction User Interaction Input devices GUIs and GUI design Event-driven programming 3D interaction CS 465 lecture 19 2003 Steve Marschner 1 2003 Steve Marschner 2 Input devices Input devices Discrete

More information

Interface Builders and Interface Description Languages

Interface Builders and Interface Description Languages Interface Builders and Interface Description Languages Interface Builders (IB) and Interface Description Languages (IDL) enable Drag and Drop construction of GUI's are part of man;y Visual Studio(2013)

More information

Introduction to Programming Using Python Lecture 6. Dr. Zhang COSC 1437 Spring, 2018 March 01, 2018

Introduction to Programming Using Python Lecture 6. Dr. Zhang COSC 1437 Spring, 2018 March 01, 2018 Introduction to Programming Using Python Lecture 6 Dr. Zhang COSC 1437 Spring, 2018 March 01, 2018 Chapter 9 GUI Programming Using Tkinter Getting started with Tkinter with a simple example. Code example:

More information

Unit code: H/601/1537 QCF Level 5: BTEC Higher National Credit value: 15

Unit code: H/601/1537 QCF Level 5: BTEC Higher National Credit value: 15 Unit 42: in.net Unit code: H/601/1537 QCF Level 5: BTEC Higher National Credit value: 15 Aim To provide learners with an understanding of the principles of programming using a.net framework as an underpinning

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We learnt what a computer program does. What a procedural program does. What a procedure is. We had a first look at IDLE. Now Learning Outcomes

More information

Noughts and Crosses. Step 1: Drawing the grid. Introduction

Noughts and Crosses. Step 1: Drawing the grid. Introduction 6 Noughts and Crosses These projects are for use inside the UK only. All Code Clubs must be registered. You can check registered clubs at www.codeclub.org.uk/. This coursework is developed in the open

More information

PTN-202: Advanced Python Programming Course Description. Course Outline

PTN-202: Advanced Python Programming Course Description. Course Outline PTN-202: Advanced Python Programming Course Description This 4-day course picks up where Python I leaves off, covering some topics in more detail, and adding many new ones, with a focus on enterprise development.

More information

CS123. Programming Your Personal Robot. Part 2: Event Driven Behavior

CS123. Programming Your Personal Robot. Part 2: Event Driven Behavior CS123 Programming Your Personal Robot Part 2: Event Driven Behavior You Survived! Smooth Sailing Topics 2.1 Event Driven Programming Programming Paradigms and Paradigm Shift Event Driven Programming Concept

More information

# arrange Label in parent widget

# arrange Label in parent widget Much of today s software uses a point-and-click graphical user interface (GUI). The standard library modules Tkinter and Tix allow for portable, event-driven, GUI development in Python. A Python/Tkinter

More information

Programming Graphical

Programming Graphical Programming Graphical User Interfaces in R Michael F. Lawrence John Verzani CRC Press Taylorfii Francis Group Boca Raton London NewYork CRC Press Is an imprint of the Taylor & Francis Group an informs

More information

Outline. general information policies for the final exam

Outline. general information policies for the final exam Outline 1 final exam on Tuesday 5 May 2015, at 8AM, in BSB 337 general information policies for the final exam 2 some example questions strings, lists, dictionaries scope of variables in functions working

More information

CSE : Python Programming

CSE : Python Programming CSE 399-004: Python Programming Lecture 08: Graphical User Interfaces with wxpython March 12, 2005 http://www.seas.upenn.edu/~cse39904/ Plan for today and next time Today: wxpython (part 1) Aside: Arguments

More information

Sliders. If we start this script, we get a window with a vertical and a horizontal slider:

Sliders. If we start this script, we get a window with a vertical and a horizontal slider: Sliders Introduction A slider is a Tkinter object with which a user can set a value by moving an indicator. Sliders can be vertically or horizontally arranged. A slider is created with the Scale method().

More information

Distributed Software Applications

Distributed Software Applications Unit 40: Distributed Software Applications Unit code: M/601/1525 QCF Level 5: BTEC Higher National Credit value: 15 Aim To provide learners with an understanding of the principles of distributed computing,

More information

Object Oriented Programming

Object Oriented Programming Unit 19: Object Oriented Unit code: K/601/1295 QCF Level 4: BTEC Higher National Credit value: 15 Aim To provide learners with an understanding of the principles of object oriented programming as an underpinning

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 7: if Statement PythonLab7 lecture slides.ppt 14 November 2017 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the

More information

Event-driven Programming: GUIs

Event-driven Programming: GUIs Dr. Sarah Abraham University of Texas at Austin Computer Science Department Event-driven Programming: GUIs Elements of Graphics CS324e Spring 2018 Event-driven Programming Programming model where code

More information

PYTHON TRAINING COURSE CONTENT

PYTHON TRAINING COURSE CONTENT SECTION 1: INTRODUCTION What s python? Why do people use python? Some quotable quotes A python history lesson Advocacy news What s python good for? What s python not good for? The compulsory features list

More information

Learning outcomes. COMPSCI 101 Principles of Programming. Drawing 2D shapes using Characters. Printing a Row of characters

Learning outcomes. COMPSCI 101 Principles of Programming. Drawing 2D shapes using Characters. Printing a Row of characters Learning outcomes At the end of this lecture, students should be able to draw 2D shapes using characters draw 2D shapes on a Canvas COMPSCI 101 Principles of Programming Lecture 25 - Using the Canvas widget

More information

CS2021 Week #6. Tkinter structure. GUI Programming using Tkinter

CS2021 Week #6. Tkinter structure. GUI Programming using Tkinter CS2021 Week #6 GUI Programming using Tkinter Tkinter structure Requires integra>on with Tk a GUI library Python program makes widgets and registers func>ons to handle widget events Program consist of theses

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 6: Relational Operators and Boolean Variables PythonLab6 lecture slides.ppt 7 November 2017 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder

More information

Application Note: Creating a Python Graphical User Interface. Matthew Roach March 31 st, 2014

Application Note: Creating a Python Graphical User Interface. Matthew Roach March 31 st, 2014 Application Note: Creating a Python Graphical User Interface Matthew Roach March 31 st, 2014 Abstract: This document contains 2 portions. First, it provides an introduction into phase and the use of phase

More information

Chapter 0 : MVC review / Threading & Concurrency. CSCI 251 Android App Development

Chapter 0 : MVC review / Threading & Concurrency. CSCI 251 Android App Development Chapter 0 : MVC review / Threading & Concurrency CSCI 251 Android App Development Part I: Model / View / Controller Review (courtesy of Prof. Lambert) TUI vs GUI Text-based I/O Sequential process Direct

More information

CS313T ADVANCED PROGRAMMING LANGUAGE

CS313T ADVANCED PROGRAMMING LANGUAGE CS313T ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 1 : Introduction Lecture Contents 2 Course Info. Course objectives Course plan Books and references Assessment methods and grading

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 5: Strings and Output PythonLab5 lecture slides.ppt 30 October 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with

More information

Al al-bayt University Prince Hussein Bin Abdullah College for Information Technology Computer Science Department

Al al-bayt University Prince Hussein Bin Abdullah College for Information Technology Computer Science Department Al al-bayt University Prince Hussein Bin Abdullah College for Information Technology Computer Science Department 0901212 Python Programming 1 st Semester 2014/2015 Course Catalog This course introduces

More information

About 1. Chapter 1: Getting started with pyqt5 2. Remarks 2. Examples 2. Installation or Setup 2. Hello World Example 6. Adding an application icon 8

About 1. Chapter 1: Getting started with pyqt5 2. Remarks 2. Examples 2. Installation or Setup 2. Hello World Example 6. Adding an application icon 8 pyqt5 #pyqt5 Table of Contents About 1 Chapter 1: Getting started with pyqt5 2 Remarks 2 Examples 2 Installation or Setup 2 Hello World Example 6 Adding an application icon 8 Showing a tooltip 10 Package

More information

Lecture 3 - Overview. Object-oriented programming and classes Operators Very briefly about naming conventions Graphical user interfaces (GUIs)

Lecture 3 - Overview. Object-oriented programming and classes Operators Very briefly about naming conventions Graphical user interfaces (GUIs) Lecture 3 - Overview Object-oriented programming and classes Operators Very briefly about naming conventions Graphical user interfaces (GUIs) Object-oriented philosophy Object = Data + Algorithm An object

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 3: Arithmetic PythonLab3 lecture slides.ppt 16 October 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the name

More information

Quality Assurance User Interface Modeling

Quality Assurance User Interface Modeling Quality Assurance User Interface Modeling Part II - Lecture 4 1 The University of Auckland New Zealand 254 18/09/ /2012 Interviewing Methods of the FBI 254 18/09/ /2012 Cognitive interview: method to enhance

More information

Graphical User Interfaces

Graphical User Interfaces Graphical User Interfaces 1 User Interfaces GUIs in Python with Tkinter object oriented GUI programming 2 Mixing Colors specification of the GUI the widget Scale 3 Simulating a Bouncing Ball layout of

More information

Lab 4: Adding a Windows User-Interface

Lab 4: Adding a Windows User-Interface Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 3: Arithmetic PythonLab3 lecture slides.ppt 26 January 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the name

More information

User Manual of VeryDOC Advanced PDF Tools User Handbook

User Manual of VeryDOC Advanced PDF Tools User Handbook User Manual of VeryDOC Advanced PDF Tools User Handbook VeryDOC 2/2/2013 Contents User Manual of VeryDOC Advanced PDF Tools... 0 Introduction... 2 Operating System... 2 How to add PDF files... 2 How to

More information

User Interfaces. getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy

User Interfaces. getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy User Interfaces 1 Command Line Interfaces getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy 2 Encapsulation by Object Oriented Programming

More information

Assignment front sheet

Assignment front sheet Assignment front sheet Learning Outcome LO 3 Learning Outcome Be able to implement interactive websites Assessment Criteria In this assessment you will have the opportunity to present evidence that shows

More information

Computing. Building Retention: What prior learning must be built upon/revisited and how will it be assessed? Term Cycle 1

Computing. Building Retention: What prior learning must be built upon/revisited and how will it be assessed? Term Cycle 1 Term Cycle 1 6+ lessons Kodu Game Programming Planning a computer game. Creating algorithm (step by step instructions) for how the code in the game will work. Kodu game programming skills, for example:

More information

Introduction To Python

Introduction To Python Introduction To Python Week 8: Program Dev: Graphical Game of Life Dr. Jim Lupo Asst Dir Computational Enablement LSU Center for Computation & Technology 16 Jul 2015, Page 1 of 27 Intro To Tkinter Tcl/Tk

More information

Testing Methods: White Box Testing II

Testing Methods: White Box Testing II Testing Methods: White Box Testing II Outline Today we continue our look at white box testing with more code coverage methods, and a data coverage method We ll look at : - code coverage testing - decision

More information

A GUI for DFT and Orthogonal DWT in Tkinter

A GUI for DFT and Orthogonal DWT in Tkinter A GUI for DFT and Orthogonal DWT in Tkinter Tariq Javid Ali, Pervez Akhtar, Muhammad Faris Hamdard Institute of Engineering & Technology Hamdard University Karachi-74600, Pakistan Email: {tariq.javid pervez.akhtar

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Graphical User Interfaces Robert Rand University of Pennsylvania November 19, 2015 Robert Rand (University of Pennsylvania) CIS 192 November 19, 2015 1 / 20 Outline 1 Graphical

More information

Course Outline - COMP150. Lectures and Labs

Course Outline - COMP150. Lectures and Labs Course Outline - COMP150 Lectures and Labs 1 The way of the program 1.1 The Python programming language 1.2 What is a program? 1.3 What is debugging? 1.4 Experimental debugging 1.5 Formal and natural languages

More information

CS415 Human Computer Interaction

CS415 Human Computer Interaction CS415 Human Computer Interaction Lecture 7 Implementation and Testing Tools for HCIs October 4, 2015 Sam Siewert Coming Up Quiz on Wednesday for Part II Chapters 5,6,7,8,9 Review Next Week on Monday, 10/12

More information

Week 8 Lecture: Getting Things Done

Week 8 Lecture: Getting Things Done Week 8 Lecture: Input and Output, and Moving to Getting Things Done Introduction to Programming for GIS & Remote Sensing GEO6938-4172 GEO4938-4166 4166 Where We Are To this point we ve covered: Basics

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

CSC207H: Software Design Lecture 11

CSC207H: Software Design Lecture 11 CSC207H: Software Design Lecture 11 Wael Aboelsaadat wael@cs.toronto.edu http://ccnet.utoronto.ca/20075/csc207h1y/ Office: BA 4261 Office hours: R 5-7 Acknowledgement: These slides are based on material

More information

Hands-On Lab. Authoring and Running Automated GUI Tests using Microsoft Test Manager 2012 and froglogic Squish. Lab version: 1.0.5

Hands-On Lab. Authoring and Running Automated GUI Tests using Microsoft Test Manager 2012 and froglogic Squish. Lab version: 1.0.5 Hands-On Lab Authoring and Running Automated GUI Tests using Microsoft Test Manager 2012 and froglogic Squish Lab version: 1.0.5 Last updated: 27/03/2013 Overview This hands- on lab is part two out of

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening

More information

Tcl/Tk lecture. What is the Wish Interpreter? CIS 410/510 User Interface Programming

Tcl/Tk lecture. What is the Wish Interpreter? CIS 410/510 User Interface Programming Tcl/Tk lecture CIS 410/510 User Interface Programming Tool Command Language TCL Scripting language for developing & using GUIs Allows generic programming variables, loops, procedures Embeddable into an

More information

Object-Oriented Programming

Object-Oriented Programming iuliana@cs.ubbcluj.ro Babes-Bolyai University 2018 1 / 33 Overview 1 2 3 4 5 6 2 / 33 I Qt is a cross-platform application and UI framework in C++. Using Qt, one can write GUI applications once and deploy

More information

Graphical user interface software

Graphical user interface software Graphical user interface software what the user sees and uses examples of GUI-building systems HTML, CSS, Javascript (jquery, Dojo, YUI, XUL,...) Flash, Silverlight,... X Window system, GTk Tcl/Tk, with

More information

Hello Button. An Introduction to Tcl/Tk

Hello Button. An Introduction to Tcl/Tk Hello Button An Introduction to Tcl/Tk Peter D. Hiscocks, James Gaston Syscomp Electronic Design Limited www.syscompdesign.com phiscock@ee.ryerson.ca May 16, 2006 Revised April 28, 2007 Abstract This paper

More information

Delegating Access & Managing Another Person s Mail/Calendar with Outlook. Information Technology

Delegating Access & Managing Another Person s Mail/Calendar with Outlook. Information Technology Delegating Access & Managing Another Person s Mail/Calendar with Outlook Information Technology 1. Click the File tab 2. Click Account Settings, and then click Delegate Access 3. Click Add 4. Type the

More information

Python Input, output and variables

Python Input, output and variables Today s lecture Python Input, output and variables Lecture 22 COMPSCI111/111G SS 2016! What is Python?! Displaying text on screen using print()! Variables! Numbers and basic arithmetic! Getting input from

More information

Extending ArcGIS Maps for SharePoint. Quan Tang Scott Ball

Extending ArcGIS Maps for SharePoint. Quan Tang Scott Ball Extending ArcGIS Maps for SharePoint Quan Tang Scott Ball Agenda Extending ArcGIS Maps for SharePoint ArcGIS platform overview ArcGIS + SharePoint = Better together ArcGIS Maps for SharePoint overview

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

User Interfaces. MCS 507 Lecture 11 Mathematical, Statistical and Scientific Software Jan Verschelde, 16 September Command Line Interfaces

User Interfaces. MCS 507 Lecture 11 Mathematical, Statistical and Scientific Software Jan Verschelde, 16 September Command Line Interfaces User 1 2 MCS 507 Lecture 11 Mathematical, Statistical and Scientific Software Jan Verschelde, 16 September 2011 User 1 2 command line interfaces Many programs run without dialogue with user, as $ executable

More information

Tkinter: Input and Output Bindings. Marquette University

Tkinter: Input and Output Bindings. Marquette University Tkinter: Input and Output Bindings Marquette University Tkinter Variables Tkinter contains a useful mechanism to connect widgets to variables This allows us to have variables change when widgets do and

More information

Fundamentals of Programming. Functions Redux. Event-based Programming. File and Web IO. November 4th, 2014

Fundamentals of Programming. Functions Redux. Event-based Programming. File and Web IO. November 4th, 2014 15-112 Fundamentals of Programming Functions Redux. Event-based Programming. File and Web IO. November 4th, 2014 Today Briefly show file and web IO. Revisit functions. Learn a bit more about them. Event-based

More information

Python Input, output and variables. Lecture 22 COMPSCI111/111G SS 2016

Python Input, output and variables. Lecture 22 COMPSCI111/111G SS 2016 Python Input, output and variables Lecture 22 COMPSCI111/111G SS 2016 Today s lecture u What is Python? u Displaying text on screen using print() u Variables u Numbers and basic arithmetic u Getting input

More information

CS 2316 Exam 3 Summer 2014

CS 2316 Exam 3 Summer 2014 CS 2316 Exam 3 Summer 2014 Name : Grading TA: Integrity: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate help during the taking of this exam

More information

Thinking in Tkinter. Thinking in Tkinter. by Stephen Ferg ferg.org) revised:

Thinking in Tkinter. Thinking in Tkinter. by Stephen Ferg ferg.org) revised: 1 of 53 Thinking in Tkinter by Stephen Ferg (steve@ ferg.org) revised: 2005-07-17 This file contains the source code for all of the files in the Thinking in Tkinter series. If you print this file with

More information

CSE 143. Event-driven Programming and Graphical User Interfaces (GUIs) with Swing/AWT

CSE 143. Event-driven Programming and Graphical User Interfaces (GUIs) with Swing/AWT CSE 143 Event-driven Programming and Graphical User Interfaces (GUIs) with Swing/AWT slides created by Marty Stepp based on materials by M. Ernst, S. Reges, D. Notkin, R. Mercer, Wikipedia http://www.cs.washington.edu/331/

More information

Windows Presentation Foundation (WPF)

Windows Presentation Foundation (WPF) 50151 - Version: 4 21 January 2018 Windows Presentation Foundation (WPF) Windows Presentation Foundation (WPF) 50151 - Version: 4 5 days Course Description: This five-day instructor-led course provides

More information

Introduction to Python

Introduction to Python Islamic University Of Gaza Faculty of Engineering Computer Engineering Department Lab 1 Introduction to Python Eng. Ibraheem Lubbad September 17, 2016 Introduction: Python is a high-level, object-oriented

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Python Lab 8: Loops PythonLab8 lecture slides.ppt 20 November 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the name

More information

Widgets. Widgets Widget Toolkits. User Interface Widget

Widgets. Widgets Widget Toolkits. User Interface Widget Widgets Widgets Widget Toolkits 2.3 Widgets 1 User Interface Widget Widget is a generic name for parts of an interface that have their own behavior: buttons, drop-down menus, spinners, file dialog boxes,

More information

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET VB.NET Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and

More information

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations Part I Integrated Development Environment Chapter 1: A Quick Tour Chapter 2: The Solution Explorer, Toolbox, and Properties Chapter 3: Options and Customizations Chapter 4: Workspace Control Chapter 5:

More information

Exercise 1: Assigning Responsibilities to Delegates (This was called Proxy in GroupWise)

Exercise 1: Assigning Responsibilities to Delegates (This was called Proxy in GroupWise) Delegates Exercise 1: Assigning Responsibilities to Delegates (This was called Proxy in GroupWise) 1. On the menu bar, click Tools and then click Options. 2. When the Options dialog box opens, click on

More information

Programming for Engineers in Python. Autumn

Programming for Engineers in Python. Autumn Programming for Engineers in Python Autumn 2011-12 Plan Administration: Course site Homework submission guidelines Working environment Python: Variables Editor vs. shell Homework 0 Python Cont. Conditional

More information

UNIT 10A Visualizing Data: Graphics in Python. Drawing using Python. We will be using Python's interface to Tcl/Tk, a cross-plaoorm graphics library.

UNIT 10A Visualizing Data: Graphics in Python. Drawing using Python. We will be using Python's interface to Tcl/Tk, a cross-plaoorm graphics library. UNIT 10A Visualizing Data: Graphics in Python 1 Drawing using Python We will be using Python's interface to Tcl/Tk, a cross-plaoorm graphics library. To use this, you should be logged in directly into

More information

Learning outcomes. On successful completion of this unit you will: More detail on the wiki.

Learning outcomes. On successful completion of this unit you will: More detail on the wiki. 2015 2016 Phil Smith Learning outcomes On successful completion of this unit you will: 1. Understand the concepts of web application development. (Assignment 1) 2. Be able to design web applications. (Assignment

More information

CS-Studio Display Builder

CS-Studio Display Builder CS-Studio Display Builder Tutorial presented: Spring 2017 EPICS Collaboration Meeting at KURRI, Osaka, Japan Megan Grodowitz, Kay Kasemir (kasemir@ornl.gov) Overview Display Builder replaces OPI Builder

More information

Exploring Python Basics

Exploring Python Basics CptS 111 Lab #1 Exploring Python Basics Learning Objectives: - Use the IDLE Shell window to run Python interactively - Use the IDLE Editor window to write a Python program (script) - Run Python programs

More information

Review: Event Driven Programming & GUI. CSCE155N Matlab Fall 2016

Review: Event Driven Programming & GUI. CSCE155N Matlab Fall 2016 Review: Event Driven Programming & GUI CSCE155N Matlab Fall 2016 1. Which of the following is not true about event-driven programming? A. An event source is a GUI component that could generate an event

More information

Verint Enterprise Feedback Management TM. EFM 15.1 FP3 Release Overview October 2016

Verint Enterprise Feedback Management TM. EFM 15.1 FP3 Release Overview October 2016 Verint Enterprise Feedback Management TM EFM 15.1 FP3 Release Overview October 2016 Table of Contents Welcome to 15.1 FP3... 1 Advanced Dashboard... 1 Custom Filters By Question... 2 Custom Filter Groups...

More information

Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani

Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani Share And Download IT Ebook. Find By Tags: gui - "Introduction to Python Programming and Developing GUI Applications

More information

Finding Pi: Applications of Loops, Random Numbers, Booleans CS 8: Introduction to Computer Science, Winter 2018 Lecture #6

Finding Pi: Applications of Loops, Random Numbers, Booleans CS 8: Introduction to Computer Science, Winter 2018 Lecture #6 Finding Pi: Applications of Loops, Random Numbers, Booleans CS 8: Introduction to Computer Science, Winter 2018 Lecture #6 Ziad Matni Dept. of Computer Science, UCSB Administrative New Homework (#3) is

More information

[PDF] JAVA PROGRAMMING GUI INSTRUCTIONS

[PDF] JAVA PROGRAMMING GUI INSTRUCTIONS 19 February, 2018 [PDF] JAVA PROGRAMMING GUI INSTRUCTIONS Document Filetype: PDF 122.36 KB 0 [PDF] JAVA PROGRAMMING GUI INSTRUCTIONS Build your knowledge base through in-depth facilitation and hands-on

More information

Python Scripting for Computational Science

Python Scripting for Computational Science Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures 43 Springer Table of Contents 1 Introduction... 1 1.1 Scripting versus Traditional Programming... 1 1.1.1

More information

Use Default Form Instances

Use Default Form Instances Use Default Form Instances Created: 2011-01-03 Modified:2012-07-05 Contents Introduction... 2 Add Form Classes... 3 Starting Form (Home Page)... 5 Use Multiple Forms... 6 Different Ways of Showing Forms...

More information

CS 2316 Exam 3 Fall 2011

CS 2316 Exam 3 Fall 2011 CS 2316 Exam 3 Fall 2011 Name : 1. (2 points) Grading TA: Integrity: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate help during the taking

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming User Interfaces (Graphical and Text) Eric Kutschera University of Pennsylvania March 20, 2015 Eric Kutschera (University of Pennsylvania) CIS 192 March 20, 2015 1 / 23 Final Project

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information