-
Notifications
You must be signed in to change notification settings - Fork 72
lesson_09 #673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
lesson_09 #673
Conversation
|
|
||
|
|
||
| if __name__ == '__main__': | ||
| main() No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292 no newline at end of file
|
|
||
|
|
||
| if __name__ == '__main__': | ||
| main() No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292 no newline at end of file
| write_filename.write(content) | ||
| write_filename.close() | ||
|
|
||
| print(content) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292 no newline at end of file
| @@ -0,0 +1,17 @@ | |||
| import os, re | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E401 multiple imports on one line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix this
|
|
||
|
|
||
| regex = input("Enter a regex: ") | ||
| regex_search(regex) No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292 no newline at end of file
| # py.exe mcb.pyw <keyword> - Loads keyword to clipboard. | ||
| # py.exe mcb.pyw list - Loads all keywords to clipboard. | ||
|
|
||
| import shelve, pyperclip, sys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E401 multiple imports on one line
| if sys.argv[1].lower() == 'list': | ||
| pyperclip.copy(str(list(mcbShelf.keys()))) | ||
| if sys.argv[1].lower() == 'delete': | ||
| for key in mcbShelf.keys(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
| pyperclip.copy(str(list(mcbShelf.keys()))) | ||
| if sys.argv[1].lower() == 'delete': | ||
| for key in mcbShelf.keys(): | ||
| del mcbShelf[key] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
| elif sys.argv[1] in mcbShelf: | ||
| pyperclip.copy(mcbShelf[sys.argv[1]]) | ||
|
|
||
| mcbShelf.close() No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292 no newline at end of file
|
@kuszcjan lesson_09 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bad commit. following files should NOT be a part of this one:
lesson_07/TheNumberOfWords.py
lesson_07/ToSwapTwoWords.py
| @@ -0,0 +1,17 @@ | |||
| import os, re | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix this
@kuszcjan lesson_09