Write a python program. You have asked to create a text file Employee_Details.txt. Write following data into
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a python program.
You have asked to create a text file ‘Employee_Details.txt’. Write following data into it.
Id name designation salary address email
101 Ahmed manger 50000 Karachi ahmed_ali@gmail.com
103 hamad cashier 40000 Karachi hamad_khan@gmail.com
104 junaid sales man 30000 Karachi junaid_ali@gmail.com
- Write a function Emp_Search () to search particular employee from file based on id.
- 3. Write a function to enter email of employee and verify if it’s valid using regular expression.
- 4. Write python code to count occurrence of word in the file. say ( Karachi repeated 3 times)
Posted Date: