From 09fc06709c45732968ea28a479180b9483e58af0 Mon Sep 17 00:00:00 2001 From: Bryan <91551702+blondon1@users.noreply.github.com> Date: Wed, 5 Jun 2024 10:42:56 -0400 Subject: [PATCH 1/2] Use os.system for clearing screen This approach makes the code cross-platform by using cls for Windows and clear for Unix-based systems. --- AI Calculator/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AI Calculator/main.py b/AI Calculator/main.py index 206ccbac54..caa1779510 100644 --- a/AI Calculator/main.py +++ b/AI Calculator/main.py @@ -1,5 +1,5 @@ from chatterbot import ChatBot - +import os # naming the ChatBot calculator # using mathematical evaluation logic # the calculator AI will not learn with the user input @@ -10,7 +10,7 @@ # clear the screen and start the calculator -print('\033c') +os.system('cls' if os.name == 'nt' else 'clear') print("Hello, I am a calculator. How may I help you?") while (True): # take the input from the user From 849e76440ff6cd81bd05273994cfffd7a2c41971 Mon Sep 17 00:00:00 2001 From: Tammy DiPrima Date: Thu, 13 Nov 2025 13:19:16 -0500 Subject: [PATCH 2/2] Fixed typo in Medium-Scraper README --- Medium-Scraper/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Medium-Scraper/README.md b/Medium-Scraper/README.md index d7b693ec93..d56566bea7 100644 --- a/Medium-Scraper/README.md +++ b/Medium-Scraper/README.md @@ -1,4 +1,4 @@ -# Medium Scrapper +# Medium Scraper Running this Script would allow the user to scrape any number of articles from [medium.com](https://medium.com/) from any category as per the user's choice ## Setup instructions @@ -28,4 +28,4 @@ The scraped pdf files get saved in the folder in which the script is run ![Files saved in folder](https://i.postimg.cc/J7DVS42k/output2.png) ## Author -[Ayush Jain](https://github.com/Ayushjain2205) \ No newline at end of file +[Ayush Jain](https://github.com/Ayushjain2205)