Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

Python Urgent | Scons Script - Get list of Variables under Scons env object

Akash

Coder
Hi, I'm working on a build system using scons and i have an environmental object (Type : SCons.Script.SConscript.SConsEnvironment ).
I know few variables and i can assign env['A'] = ... env['ABC'] = ... like this,
Now i need to see the list of all variables available (output should give A, ABC).
Is there any way
 
@Akash, I can't help noticing that of your 6 posts in this forum, 3 are marked with URGENT. Three of your previous posts I have replied to, and you did not even bother to post a reaction. This is definitely not the way to get help. We are not paid workers, and you are not a paying customer who can demand priority.

As for this new question, I could be wrong but it looks to me like you have not even tried to google for an answer.
 
Last edited by a moderator:
@Akash, I can't help noticing that of your 6 posts in this forum, 3 are marked with URGENT. Three of your previous posts I have replied to, and you did not even bother to post a reaction. This is definitely not the way to get help. We are not paid workers, and you are not a paying customer who can demand priority.

As for this new question, I could be wrong but it looks to me like you have not even tried to google for an answer.
Hi, Apologies for not having replied to the earlier threads. I mark things as urgent if i need it immediately only if don't find it upon search and i have lesser time to complete the task. This is a community of knowledgeable people and those who knew and wish to answer will reply i believe. One small advice from my side on "As for this new question, I could be wrong but it looks to me like you have not even tried to google for an answer." : Don't be judgmental. No one just posts questions here on this forum without just trying to get things done on their own.

Also, I found out the answer for the question i asked me.

dict = env.Dictionary()
keys = dict.keys()
for key in keys:
print(key)

Hope this helps someone 🙂
 
Hi, Apologies for not having replied to the earlier threads. I mark things as urgent if i need it immediately only if don't find it upon search and i have lesser time to complete the task. This is a community of knowledgeable people and those who knew and wish to answer will reply i believe. One small advice from my side on "As for this new question, I could be wrong but it looks to me like you have not even tried to google for an answer." : Don't be judgmental. No one just posts questions here on this forum without just trying to get things done on their own.

Also, I found out the answer for the question i asked me.

dict = env.Dictionary()
keys = dict.keys()
for key in keys:
print(key)

Hope this helps someone 🙂
No problem. But you'd be amazed how many people ask for help without even making any effort at all.
I still believe the keyword URGENT in a subject isn't helping the case, seeing as you didn't get all too many replies on those questions.
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom