HomeArtificial IntelligenceArtificial Intelligence EducationA brief guide to Custom Python Interpreters

A brief guide to Custom Python Interpreters

A brief guide to Custom Python Interpreters

[ad_1]

The modules described in this chapter allow writing interfaces similar to Python’s interactive interpreter. If you want a Python interpreter that supports some special feature in addition to the Python language, you should look at the code module. (The codeop module is lower-level, used to support compiling a possibly-incomplete chunk of Python code.)

The full list of modules described in this chapter is:

  • code — Interpreter base classes
    • Interactive Interpreter Objects
    • Interactive Console Objects
  • codeop — Compile Python code

[ad_2]

This article has been published from the source link without modification to the text. Only the headline has been changed.

Source link

Most Popular