Python

how to test on variable against multiple values in python
How to test one variable against multiple values in Python
Akbar S. Ahmed | Feb 24, 2015

Hands-on coding

Sometimes you need to check a variable against multiple values. For example, if the value of x is 1, 3, or 5 then do something. The inverse example is if the variables x, y, or z equal 5 then do something.

Solving both of these issues is simple in Python and does not require a series of if statements.

Read more



install python on mac os x for development
Install Python on Mac OS X for development
Akbar S. Ahmed | Feb 11, 2015

Step-by-step instructions

In this post we will install a new version of Python that you can use for development APIs, websites, web apps, and other applications with Python.

You may ask why we need to install Python since Mac OS X comes with a preinstalled version of Python. Simply stated, the preinstalled version of Python is not ideal for development.

Read more



install virtualenv and virtualenvwrapper on ubuntu
Install virtualenv and virtualenvwrapper on Ubuntu
Akbar S. Ahmed | Feb 10, 2015

Step-by-step instructions

virtualenv is an absolute must if you develop with Python. In simple terms, virtualenv creates a folder that stores a private copy of python, pip, and other Python packages. You can then enable this private folder while working a project. By using the virtual environment, you can use different versions of Python and Python packages on a per project basis.

In this post we will step through setting up virtualenv and virtualenvwrapper on Ubuntu Linux.

Read more



install virtualenv and virtualenvwrapper on mac os x
Install virtualenv and virtualenvwrapper on Mac OS X
Akbar S. Ahmed | Feb 10, 2015

Step-by-step instructions

virtualenv is an absolute must if you develop with Python. In simple terms, virtualenv creates a folder that stores a private copy of python, pip, and other Python packages. You can then enable this private folder while working a project. By using the virtual environment, you can use different versions of Python and Python packages on a per project basis.

In this post we will step through setting up virtualenv and virtualenvwrapper on Mac OS X.

Read more



configure pycharm to use virtualenv
Configure PyCharm to use virtualenv
Akbar S. Ahmed | Feb 10, 2015

Step-by-step instructions

In this post you’ll learn how to configure PyCharm to use an existing virtual environment.

I enjoy using PyCharm for editing source. However, I prefer to use the command line for everything else. virtualenv is one such tool that I prefer to use on the command line. However, we need to configure PyCharm to use a virtual environment after it has been created on the command line.

Read more



install pycharm on ubuntu mac os x
Install PyCharm on Mac OS X
Akbar S. Ahmed | Feb 10, 2015

Step-by-step instructions

PyCharm is an excellent editor for Python that has a community edition that you can use for free, or a professional edition that you can purchase. In this post we will install PyCharm on Mac OS X.

Read more



install pycharm on ubuntu linux
Install PyCharm on Ubuntu Linux
Akbar S. Ahmed | Feb 10, 2015

Step-by-step instructions

PyCharm is an excellent editor for Python that has a community edition that you can use for free, or a professional edition that you can purchase. In this post we will install PyCharm on Ubuntu Linux.

Read more



Contact Information

ABOUT EXPONENTIAL.IO

We specialize in helping professional developers, like you, expand your skill set. Our courses are focused on enabling you to learn everything necessary to use a new technology in a live, production application.

LOCATION

All courses are made with love in
Palo Alto, CA.

Subscribe to our newsletter