Use os.system for clearing screen#3169
Merged
avinashkranjan merged 1 commit intoavinashkranjan:mainfrom Jun 5, 2024
blondon1:patch-2
Merged
Use os.system for clearing screen#3169avinashkranjan merged 1 commit intoavinashkranjan:mainfrom blondon1:patch-2
avinashkranjan merged 1 commit intoavinashkranjan:mainfrom
blondon1:patch-2
Conversation
This approach makes the code cross-platform by using cls for Windows and clear for Unix-based systems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This approach makes the code cross-platform by using cls for Windows and clear for Unix-based systems.
Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #(issue_no)
Type of change
Please delete options that are not relevant.
Checklist:
README.mdTemplate for README.mdrequirements.txtfile if needed.Project Metadata
If there is no-file/nothing to fill the below fields with, then type: noneExample:If no requirements.txt needed/present, then type none inRequirments.Category:
Title: <write script title here>
Folder: <type the folder name that contains your script>
Requirements: <type the name of text file containing the required to install python packages, type None if no file required>
Script: <Enter the name of the
.pyfile (The main entry point of the program)>Arguments: <enter any arguments that the script needs but
-separeted like: h-c-m>Contributor: <Enter your Github handle/username without url>
Description: <Enter a one line description that describes your script. Also, explain the arguments usage here>