lejar
Take for example:
In [2]: numpy.array([1, 2, 3])[[0, 2, 1]]
Out[2]: array([1, 3, 2])
You index using a list and it gives you a view of the array with the new order (the underlying array is not changed and there is no copy being done).Here's how my thought process went on this one:
# I open the repo on github and look at the readme
1. Okay it's doing something automatic
2. It uses python
3. Okay there's this playlist thing which has a bunch of commands in it. Looks like of like an autohotkey script.
# I look at the file list
4. Okay I know lark. Looks like the author wrote a domain specific language parser for their input files. They probably get those commands out as a nested list from the parser.
# I look in test.txt
5. Okay that doesn't tell me much new
# I look in main.py
6. Oh there aren't any comments in here...
7. Alright the main function parses the commands from the input file and runs "do" on them.
8. Okay this is just like autohotkey
After that, you can only fly a very limited subset of aircraft during the day under a certain altitude (and possibly certain weather conditions?). If you want to fly at night you need to get a certification for instrument flying.