python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Python - run/execute IF statement only once inside loop
How can I execute/run IF statement inside another IF only once?
I am reading file, line by line I would like to execute commands inside IF statement only once.
I had tried global variables, define and...
Scripter
Votes: 0
Answers: 2
How to access Discord Bot token from another python file for Heroku
I am trying to set up a Discord Bot on Heroku and in attempting to start it up for the first time, I am realizing that my main python file (main.py) with all the bot's code can't seem to access the va...

Joshua Edwards
Votes: 0
Answers: 2
Global variable not updated in while loop - Python
I'm new to Python but I can't seem to figure out why the declared "attempt" variable is not decremented if an incorrect attempt is submitted.
My thoughts are once a guess is submitted if it'...

Casey Van Dyke
Votes: 0
Answers: 1
Checking if a function argument is a global variable in LLVM
This question is similar to the question posted a few years back (Tracing global variables use in llvm), but it went unanswered (also I could not implement what comment suggested in that post). I want...
Jay
Votes: 0
Answers: 1