-
Notifications
You must be signed in to change notification settings - Fork 262
Added a telegram bot which runs python code #624
Conversation
On branch aahnik_runPythonBot Changes to be committed: new file: runPython_bot/.gitignore new file: runPython_bot/Makefile new file: runPython_bot/README.md new file: runPython_bot/bot/__init__.py new file: runPython_bot/bot/__pycache__/__init__.cpython-38.pyc new file: runPython_bot/bot/__pycache__/execute_code.cpython-38.pyc new file: runPython_bot/bot/__pycache__/py_runner.cpython-38.pyc new file: runPython_bot/bot/__pycache__/runPython_bot.cpython-38.pyc new file: runPython_bot/bot/execute_code.py new file: runPython_bot/bot/runPython_bot.py new file: runPython_bot/requirements.txt new file: runPython_bot/start.py
Changes to be committed: modified: .gitignore deleted: bot/__pycache__/__init__.cpython-38.pyc deleted: bot/__pycache__/execute_code.cpython-38.pyc deleted: bot/__pycache__/py_runner.cpython-38.pyc deleted: bot/__pycache__/runPython_bot.cpython-38.pyc
@AdityaJ7 @fuzzmz @valterm @dingusagar @k1m0ch1 @arthuralmeida93 @MNISAR @antoniouaa @sandyjswl @malhotra-paritosh @chavarera @SuvamPrasd @Araon @symtalha14 The bot is live and running. Check it out now If the link does not work search |
@aahnik very nice, just add some comments in your py files to make it a bit beginner-friendly everything else is awesome |
Changes to be committed: modified: bot/__init__.py modified: bot/execute_code.py modified: bot/runPython_bot.py
I have added docstrings with explanations and links to tutorials in my last commit 5668ad1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed the entire code , and have found no problems.
The deployment is also successful and the bot is running smoothly.
Any suggestions for improving the performance of the bot is most welcome ! 😀
@allcontributors please add @aahnik for code |
I've put up a pull request to add @aahnik! 🎉 |
Thanks a lot @AdityaJ7 and @tusharnankani for accepting my pull request. This was really a fun and enjoyable learning experience. I hope to contribute more code in future. |
@aahnik |
Python World does not accept pull requests on this repository anymore. |
A simple telegram bot that runs python code
Description
Fixes #623
Run python expressions from telegram, Telegram Bot
As described in issue Run python expressions from telegram, Telegram Bot #623 , the new bot is added
On branch aahnik_runPythonBot
This bot will execute a python expression and return the results.
Take a look at this GIF to understand better:
You may use pythonic expressions to easily calculate any complex problem. Or you may test your algorithms on the go.
You can easily deploy this bot on Python Anywhere or on your local machine by following the steps given in README.
Type of change
Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.
Update index.md
)README.md
, according to the givenREADME_TEMPLATE.