Advanced Python Sample Programs
Advanced Python Sample Programs
1. Write a program in python using NumPy to create a 5x5 array with random
values and find the minimum and maximum values …… .
2. Write a packet sniffer program to display source address, destination
address and protocol used ………. .
1
1. Write a program in python using NumPy
3. to generate 10 random numbers from the normal distribution
4. to create a 3x3x3 array with random values ………. .
1. Write a program to change the MAC address of the machine ……………. .
1. Write a NumPy program to check two random arrays are equal or not.
.………. .
2. Create two tables – student and department using sqlite and write a program
to create csv file of student table using sqlite backup file.
………. .
1. Write a Python program using NumPy to find the most frequent value in an
array………. .
2
1. Write a Python program using NumPy to get the 3rd largest values of an
array.………. .
1. Write a program to take the screenshot and print the characteristics of image
– width and height and rotate the image by 90 degree. ……. .
2. Write down the program for Hacking of Caesar Cipher.………. .
3
1. Write a program to extract metadata of given pdf fil………. .
2. Write down the program for Hacking of Caesar Cipher………. .
1. Write a program to extract the information like “from , date and subject”
from email file ………. .
2. Write a program to take the screenshot , crop the image, change the size and
display and save all newly created images. ………. .
. ………. .
4
2. Write a program to extract metadata from mp4 file ………. .
1. Write a program in python using NumPy to create a 5x5 array with random
values and find the minimum and maximum values
………. .
1. Write a Python program for using NumPy to create a 3x3x3 array with
random values………. .
2. Write a program to read and display the metadata of provided mp3 file.
………. .
1. Write a Python program for using NumPy to create a 3x3x3 array with
random values………. .
1. Write a Python program using NumPy to generate five random numbers from
the normal distribution.………. .
5
2. Write a packet sniffer program to display source address, destination
address and protocol used ………. .
1. Write a Python program to create a profile and print a particular fake data.
………. .
………. .
1. Write a program to extract the information like “from , date and subject”
from email file………. .
6
………. .
1. Write a Python program to create a profile and print a particular fake data
………. .
………. .
1. Write a program to take the screenshot and print the characteristics of image
– width and height and rotate the image by 90 degree. ……. .
2. Write a program to connect to Google using socket .………. .
7
8