import os print os.uname() # Don't use os.system('uname -a'), its just executing "uname -a" comman
import boto3 import datetime from datetime import datetime,timedelta,date
import functools import operator list = [1, 2, 3, 4, 5]
import pymongo client = pymongo.MongoClient("mongodb://localhost:27017")
import psycopg2 conn = psycopg2.connect(host="localhost", database="mydb", user="kishore", passwo
import os import boto3 session = boto3.Session(profile_name='aws_profile_name')
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
a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] #Procedure1:-------- transposed = [[row[i] for row in a ] fo
#!/usr/bin/python import boto