I'm learning about application development, and I rarely see beginner topics discuss security for an application as you begin development. I've found that using environment variables to keep your secrets safe is an effective way to use source control and not commit your passwords or expose other material you want
Tag: Python
Total 4 Posts
I've put together a snippet of code to demonstrate how to import sibling packages and modules in Python 3, with a working example out on GitHub as python-sibling-import-example.
To run this, add this snippet to the start of any Python file in your project not at the root:
if __name_
To install Microsoft Visual C++ 14.0 offline requires a few steps. This was part of the process for getting SQL Server 2017 with Machine Learning / Python running at work.
- Download the Build Tools executable from the network installation page.
- Set up a folder on a drive where you have
Using PyHive on AWS (Amazon Web Services) has been a real challenge, so I'm posting all the pieces I used to get it working.
Components Installed
PyHive
python3 -m pip install --user pyhive
SASL
sudo yum install cyrus-sasl-devel
- Courtesy of Stack Overflow
python3 -m pip install --user sasl