Documentation > Python
Introduction
Would you like to automate your train layout but programming intimidates you?
This course has been created to get you kickstarted with Python, especially if you don’t have any programming experience. It gets you started by setting up simple automation scenarios right away without going into all the details and nuances programming courses usually do. The goal is to teach you the bare basics and get you going so you can learn the rest on the fly while writing programs and experimenting with your layout.
This is not a traditional programming course that starts by explaining concepts like data types, operators, type conversion, etc. Just think about how you learned your native language. You learned it by listening to your parents, grandparents, siblings, etc. It’s only after you had mastered the basics that you were introduced to grammar. This course uses the same approach to teach you Python: it goes straight into writing Python code. We’ll explain what you’re doing in a particular program without referring to the broader framework. It’s a fun and efficient way to get into programming. You’ll be able to write simple programs very quickly and seem them materialize on your train layout.
Keep in mind that this course is not a replacement for the traditional (Python) programming courses. It’s intended to get you started in nControl. If you want an in-depth knowledge of (Python) programming you’ll have to follow a standard programming course. However, these courses should be easier to understand due what you learned here.
Good luck and have fun!
Documentation > Python > Lesson 1