BTEC L3_Unit 4_ Python Gui_lesson1

Creating a "Gui" with Python
For this lesson you need to have 
1. Installed Python software
2. Installed Visual studio
3. Check with tutor to verify this 
1 / 10
volgende
Slide 1: Tekstslide
ProgrammingFurther Education (Key Stage 5)

In deze les zitten 10 slides, met interactieve quiz en tekstslides.

Onderdelen in deze les

Creating a "Gui" with Python
For this lesson you need to have 
1. Installed Python software
2. Installed Visual studio
3. Check with tutor to verify this 

Slide 1 - Tekstslide

Deze slide heeft geen instructies

Launch visual studio
This can be  done from the search in the task bar or on the task bar itself.

Slide 2 - Tekstslide

At this stage check with your teacher to ensure that you have done the following
Install - Pyhton  
Install Visual studio

This is easy - search google  download and then install.  When installing Visual studio they may ask you for your account details which will be your "college email"
address.

Slide 3 - Tekstslide

Deze slide heeft geen instructies

Create a New project called inspire
Create a new Project called inspire.

Slide 4 - Tekstslide

Deze slide heeft geen instructies

Select Pyhton App
Select - Python Application
This informs visual studio that you would be using Python.
Select Python   App

Slide 5 - Tekstslide

Deze slide heeft geen instructies

Give the project a name 
Enter the name of the project "Inspire"
The name "inspire"

Slide 6 - Tekstslide

Deze slide heeft geen instructies

Enter the following into your Visual studio work space and run it
from tkinter import *





window = Tk()
window.title("Welcome to LikeGeeks app")
window.mainloop()


Slide 7 - Tekstslide

From Tkinter import *
# This imports a Module into your program that can interact with your windows program.
windows= tk()
#This assigns a variable called "Windows " to us the tk(_) function- Creates a root.

window.title("Welcome to LikeGeeks app")
# this create another a tittle in the window 
The result after running the Program
See the result after you run it.
See the title bar 

Slide 8 - Tekstslide

Deze slide heeft geen instructies

Enter the 3 things you
have learnt about the
Tkinter

Slide 9 - Woordweb

Deze slide heeft geen instructies

The End
Thank you for learning with us.

Slide 10 - Tekstslide

Deze slide heeft geen instructies