Skip to content

Instantly share code, notes, and snippets.

@donatasm
Created April 15, 2019 04:49
Show Gist options
  • Select an option

  • Save donatasm/370c729c2c60e742b6fbd2521131a01e to your computer and use it in GitHub Desktop.

Select an option

Save donatasm/370c729c2c60e742b6fbd2521131a01e to your computer and use it in GitHub Desktop.
Python Workflow

Create and activate virtual environment

virtualenv ./env -p /usr/local/bin/python3
source ./env/bin/activate

Install package

pip3 install tensorflow

Python bash shebang

#!/usr/bin/env python3

if __name__ == '__main__':
    print('Hello, world!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment