Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do i access objects named with specail characters #5

Open
mwoolweaver opened this issue Jul 12, 2024 · 0 comments
Open

how do i access objects named with specail characters #5

mwoolweaver opened this issue Jul 12, 2024 · 0 comments

Comments

@mwoolweaver
Copy link

mwoolweaver commented Jul 12, 2024

I am creating a dict from some imported json that contains the following

{ram: {'total': 3880192, 'free': 1158636, 'used': 491812, 'available': 3176752, '%used': 12.674939796793561}}

when trying to get the %used data it fails with a syntax error.

if i had control of the names i would change them but...

i will do math to get the answer for now with no issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant