Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get  RSS feed

 
vin Hari
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Iam sending you a piece of code ,in that new1[0] represents key new1[1] its value.my question is when i click on the submenu item i will get key value which gets printed as i have shown but instead i want its value should get printed even i cannot use
please help me how to solve.
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I don't get your meaning.

Probably, you would like to have a look at How to use Menus.

Using a HashMap to save key-value pairs may be a better choice.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!