Added .py export of notebook code for Basic CA.