Oracle Magazine, July/August 2019
ORACLE MAGAZINE JULY AUGUST 2019 74 Database Developer OPEN SOURCE You have successfully installed and configured the command line interface for Oracle Cloud Infrastructure You have installed Python and have a basic understanding of Python programming Python 27 and 35 are supported I will be using Python 3 for the article examples and I will be running them on a Linux system You may need to alter some system commands if youre using a different operating system INSTALLATION To start the SDK installation first create and change into a directory for your project mkdir ociPythonSdkExample cd ociPythonSdkExample Python setup To isolate your Python environments its a good idea to use the virtualenv Python virtual environment Follow the steps for your operating system if youre new to virtualenv On my Linux system I use the following commands to install virtualenv virtualenv and create a new environment env python3 m pip install user virtualenv python3 m venv env This will create a new directory called env Now I activate the new environment and check that it is active
You must have JavaScript enabled to view digital editions.