I created some code in main.py which included a class definition. e.g.
class MyClass:
def init(self):
…
then selected the class code, clicked Cmd K and typed “Put this code in a separate class file”.
Cursor removed the code and created an import statement, but I cannot find the class file in the left panel or anywhere else.