From 3c0148bfefa4efca3d878a16ec595b8081d591e6 Mon Sep 17 00:00:00 2001 From: Jokestevens <148862801+Jokestevens@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:57:38 +0100 Subject: [PATCH 1/5] Update Automation_0.1.md Changed and modified some words. --- Automation_0.1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Automation_0.1.md b/Automation_0.1.md index 5777f7e..ba7d1f4 100644 --- a/Automation_0.1.md +++ b/Automation_0.1.md @@ -56,7 +56,7 @@ Create a new directory on your cli. ``` mkdir my_directory ``` -Change 'my_directory' to whatever name you want. +Change 'my_directory' to any name you want. In the new directory, create a virtual environment. Using a virtual environment in cli allows you to create isolated Python environments for your projects, each with its own set of dependencies. This helps prevent conflicts between different projects that might require different package versions. Run the following commands to create a virtual environment: @@ -118,6 +118,6 @@ Once you're done running the script, you can stop it using **ctrl+c** to stop ru deactivate ``` -My next blog gives a proper explanation of the script, its important you read it as it will help you understand the script and modify it to suit your needs. You can access my next blog by clicking the link below. +My next blog gives a proper explanation of the script, its important you read it because it will help you understand the script and modify it to suit your needs. You can access my next blog by clicking the link below. -## [Automation_blog2](Automation_0.2.md) +## [2nd_Automation](Automation_0.2.md) From 3b87bb4f75a6ca3fec89dfc76f8790ea0ca4f231 Mon Sep 17 00:00:00 2001 From: Jokestevens <148862801+Jokestevens@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:05:36 +0100 Subject: [PATCH 2/5] Update Automation_0.2.md changed and modified words --- Automation_0.2.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Automation_0.2.md b/Automation_0.2.md index 8696702..20859e2 100644 --- a/Automation_0.2.md +++ b/Automation_0.2.md @@ -63,10 +63,10 @@ def monitor_and_output(): The def function defines the main function **monitor_and_output**. It contains an infinite loop (while True) to continuously monitor and output system and network information. Inside the loop: - CPU and memory usage are obtained using the previously defined functions. - Network speed is measured using the get_network_speed function. -- The information is then printed to the console, displaying CPU and memory usage percentages, as well as download and - upload speeds in Mbps. -- There is a 5-second delay (time.sleep(5)) at the end of each iteration to control the monitoring interval. You can adjust - this value based on how often you want to collect data. +- The information is then printed to the console, displaying CPU and memory usage percentages, + as well as download and upload speeds in Mbps. +- There is a 5-second delay (time.sleep(5)) at the end of each iteration to control the + monitoring interval. You can adjust this value based on how often you want to collect data. # Group 6 ``` @@ -76,8 +76,8 @@ if __name__ == "__main__": This block ensures that the **monitor_and_output** function is executed only if the script is run as the main program (not imported as a module). -In summary, this Python script uses the psutil and speedtest libraries to monitor CPU and memory usage, as well as download and upload speeds. The **monitor_and_output** function continuously collects and prints this information in an infinite loop with a specified interval. +In conclusion, this Python script uses the psutil and speedtest libraries to monitor CPU and memory usage, as well as download and upload speeds. The **monitor_and_output** function continuously collects and prints this information in an infinite loop with a specified interval. In my next two blogs I would talk about the problems I faced while trying to develop the script and how I figured it out. Hopefully, they would provide solutions to problems you may face. The link is below -## [Automation_blog3](Automation_0.3.md) +## [3rd_Automation](Automation_0.3.md) From f7989f8d61dd674f5308ea1bc9af03c562c81c5f Mon Sep 17 00:00:00 2001 From: Jokestevens <148862801+Jokestevens@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:07:26 +0100 Subject: [PATCH 3/5] Update Automation_0.3.md Changed and modified words --- Automation_0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Automation_0.3.md b/Automation_0.3.md index 946b38d..33fedd0 100644 --- a/Automation_0.3.md +++ b/Automation_0.3.md @@ -49,4 +49,4 @@ In conclusion, prioritizing safety in a script development process is essential. In my next and final blog, I would be sharing more problems I encountered and the way I solved these problems. You can click on the link below to access it. See you there! -## [Automation_blog4](Automation_0.4.md) +## [3rd_Automation](Automation_0.4.md) From 276df6e089d058cdd0e10c7106fc165615208bcf Mon Sep 17 00:00:00 2001 From: Jokestevens <148862801+Jokestevens@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:09:05 +0100 Subject: [PATCH 4/5] Update Automation_0.3.md --- Automation_0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Automation_0.3.md b/Automation_0.3.md index 33fedd0..341d51b 100644 --- a/Automation_0.3.md +++ b/Automation_0.3.md @@ -49,4 +49,4 @@ In conclusion, prioritizing safety in a script development process is essential. In my next and final blog, I would be sharing more problems I encountered and the way I solved these problems. You can click on the link below to access it. See you there! -## [3rd_Automation](Automation_0.4.md) +## [4th_Automation](Automation_0.4.md) From 46ba7a97842eac85cbb77799d7766d9c6b1a7ecf Mon Sep 17 00:00:00 2001 From: Jokestevens <148862801+Jokestevens@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:10:28 +0100 Subject: [PATCH 5/5] Update Automation_0.4.md changed and modified words --- Automation_0.4.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Automation_0.4.md b/Automation_0.4.md index af5575f..3c02712 100644 --- a/Automation_0.4.md +++ b/Automation_0.4.md @@ -150,6 +150,6 @@ In conclusion, the journey to organize my Python script taught me valuable lesso I hope these problem and solution blogs were helpful. If you have read my blog from beginning to this moment, I really do appreciate. If you haven't or you started from this blog, I advice you read the others as they are all connected. Below, I have attached the link to my other blogs. ## [Blog on Health benefits of video gaming](README.md) -## [Automation_blog1](Automation_0.1.md) -## [Automation_blog2](Automation_0.2.md) -## [Automation_blog3](Automation_0.3.md) +## [1st_Automation](Automation_0.1.md) +## [2nd_Automation](Automation_0.2.md) +## [3rd_Automation](Automation_0.3.md)