Difference between revisions of "Python"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Web Apps)
(Web Apps)
Line 58: Line 58:
  
 
=Web Apps=
 
=Web Apps=
Web apps are cross platform apps which are used via a browser. This allows you to create a single app to cover platforms such has Windows, Linux, iOS, Android, and so on. These essentially have a server program, which when you start it will allow you to access your app via '''<nowiki>http://localhost:8000</nowiki>''' or '''<nowiki>http://127.0.0.1:8000</nowiki>'''. The exact port number will vary, but the server will output the correct link to use.
+
Web apps are cross platform apps which are used via a browser. This allows you to create a single app to cover platforms such has Windows, Linux, iOS, Android, and so on. These essentially have a server program, which when you start it will allow you to access your app via '''<nowiki>http://localhost:8000</nowiki>''' or '''<nowiki>http://127.0.0.1:8000</nowiki>'''. The exact port number may vary, but the server will output the correct link to use.
  
 
==Django==
 
==Django==

Revision as of 11:14, 17 September 2019

Skills

HelloWorld - Python

User Input - Python

Variables - Python

Conversions - Python

Maths Functions - Python

Selection - Python

Iteration - Python

String Manipulation - Python

Subroutines - Python

Global & Parameter Passing - Python

File Handling - Python

Exception Handling - Python

GUI With Tkinter (WIP) - LizQ

What Is Tkinter?

Creating a Window - Tkinter

Widgets - Tkinter

GUI - Other options

Creating A DIY Interface

PGU Interface

wxPython Interface

pyglet Interface

SQLite Databases

Create sqlite connection

Create table with sqlite

Insert Update Delete sqlite queries

Select sqlite queries

Using Visual Studio

Create a python project in Visual Studio

Creating a virtual environment in Visual Studio

Web Apps

Web apps are cross platform apps which are used via a browser. This allows you to create a single app to cover platforms such has Windows, Linux, iOS, Android, and so on. These essentially have a server program, which when you start it will allow you to access your app via http://localhost:8000 or http://127.0.0.1:8000. The exact port number may vary, but the server will output the correct link to use.

Django

Creating a Django Web App

Django management program

Creating the Home page in Django

Set up Login System in Django

Create a sign up page in Django

Create account edit page in Django

Creating a Model in Django

Display data from a model in django

Add data into a model in Django

Flask

Creating a Flask Web App

Parts of a Flask Web App

Connecting MySQL to Flask Web App