- All
- 3D Modelling
- AI
- Audio
- Case Studies
- Computer Science
- CT
- Databases
- DDDO
- Digital Capability
- Digital Media
- Digital Technologies
- Electronics and Mechatronics
- Ethics
- Flask
- Game Development
- Gaming
- Generative AI
- GitHub
- Godot
- HCI
- Microsoft
- NCEA
- News
- NZC
- NZCE
- OCR
- Opinion
- Phase 4
- Phase 5
- Phases
- Programming
- Project Management Tools and Techniques
- Python
- Technology
- Testing and Trialing
- Uncategorized
- UX
- Version Control
- Web Design
- Windows
-
Python: 01 Comments
Read more: Python: 01 CommentsComments are one of the best ways of ensuring that you write quality code that can be easily understood. Comments should Explain the purpose of a section of code. Most languages have two types of Comment a single line Comment and a multiple line Comment. In Python we use the # symbol to start a single line…
-
Python: 2 Displaying Output – Printing messages
Read more: Python: 2 Displaying Output – Printing messagesPrinting and displaying output is an essential Component of Programming. In Python we use the print() Function / command. You can Identify a Function by the () that it has (they are also used for creating classes and making our own functions but don’t worry about this yet). Inside the ( ) you put the…
-
Python: 3 Strings are Text
Read more: Python: 3 Strings are TextStrings are a Data Type that is used to store text. Any Data the has characters (A-Z, a-z and other symbols like ! @ ‘ , . &) is a String, if it also has characters and numbers it will be stored as a String. If it just has numbers it will be stored as…
-
Python: 4 Variables, Data Types and Assignment
Read more: Python: 4 Variables, Data Types and AssignmentVariables are used to store Data. They consist of an identifier or name that is used to reference the contents of the Variable throughout the program. They are used to store Data (content). A Variable must be created and have Data assigned to it before it can be used in a program. Python is known…
-
Python: 5 File and Project Management
Read more: Python: 5 File and Project ManagementIt is really important to have excellent file management at all times but it is especially important when writing programs. The most important thing to do is to Ensure that the files are named correctly and stored in logical locations. Make sure that your files have .py on the end to indicate that they are…
-
Python: 6 Numbers and Operators ( + – / * )
Read more: Python: 6 Numbers and Operators ( + – / * )Numbers work as you would expect. Note that 2 and 2.0 are considered different types. 2 is an Integer and 2.0 of a double. You can also specify a floating point number by including an f after the number 2.0f When carrying out calculations you should always try to have numbers of the same type.…
-
Python: 7 Documentation and Help
Read more: Python: 7 Documentation and HelpBelow are some links to different Online documentation, guides and tutorials. When finding Resources make sure that you look up Python 3 tutorials.
-
Python: 7 Your first program – “Hello World”
Read more: Python: 7 Your first program – “Hello World”In your editor of choice create a new file. write the line The print Function takes one or more arguments This is a premade Function that prints out information to the screen Strings are pieces of text. They can be identified with a starting ” and a closing “. You can also use a starting…
-
Python: 8 My program doesn’t work (Debugging)
Read more: Python: 8 My program doesn’t work (Debugging)When writing programs you will often encounter errors. Part of the Programming process is Testing your code and ensuring that it works as intended. The more you code the easier it will be to detect these types of errors. Syntax errors are the most common form of error. These are when the compiler (or in…
-
Python: 9 Conditional and Logical operators
Read more: Python: 9 Conditional and Logical operatorsConditional and Logical operators are used to make statements that can be evaluated (worked out) to be True or False. True and False are keywords in Python to store true and false values. These are used to allow branching and different paths for our programs to take. These are often used in if statements and loops such as…

