These are the steps that worked for me to setup an appropriate Python environment when you have to work with a Windows machine
What you need to install: Atom Editor
and Anaconda Navigator
Add python and conda "where python" installation path to Windows Environment Systemvariable PATH
> where python
> where conda
Copy & Paste the installation path to PATH
> SETX "%PATH%";C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Scripts;
Settings
- check boxes for "Show Indent Guide" and "Show Invisibles"
Install Atom Packages script, atom-python-virtualenv, autocomplete-python, autosave-onchange, (minimap)
Virtual Env for python environments
> apm install <atom-python-virtualenv>
> conda install < package-name >
'''less
// overwrite in Settings > "Open Config Folder" > style.less
// added for output panel
div.panel-body.padded pre {
font-size: 16px; // set to whatever font size you want
}
Open Anaconda Prompt
> activate name-of-environment
> atom
> jupyter notebook
https://blog.dominodatalab.com/lesser-known-ways-of-using-notebooks/
Tables | Are | Cool |
---|---|---|
command + shift + P | shows a search box | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
command + shift + P | shows a search box
'''bash
% lsmagic //get a list of all the available magics
!pip install some_package
!head xyz.txt
%env //to list your environment variables.
??tf.arg_max //shows source code
help(tf.arg_max)
tab | code completion
shift + tab | parameters
shift + tab (2x) | doc
shift + tab (3x)| seperate window
shift+ctrl+b | run script
shift+ctrl+p | opens search box
https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444 https://flight-manual.atom.io/using-atom/sections/atom-packages/ https://atom.io/packages/autocomplete-python https://towardsdatascience.com/environment-management-with-conda-python-2-3-b9961a8a5097
![alt text][atom-icon]