Fix Gallery and Console
Merge pull request #47 from juancarlospaco/master

Lint Fixes, PEP8 Fixes, Python3 Compatibility, Imports Fixed
Merge pull request #36 from juancarlospaco/feature/gallery-console

[gallery] Fix Gallery and Console
Use with open context operator instead of just open