import os print os.uname() # Don't use os.system('uname -a'), its just executing "uname -a" comman
import pyodbc conn = pyodbc.connect('Driver={SQL Server};'
import os import boto3 session = boto3.Session(profile_name='aws_profile_name')
import pymongo client = pymongo.MongoClient("mongodb://localhost:27017")
import psycopg2 conn = psycopg2.connect(host="localhost", database="mydb", user="kishore", passwo
import functools import operator list = [1, 2, 3, 4, 5]
import json my_str = '{"1": 4, "4": 2, "5":3 }'
li = [4,65,65,23,86,343,75,3,7,5,87,34,56,64,90] final_list = list(filter(lambda x: (x%2 == 0) , l
import re inp_st = "This 1 line has 100 number, 34 and 90s two"
#!/usr/bin/python import boto