Comments: Python GUI Guide: Introduction to Tkinter


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • My bad.... the question i asked is answered on experiment 2... I guess i have to keep on

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------


    There was a small typo in experiment 3. The Python code shifted the bits too much on the temperature register:

    temp_c = (val[0] << 4) | (val[1] >> 5)

    The correct number of bits that should be shifted is 4 bits:

    temp_c = (val[0] << 4) | (val[1] >> 4)

    The example codes in Experiment 3 are now correct.

  • Re: Experiment 2 How about changing the label text on a press of a switch on GPIO input. I'm having a hard time converting the given example code. Can anyone help me?... please. Would really appreciate it. Thanks...

  • On the temperature converter experiment, how do you change the values using a physical switch attached to a GPIO input. Would appreciate your support. Thanks.

If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!