Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
facing issue in python
#5
(Nov-27-2019, 05:25 PM)snippsat Wrote:
>>> for item in data['applicationgroup'][0]['applicationRoles']:
...     print(f"<{item['sid']}> has a type: {item['type']}")
...     
<123> has a type: BC
<234> has a type: adBC

can you please tweak same in the code i pasted.when i am trying your solution in my code it is not working
Reply


Messages In This Thread
facing issue in python - by rajrishi990 - Nov-27-2019, 04:24 PM
RE: facing issue in python - by buran - Nov-27-2019, 04:25 PM
RE: facing issue in python - by rajrishi990 - Nov-27-2019, 04:29 PM
RE: facing issue in python - by snippsat - Nov-27-2019, 05:25 PM
RE: facing issue in python - by rajrishi990 - Nov-27-2019, 05:44 PM
RE: facing issue in python - by rajrishi990 - Nov-28-2019, 04:22 AM
RE: facing issue in python - by micseydel - Dec-05-2019, 11:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Facing issue in python regex newline match Shr 6 1,530 Oct-25-2023, 09:42 AM
Last Post: Shr
  Facing problem with Pycharm - Not getting the expected output amortal03 1 909 Sep-09-2022, 05:44 PM
Last Post: Yoriz
  Facing Problem while opening a file through command prompt vlearner 4 2,054 Jan-30-2022, 08:10 AM
Last Post: snippsat
  Facing error while executing below Python code ramu4651 1 5,865 Jan-26-2021, 06:40 PM
Last Post: ibreeden
  I want to create small multiples grouped bar plot, and facing some aesthetics issuess dev_kaur 0 1,661 Dec-05-2020, 08:49 AM
Last Post: dev_kaur
  Facing issue while saving workbook Abhisht 3 5,724 Aug-19-2020, 11:44 AM
Last Post: Larz60+
  Facing issue with pyautogui program after PC upgrade Utkarsh29 2 3,027 Jul-15-2019, 05:20 PM
Last Post: Utkarsh29
  Facing an issue in doing 'unittest.installHandler()' which will send 'stop' signal to hmarne 3 4,231 Jan-24-2017, 05:03 PM
Last Post: buran

Forum Jump:

User Panel Messages

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