Python Forum
How to get the selected item from Listbox and convert it to int?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the selected item from Listbox and convert it to int?
#7
Hey wuf,

this help me a lot, you are amazing... But there is something I don't get yet.

How can I use the variable b for further coding? Ok, I can print out the result by pressig the ENTER-button, thats really nice and useful. But how can I assign the variable b, for example, to variable z, or taking the value of b and use it for another function.
You know what I mean? I want to use the value of b in another part of the code...
Reply


Messages In This Thread
RE: How to get the selected item from Listbox and convert it to int? - by Jionni - Feb-16-2020, 09:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QListWidget, no item was selected flash77 4 1,074 Aug-02-2023, 09:31 AM
Last Post: Axel_Erfurt
  [PyQt] How to always select the item in the first column when a row is selected DrakeSoft 1 1,699 Feb-17-2023, 07:43 PM
Last Post: DrakeSoft
  [Tkinter] the first item in listbox rwahdan 4 3,298 Jun-27-2021, 03:48 PM
Last Post: rwahdan
  Update value selected in option menu when select an item from text box klllmmm 2 5,094 Jun-06-2019, 04:51 AM
Last Post: klllmmm
  [Tkinter] taking bad listbox items after lowering it to 1 item deadmarshal 3 3,163 Jul-18-2018, 04:16 PM
Last Post: woooee
  seprating columns of an listbox item and putting them into different entry gray 2 4,295 Feb-26-2017, 12:53 PM
Last Post: gray

Forum Jump:

User Panel Messages

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