Skip to content

Conversation

@dychomon
Copy link
Contributor

@kuszcjan lesson_09



if __name__ == '__main__':
main() No newline at end of file
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Collaborator

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
Copy link
Contributor

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
Copy link
Contributor

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():
Copy link
Contributor

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]
Copy link
Contributor

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
Copy link
Contributor

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

@dychomon
Copy link
Contributor Author

@kuszcjan lesson_09

Copy link
Collaborator

@kuszcjan kuszcjan left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants