Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import os import stat mode = os.stat('.').st_mode if stat.S_ISDIR(mode): print('Current path is a directory') else: print('Current path is not a directory')
Current path is a directory