Skip to content

create run.py file #14

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

Closed
Abdur-rahmaanJ opened this issue Jun 14, 2019 · 2 comments
Closed

create run.py file #14

Abdur-rahmaanJ opened this issue Jun 14, 2019 · 2 comments
Labels
first-timers-only good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Abdur-rahmaanJ
Copy link
Member

instead of if name equals main in main.py, create a new run.py file that imports from main.py and runs the bot

@Abdur-rahmaanJ Abdur-rahmaanJ added help wanted Extra attention is needed good first issue Good for newcomers first-timers-only labels Jun 14, 2019
@ChristianSchneeweiss
Copy link
Contributor

Hello I am a first timer and I would like to tackle this problem 😄

Am I understanding it correctly that you want to have a run.py file which runs the code that is currently in the if __name__ == '__main__' in the main.py file?

@TomLisankie
Copy link
Contributor

Hello I am a first timer and I would like to tackle this problem 😄

Am I understanding it correctly that you want to have a run.py file which runs the code that is currently in the if __name__ == '__main__' in the main.py file?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-timers-only good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants