User Tools

Site Tools


supp:python:start

Differences

This shows you the differences between two versions of the page.


Previous revision
supp:python:start [2022/01/03 07:35] (current) – [Create time series] rolf
Line 1: Line 1:
 +====== Python ======
  
 +~~NOTOC~~
 +
 +===== Anaconda Prompt in Windows Explorer ======
 +
 +How to add Anaconda Powershell Prompt to the Windows Explorer Context Menu (right click ...):
 +
 +Add new keys in the registry. Replace `MYNAME` in the following path definition with your own Windows user name (so that C:\Users\MYNAME points to your home driectory):
 +
 +<code>
 +regedit
 +
 +HKEY_CLASSES_ROOT\Directory\Background\shell\AnacondaPrompt -> "Anaconda Prompt here"
 +
 +HKEY_CLASSES_ROOT\Directory\Background\shell\AnacondaPrompt\command -> C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\Users\MYNAME\Anaconda3\shell\condabin\conda-hook.ps1' ; conda activate 'C:\Users\MYNAME\Anaconda3' "
 +</code>
 +
 +===== Create time series =====
 +
 +<file python cs_create_ts.py>
 +
 +import pandas as pd
 +
 +
 +</file>