Skip to main content

2 posts about PYTHON

Installing both Python 2 and 3 in the same computer

I was wondering if I can have both Python 2 and 3 on Windows. To solve this problem I have followed some simple steps.WindowsInstall Python 2Add c:\Python2 path on the path of your enviroment variablesRename python.exe as python2.exeInstall Python 3Add c:\Python3 path on the path of your enviroment variabl......

Connecting to a PostgreSQL database with Python

I have used psycopg2 to connect the database and a little trick to switch the schema from development to production and viceversa. I have used an ini file to store informations about the database. You can store any other informations in the file and keeping them tidy using the ini sections. Let's start with my config.ini fil......

This website and/or any sub domains use cookies to understand how you to improve your experience.