Category Archives: Python

Ubuntu Python Connection to SQL Server

Python users on Ubuntu systems may have trouble connecting to Microsoft SQL Server on recent releases including 12.04 LTS. The popular pymssql python library for SQL Server connections contains a nasty bug in the distributed package that runs queries with … Continue reading

Posted in Database, Linux, Python | Tagged | Leave a comment

Python String Formatting New and Old Style

Python programmers are presented with a couple different options to format output strings. There is an older Python 2.x style, and a newer Python 3.x style. For backwards compatibility, Python 3.x supports the older formatting style. Official documentation is available … Continue reading

Posted in Python | Tagged , | 1 Comment

Python Days and Weeks between Two Dates

During the normal course of business or life, you will often need to know the number of days or weeks between two dates. This is a simple thing to do within the same month, but for dates in different months … Continue reading

Posted in Python | Leave a comment