MAIN COURSE Google IT Automation with Python Professional Certificate Having 6 crouse 1st course was Python Crash which I have DONE got certificate . My friend say 'bati bana kar gand meen dalo' Course No 2 Using Python to Interact with the Operating System ------------------------------ course 2 week 5 added By inputting emp name the program will return its email address By inputing Blossom Gill program will return his email aress blossom@abc.edu Our job is to 1. add a test means test cases like basic_test Edge_test see the bugs, 2. make the necessary corrections in email.py Python file to correct the bugs 3. verify that all the tests pass to make sure the script works! 4. This is The End Lab . Best of luck! and Congrautulations Once again, in other words, same matter/problem as mentioned above What you'll do In this lab, you will: Write a simple test (basic test )to check for basic functionality Write a test...
4.1 Applied Python (Advnaced Course) https://brilliant.org/courses/python-text-analysis/dictionaries-and-counters/?from_llp=computer-science Lesson 3 Counting Unique Words Instead of dictionary use Counter() function it is more handly No need to initialized any key before adding any addition: Python 1 2 3 4 5 6 7 8 9 10 11 from collections import Counter #make a counter object counter = Counter () #make a string word = 'horror' #loop over the letters in the string and add to the counter for letter in word : counter [ letter ] += 1 #print the value of key "r" print ( counter [ 'r' ] ) 1 2 3 4 from collections import Counter counter = Counter ( "horror" ) key = 's' print ( key , counter [ key ] ) s 0 , because s appears zero times in horror Python 1 2 3 4 5 6 from collections import Counter counter = Counter ( 'horror' ) key = 's' print ( "Before:" , key , counter [ key ] ) counter...
Troubleshooting and Debugging Techniques https://www.coursera.org/learn/troubleshooting-debugging-techniques Main Area of Computer trouble shooting: Hardware RAM , HARD DISK, CPU , NETWORK Software: OS bugs To see Log files , what is happening Application Bugs. RAM leaks, Network Bandwidth Problem: to with Shapping give Priorities. Some Linux/Python commands $ top to see the memory is being used in the system In widows 1 , "Event Viewer" to see Log file 2. Performance Monitor 3. Resource Monitor. $ lsof list of open files. $ sudo lsof | grep deleted && means list of opened files marked as <Deleted> $ nice command to set priorities of application Module 3 Crashes in Complex Systems Complex contains many Servers and many Services Like your company have E-Commerce We...
Comments
Post a Comment