Sublime
- install package control
- read over build systems doc
Useful for Sublime
Virtualenv
- install virtualenv
- install virtualenvwrapper
- (On Windows) install virtualenvwrapper-win
Optional
- install pyvenv
Speed Bumps
- Setting up and using virtualenv using
virtualenvwrapper-win
in conjunction with Sublime can be a bit confusing - Not using
virtualenvwrapper-win
AKAvirtualenvwrapper
command and windows CMD prompt can lead to undesired results setting up virtualenv for use inside Sublime.- Option: Use git bash for running virtualenv commands
- I found that using Windows CMD prompt and
virtualenvwrapper
command work best
- Project setup that works best for me
- create project directory
- create requirements.txt in project directory and include
psycopg2==2.7.x.x
(.x.x
= current version) in its contents mkvirtualenv -a S:\Udemy\python-postgresql\section10-python-web-apis\project -r S:\Udemy\python-postgresql\section10-python-web-apis\project\requirements.txt udemy-postgresql-section10
- After setting up sublime-text-virtualenv, open the package manager * ctrl+shift+,, p, search "Virtualenv: Activate" then select the option
udemy-postgresql-section10
- The App: Udemy-Learning-Project
- Oauth Flow
- Methods
- search tweets API method
- Perform positive/negative sentiment analysis with external NLP web API
- Cookies are small bits of information stored in the browser and are a way for memory to persist across pages of a domain
- Sessions are server-side storage and are accessed by the client via a session id
- More on sessions and cookies
- bootstrap home page
- Copy/paste bootstrap CDN into your html documents
- Browse bootstrap components for a better idea of how to incorporate
- Jinja templates