Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.7k+ articles
JavaScript
11.5k+ articles
Java
10.1k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Python code-module
4 posts
Popular Articles
Recent Articles
code.compile_command() in Python
Last Updated: 22 April 2020
With the help of code.compile_command() method, we can compile the single or multiple lines of code to check for the syntax error if any by
...read more
Python
Python code-module
InteractiveConsole runcode() in Python
Last Updated: 26 March 2020
With the help of InteractiveConsole.runcode() method, we can get the output of the single or multiple lines of code, if we want to see the r
...read more
Python
Python code-module
InteractiveInterpreter runsource() in Python
Last Updated: 26 March 2020
With the help of InteractiveInterpreter.runsource() method, we can compile and run the source having single or multiple lines by using Inter
...read more
Python
Python code-module
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.7k+ articles
JavaScript
11.5k+ articles
Java
10.1k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
InteractiveInterpreter runcode() in Python
Last Updated: 26 March 2020
With the help of InteractiveInterpreter.runcode() method, we can only execute the pre-compiled source code having single or multiple lines b
...read more
Python
Python code-module
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !