BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Learning paths › Automation › Addresses, functions, modules and classes

Addresses, functions, modules and classes

Moving from scripts to structure: one connection function called for any device, arguments passed by position or keyword, your own module imported without running itself, and a device modelled as a class whose connect and parsing methods reuse the same collector — then the reference behaviour underneath, rebinding told apart from mutation and the shared-reference trap met twice, and finally concurrency: a thread started per device, work submitted to a pool, and an existing command function threaded as it stands. Explanation and checks; eight written exercises.

Lessons

More in Automation