Difference between revisions of "Advanced Python Topics and Links"

From CDOT Wiki
Jump to: navigation, search
(Python Virtual Environments)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* read [https://www.python.org/dev/peps/pep-0405/ PEP 405] on why venv is better.
 
* read [https://www.python.org/dev/peps/pep-0405/ PEP 405] on why venv is better.
  
 +
= Python Debugger=
 +
* [https://fedoramagazine.org/getting-started-python-debugger/ Getting Started Python Debugger]
 
= Python Packaging =
 
= Python Packaging =
 
* http://python-packaging-user-guide.readthedocs.io/
 
* http://python-packaging-user-guide.readthedocs.io/
 +
= SysAdmin using Python =
 +
* [https://serversforhackers.com/c/an-ansible2-tutorial Ansible Tutorial]
 +
= Install latest Python 3 from source =
 +
== On CentOS 7 system ==
 +
* yum -y groupinstall development
 +
* yum -y install zlib-devel
 +
* wget https://www.python.org/ftp/python/x.x.x/Python-3.x.x.tar.xz (check out the version # for the latest version)
 +
* tar xJf Python-3.x.x.tar.xz
 +
* ./configure
 +
* make
 +
* make install
 +
* python3 -v

Latest revision as of 15:44, 19 October 2018

Python Virtual Environments

  • virtualenv (for version 2 and 3)
  • venv (version 3 only)
  • read PEP 405 on why venv is better.

Python Debugger

Python Packaging

SysAdmin using Python

Install latest Python 3 from source

On CentOS 7 system