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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:python:home [2020/01/14 19:44]
gerardorourke [Network Config Templating using Ansible]
code:python:home [2020/06/02 07:49] (current)
gerardorourke [How to install Python and Confplate]
Line 25: Line 25:
 C:\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\;C:\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\Scripts\ C:\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\;C:\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\Scripts\
 </code> </code>
 +===== How to install Python and Confplate =====
 +1a) Download & Install Python
 +Make sure Python.exe is runable from command line (see screen shot on how to add Python tp Path.
 +1b) Add Python to the Path
 +C:\Users\<your username>\AppData\Local\Programs\Python\Python38
 +2) Download & Install PIP (The Python Package Installer) - More Detailed here: https://www.liquidweb.com/kb/install-pip-windows/
 +a) Download the PIP Python file "get-pip.py" from https://bootstrap.pypa.io/get-pip.py
 +b) Install PIP by running the command "python get-pip.py"
 +c) Add your Python Scripts to your Path e.g. C:\Users\admin.LAB2\AppData\Local\Programs\Python\Python38-32\Scripts
 +Note - when adding to Path - you need to reboot or open a New Command Window (cmd.exe) for the change to take effect.
 +d) Install Nija - "pip install Jinja2"
 +e) Download the Config Template Python Script "ConfPlate-master.zip" from https://github.com/ktbyers/ConfPlate/blob/master/confplate.py
 +Note: if you need PIP to download files via a Web Proxy:
 +===== Logging =====
 +  *https://martinheinz.dev/blog/24