background preloader

Python

Facebook Twitter

Virtual Environments — The Hitchhiker's Guide to Python. Virtualenv is a tool to create isolated Python environments. virtualenv creates a folder which contains all the necessary executables to use the packages that a Python project would need.

Virtual Environments — The Hitchhiker's Guide to Python

Basic Usage Create a virtual environment for a project: $ cd my_project_folder $ virtualenv my_project. Releases for Mac OS X. Installing cx_Oracle Driver on El Capitan. Download Oracle instantclient Navigate to the ‘Oracle Instant Client Downloads’ page.

Installing cx_Oracle Driver on El Capitan

Download instantclient-basic-macos.x64-12.1.0.2.0.zip and instantclient-sdk-macos.x64-12.1.0.2.0.zip You will need an Oracle account to proceed with the download. Instant Client downloads for Mac OS X (Intel x86) Installation Installing Instant Client 12.1 on macOS Instant Client 12.1.0.2 supports macOS El Capitan, Yosemite and Mavericks.

Instant Client downloads for Mac OS X (Intel x86)

Ipython/README.rst at master · ipython/ipython. Installing Oracle Instant Client 12.1 and cx_Oracle on macOS Sierra. First off, download the Instant Client, either Basic or Basic Lite.

Installing Oracle Instant Client 12.1 and cx_Oracle on macOS Sierra

I usually opt for Basic Lite because it’s all I need, but if you work in a language other than English you might want Basic. Also grab the SDK package a few rows down. I also recommend getting sqlplus, because it’s nice to have a CLI sometimes and your DBA will be impressed. Now fire up Terminal and run a few things. Ruby - how can I uninstall using homebrew? - Super User. Remove all Python packages installed with PIP. Connecting to Oracle with Toad - Mac Edition (updated for OS X 10.9 Mavericks!) - Toad - Mac Edition Blog - Toad – Mac Edition. Note: This article covers Mac OS X 10.8 (Mountain Lion) and 10.9 (Mavericks).

Connecting to Oracle with Toad - Mac Edition (updated for OS X 10.9 Mavericks!) - Toad - Mac Edition Blog - Toad – Mac Edition

For instructions related to Mac OS X 10.7 (Lion), please see here. There are two ways to connect to Oracle on a Mac using Toad - Mac Edition: manually and via Net Service names. Installing CX Oracle for Python & Mac OS X. Instructions exist around the web, but they seem to be piecemeal and incomplete. Installing cx_Oracle for Python/ Mac OSX Portions taken from (in case that link ever dies.)

Installing CX Oracle for Python & Mac OS X. Instructions exist around the web, but they seem to be piecemeal and incomplete.

Assume you've got homebrew installed. Download the following files from Oracle. Error "ORA-21561: OID generation failed" Connecting to Oracle with a Mac. How to edit your Mac's Hosts file, and why you would want to. If you're setting up a new web server or another device that's going to be connected to the Internet and you want to put it through its paces before it's live, or if you're having trouble with spyware and adware networks, there's an invisible file on your Mac that can help.

How to edit your Mac's Hosts file, and why you would want to

It's called the Hosts file, and this is how to use it. The Domain Name System When you type in the domain name of a web site you want to visit there's a lot happening behind the scenes. Get Your Mac Ready for Python Programming – PyLadies. A PDX PyLady March 06, 2013 | Tag: » absolute beginner, getting started, Mac OS X As an absolute beginner to programming, you can very quickly learn to do lots of cool things using just your Python interpreter and simple Python scripts.

Get Your Mac Ready for Python Programming – PyLadies

However, you're going to want a few more tools eventually to help you expand to more complex projects.