<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-plugins-pyconsole" xml:lang="zh_CN">

<info>
  <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
  <revision pkgversion="3.8" date="2013-02-24" status="review"/>
  <revision pkgversion="3.24" date="2017-09-17" status="review"/>
  <credit type="author">
    <name>Jim Campbell</name>
    <email>jcampbell@gnome.org</email>
  </credit>
  <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  <desc>在底部面板添加一个交互式的 Python 控制台。</desc>

    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>TeliuTe</mal:name>
      <mal:email>teliute@163.com</mal:email>
      <mal:years>2009, 2011</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Colin Zhao</mal:name>
      <mal:email>lonely.ibm@gmail.com</mal:email>
      <mal:years>2011</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>wancheng zhang</mal:name>
      <mal:email>wancheng.com.cn@gmail.com</mal:email>
      <mal:years>2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Zhe Wei</mal:name>
      <mal:email>weizhe86@gmail.com</mal:email>
      <mal:years>2014</mal:years>
    </mal:credit>
  </info>

  <title>Python 控制台</title>

  <p>您可以在底部面板添加一个 Python 控制台，从而不需要离开<app>gedit</app> 就可以测试 Python 脚本。要启用 Python 控制台，点菜单 <guiseq><gui style="menu">gedit</gui> <gui style="menuitem">首选项</gui><gui>插件</gui> <gui>Python 控制台</gui></guiseq>。</p>

  <p>Once the Python console is enabled, you can open it by selecting
  <guiseq><gui>View</gui><gui>Bottom Panel</gui></guiseq>.</p>

  <note style="tip"><p>如果您同时还启用了<gui>内部终端</gui>插件，<gui>Python 控制台</gui>将会出现在底部面板的另一个标签中。</p></note>
</page>
