Everything you did sounds right, so it’s indeed strange that it’s not working.
Not much more comes to my mind, so sorry if some of the following questions seem dumb:
- Is
code.py
(renamed example) in root directory of yourCIRCUITPYTHON
drive? - Are you able to access REPL (interactive python console)?
- Have you tried reloading from REPL (ctrl+c, ctrl+d)?
- Have you tried different examples?