Python Runner is a handy tool for learning Python or running Python script for daily tasks. Simply type Python code and press 'Command-R' to run it, that is all! You don't event need to save the file first!. Type and run Python code instantly. Display output as plain text or HTML. Integrated Development Environments (IDEs) are also valuable tools for debugging your Python script. Visual Studio Code, for instance, with its Run and Debug feature and a language support plugin called Pylance, allows you to run your code in debug mode. Pycharm is another excellent IDE that can help you find faults in your code.
Released:
A judge for your programs, run and test your programs using python
Project description
A judge 👨🏽⚖️ for your programs, run and test your programs using Python
Installation
Install using pip
from PyPI
or directly from GitHub if you cannot wait to test new features
Usage
Documentation
Development
Prerequisites
Install Python Interpreter Windows 10
- Python 3.6+
- virtualenv
- Create virtual environment.
- Clone the repository.
- Install Dependencies.
- Run tests.
- Lint the project with
📝 Changelog
See the CHANGELOG.md file for details.
:fire: Powered By
Judge0 API - Free, robust and scalable open-source online code execution system
Author
👥 Bhupesh Varshney
- Twitter: @bhupeshimself
- DEV: bhupesh
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
👋 Contributing
Please read the CONTRIBUTING guidelines for the process of submitting pull requests to us.
Release historyRelease notifications | RSS feed
1.0
0.8
0.7
0.6
0.5
0.4
Code Runner Python Input
0.3
0.2
0.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size coderunner-1.0-py3-none-any.whl (6.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size coderunner-1.0.tar.gz (6.2 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for coderunner-1.0-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | d5e4ba49e4324da3e35491395069ad5ecc82280e2a0b79aef6eee6ef3bf3c54f |
MD5 | a7b534d676b792e1c3052b426f264ade |
BLAKE2-256 | 43e39a49686655398d6878e9215258e93464bd9fc256ea8668eea17c890f9929 |
Hashes for coderunner-1.0.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | afaaa5049061a3b2ea924a2c32789913cc00a5ed4e4c55a166073694b4c25972 |
MD5 | 7f207cf1d9753cd650c398fc0b9e6359 |
BLAKE2-256 | 53007f2aa36bc0a0dfdf1b181b9e7387385218c8e5775cca28ab544a06aa5212 |
- Trending Categories
- Selected Reading
After writing the code, we need to run the code to execute and obtain the output. On running the program, we can check whether the code is written is correct and produces the desired output.
Running a python program is quite an easy task.
Run on IDLE
To run a python program on IDLE, follow the given steps −
Write the python code and save it.
To run the program, go to Run > Run Module or simply click F5.
Run on Command Line
The python script file is saved with ‘.py’ extension. After saving the python script, we can run it from the Command Line. In the cmd, type keyword ‘python’ followed by the name of the file with which you saved the python script.
Example
Let us suppose, we have a python script saved with the name ‘hello.py’. To run it on command line, type the following −
Run On IDE (PyCharm)
To run a python program on an IDE like PyCharm, we need to follow the given steps −
Create a new python file and save it with some name, say “hello.py”.You don’t need to specify the extension as it will pick it automatically.
After writing the required code in the python file, we need to run it.
To run, Click on the Green Play Button at the top right corner of the IDE. The second way to run is, Right click and select ‘Run File in Python Console’ option.
This will open a console box at the bottom and output will be shown there.
Interactive Mode
Interactive mode is the method to type and run python code in command line. In interactive mode, the python code is written and run line by line in a sequential manner.To enter into interactive mode, open Command Prompt and type ‘python’ and press Enter.
Write one line of code and press enter to execute it and enter the second line.
Example
To run the code in interactive mode, You must have python installed on your system. On typing ‘python’ , the version of the python installed on your system is displayed. This means that python is installed on your system and we can move forward in running python scripts. On entering one line of code i.e. print(“Hello World”) ,after pressing enter the “Hello World” is displayed.
Run on Text Editor(Visual Studio)
We can run python script on a text editor. To do so,follow the following steps −
Create a file with a name ,let “hello.py”.
Write some python code in the file.
To run the code, Right Click > Select Run Code. Else, press ‘Ctrl+Alt+N’ to run the code.
- Related Questions & Answers