.. _windows_bash: ***************************************** Using Windows Bash for Python Development ***************************************** **CAUTION** -- none of the instructors in the program use this -- so this is experimental -- proceed at your own risk! With Windows 10, Microsoft has introduced the "Windows Subsystem for Linux" (WSL). Technically, it's not Linux at all (it is not running the Linux kernel), but it does provide an actual bash shell, and access to much (all) of the packages available in Ubuntu Linux, providing a very Linux-like environment. If you run Windows 10, but want to be able to work in an environment that is very much like Linux (and the macOS command line) Windows-bash may be a good options for you. Using WSL to Build a Python Development Environment on Windows ============================================================== Here is a recent post about how to do Python with the "WSL": https://plainenglish.io/blog/setting-up-python-on-windows-subsystem-for-linux-wsl-26510f1b2d80 Let us know if it works for you! Official Docs ============= The following are some addition links, if the above doesn't get it done: Installing the System --------------------- Here are Microsoft's docs: https://msdn.microsoft.com/commandline/wsl/about And their install guide: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide Installing / Running Python --------------------------- To use Python from within the bash shell, you probably want a "linux" Python, rather than the native Windows installer. Unfortunately, the Ubuntu version that Windows Bash is hooked up to does not, at the time of this writing, natively have the latest Python version. Using the Environment ===================== The WSL provides a full Linux experience -- but, most importantly, it does not support any GUI environment. If you are comfortable with a command line editor like vim or Emacs, then you can work entirely in the bash shell. However, you may very well want to work with a nice modern GUI editor like Sublime Text or Notepad++. This is quite possible, as the systems share a file system. From the FAQ: One of the benefits of WSL is being able to use the same file with both Windows and Linux apps or tools. So you can manipulate and edit your files, as well as use the browser, etc, in regular Windows, and still run Python and git, etc in the bash shell.