Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Regulus bloodmoon/Programming for Capsuleers: Difference between revisions

From EVE University Wiki
Introduction: stub/outline
Line 29: Line 29:


===Programming basics===
===Programming basics===
'''Inherently multi-session.'''
To be written. Outline:
* Basic input/output, variables, and basic arithmetic.
* Types in Python: int, float, long, string. What to do when types matter (typecasting between primitives).
* Boolean expressions; the boolean type. Control flow: if/elif/else, while loops.
* Sequence types: list, tuple. Control flow: for loops (pythonic sequence iteration).
* Mapping types: dict. Iterating over dictionaries properly.
* Function definitions, the def statement, using function arguments, calling custom functions, specifying values of named arguments.
* Class definitions, the object-oriented model, the meaning of 'self'.
* File input and output. Parsing command-line arguments. String formatting.
* Regular expressions, basic text processing.
* Additional topics TBD.
* Putting it all together: project TBD.


===Programming methods===
===Programming methods===