Skip to content

Fixes & enhancements: fix deprecation warning on Python versions newer than v3.6 & support breaking of loop with CTRL-C with no exceptions#10

Open
Abdallah-Abdelazim wants to merge 5 commits intodelphiki:masterfrom
Abdallah-Abdelazim:master
Open

Fixes & enhancements: fix deprecation warning on Python versions newer than v3.6 & support breaking of loop with CTRL-C with no exceptions#10
Abdallah-Abdelazim wants to merge 5 commits intodelphiki:masterfrom
Abdallah-Abdelazim:master

Conversation

@Abdallah-Abdelazim
Copy link
Copy Markdown

@Abdallah-Abdelazim Abdallah-Abdelazim commented Jun 22, 2022

Each commit in this PR describes a change I made. The changes I made are:

  • Add python shebang line to allow easy running from a terminal with ./main.py [output_file] instead of python3 main.py [output_file].
  • Add execute permission to main.py.
  • Fix deprecation warning DeprecationWarning: There is no current event loop on Python versions newer than v3.6.
  • Support breaking out of the loop with CTRL-C with no exceptions as it previously was printing an ugly exception to the terminal.
  • Update README.md to add a note on how to install bleak package to help people with no Python experience.

@manister7
Copy link
Copy Markdown

Could we use this repo for python > 3.6 now???

@mrsteve0924
Copy link
Copy Markdown

nobody actively working on merging commits?

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.

4 participants