Tag: Python

Python code to get current date

The following code prints the current date: First we import datetime library. now() function gets the current date and time from the server. now.year, now.month, and now.day prints current year,…

Python3 for Programmers

This publication is for programmers who want to learn python. It is assumed that you know what variable, arrays, data structures, functions, etc. already are. You only need python’s syntax…

Python3 with MySQL database

If you don’t already have MySQL installed, install it with the following commands (mac only): Run the following commands to start or stop mysql. Start MySQL before proceeding: To see…

Using Pandas to read file data

Python library for data manipulation and analysis. It can work with many different data types including: symbol separated data (tsv, csv, etc.) ordered and unordered time series data matrix and…