Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Sending string commands from Python to a bluetooth device
Post: RE: Sending string commands from Python to a bluet...

(Aug-31-2021, 05:43 PM)deanhystad Wrote: Instead of a list I would use a dictionary that maps button labels to commands. commands = { 'TV Standby':'standby', ... 'Air Conditioning On': '...
Rovelin General Coding Help 13 9,526 Aug-31-2021, 06:22 PM
    Thread: Sending string commands from Python to a bluetooth device
Post: RE: Sending string commands from Python to a bluet...

Thanks for your efforts , you are literally helping too much. I couldn't understand how can I sent the string without using bluetooth import. And as I understand you didn't attach any command to the b...
Rovelin General Coding Help 13 9,526 Aug-31-2021, 06:15 PM
    Thread: Sending string commands from Python to a bluetooth device
Post: RE: Sending string commands from Python to a bluet...

Actually this is very helpful for me, and thank you for your every minute on this code. My goal is sending strings to the HC-05 with clicking on these buttons. And I think I can do this with using thi...
Rovelin General Coding Help 13 9,526 Aug-31-2021, 05:20 PM
    Thread: ModuleNotFoundError: No module named 'bluetooth' Error
Post: RE: ModuleNotFoundError: No module named 'bluetoot...

Thank you now I'm looking for the microsoft visual downloads because it says error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.micr...
Rovelin General Coding Help 4 12,208 Aug-31-2021, 04:04 PM
    Thread: ModuleNotFoundError: No module named 'bluetooth' Error
Post: RE: ModuleNotFoundError: No module named 'bluetoot...

Firstly, thank you for your response. That was the first thing that I tried. Here is the response of the command. https://ibb.co/2yyw8Nm
Rovelin General Coding Help 4 12,208 Aug-31-2021, 03:04 PM
    Thread: ModuleNotFoundError: No module named 'bluetooth' Error
Post: ModuleNotFoundError: No module named 'bluetooth' E...

Hi everyone, when I'm trying to run the code below, Im getting ModuleNotFoundError: No module named 'bluetooth' error and even if I pip install pybluez it doesn't solves the problem. import bluetooth...
Rovelin General Coding Help 4 12,208 Aug-31-2021, 02:04 PM
    Thread: Sending string commands from Python to a bluetooth device
Post: RE: Sending string commands from Python to a bluet...

from tkinter import* root = Tk() root.title("Tryout7") def button_add(): return button_1 = Button(root, text="volume up", padx=60,pady=20,command=button_add) button_2 = Button(root, text="volum...
Rovelin General Coding Help 13 9,526 Aug-31-2021, 12:30 PM
    Thread: Sending string commands from Python to a bluetooth device
Post: RE: Sending string commands from Python to a bluet...

Actually I didn't attach anything to the buttons so it is just a basic Tkinter code for now.
Rovelin General Coding Help 13 9,526 Aug-29-2021, 07:46 PM
    Thread: Sending string commands from Python to a bluetooth device
Post: Sending string commands from Python to a bluetooth...

Hi everyone, I hope you all okay. Nowadays I am dealing with arduino bluetooth module(HC-05) and I have a problem which exceeds my little knowledge. I have a fully programmed arduino bluetooth module ...
Rovelin General Coding Help 13 9,526 Aug-29-2021, 06:19 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020