To hide file in the explorer pane File -> Preferences -> User Settings This opens the settings.json file Create like the following entry:
"files.exclude": { "**/*.pyc": true, }
This would prevent all .pyc files from being listed in the Explorer pane tree-veiw.