![]()
This is where we’ll be storing our shortcut commands, which are more formally known as ‘ aliases’. Next, you’ll want to create a PowerShell profile. A guide to set this up with Anaconda Prompt can be found here. RUN PYTHON FILE ANACONDA PROMPT WINDOWSThis step is optional, but I prefer using Windows Terminal over stand-alone PowerShell due to the functionality that it offers (Windows Terminal is also much better looking). RUN PYTHON FILE ANACONDA PROMPT INSTALLTo set this up, you’ll first need to install Windows Terminal. Launching Jupyter Notebook with Windows Terminal and PowerShell Aliases For example, I can type cdp3 instead of something like cd C:\Users\***\OneDrive\Desktop\General Assembly\Project3. You can also navigate to directories with this. With a custom alias, you can launch Jupyter Notebook by simply typing jn instead of jupyter notebook. PowerShell allows you to create custom aliases, which is what we’ll do here. For example, instead of typing out Set-Location in PowerShell, you can type cd or chdir to change directories quickly. An alias is basically a console command shortcut.PowerShell is a command-line tool like Command Prompt, except that it gives us the ability to do in-depth system management among several other handy abilities.Some key features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and the ability to customize text, colors, backgrounds, and shortcuts. Windows Terminal is basically a modern terminal application that allows us to use command-line tools and shells like Command Prompt. RUN PYTHON FILE ANACONDA PROMPT HOW TOIn this section, I’ll explain how to use Windows Terminal to access PowerShell and set up custom aliases. This method is slightly more complicated but is much faster and much more versatile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |