Navigation
index
next
|
0HV120 Reader 2022 documentation
»
0HV120 Reader (05-09-2022)
0HV120 Reader (05-09-2022)
¶
Programming for Psychology and Technology
¶
1. Introduction
1.1. Welcome
1.2. Background material
1.3. Conventions
2. Programming Basics
2.1. User output
2.2. Comments
2.3. Variables
2.4. Expressions and Operators
2.5. Identifiers
2.6. User input
2.7. Errors
3. Data Types
3.1. Strings
3.2. Numbers
3.3. Booleans
3.4. Lists
3.5. Dictionaries
3.6. Type Conversions
4. Decisions
4.1. If
4.2. If-else
4.3. If-elif-else
4.4. When to use if, if-else or if-elif-else
4.5. Nesting
5. Repetitions
5.1. While (conditional repetitions)
5.2. For (counted repetitions)
6. Functions
6.1. Introduction
6.2. Defining and Calling
6.3. Testing and Main()
6.4. The Scope of Variables
6.5. Return values
7. Objects and Classes
7.1. Introduction
7.2. Defining and using a class
7.3. The constructor and __init__
7.4. The ‘self’ Parameter
7.5. Private Attributes
7.6. Storing Classes in Modules
8. GUI Programming
8.1. Introduction
8.2. The Event Loop
8.3. The “Looks”
8.4. Binding
8.5. Event Handlers
8.6. Delayed and repeated actions
8.7. Self and Scope in GUIs
9. Several Practical Topics
9.1. Modules
9.2. Random Numbers
9.3. File Reading and Writing
9.4. Timing
10. Glossary (order: reader text)
11. Glossary (order: alphabetical)
© Copyright 2022, dr. P. Lambooij
Table of Contents
0HV120 Reader (05-09-2022)
Programming for Psychology and Technology
Next topic
1.
Introduction
Quick search
Navigation
index
next
|
0HV120 Reader 2022 documentation
»
0HV120 Reader (05-09-2022)