`
- 浏览:
1313912 次
- 性别:
- 来自:
江苏
-
修正ipython中文乱码
2009-04-15 11:55:39
方案来源
特定の文字を入力すると ipython が落ちる
http://sinensis.plala.jp/mm/dcc0c3ad2de5ff3633640eda7617f4927237b128/?page=5&order=name#d243cc3b4390fb5da16e289995b1a162710549ff
-----------------------------------------------------
原来有错
zuroc@frodo ~ $ ipython
Python 2.5.2 (r252:60911, Aug 1 2008, 23:32:51)
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: 张沈 ¹
WARNING:
********
You or a %run:ed script called sys.stdin.close() or sys.stdout.close()!
Exiting IPython!
编辑vi ~/.ipython/ipythonrc
# These commands allow you to indent/unindent easily, with the 4-space
# convention of the Python coding standards. Since IPython's internal
# auto-indent system also uses 4 spaces, you should not change the number of
# spaces in the code below.
#readline_parse_and_bind "\M-i": " "
#readline_parse_and_bind "\M-o": "\d\d\d\d"
#readline_parse_and_bind "\M-I": "\d\d\d\d
注释掉这3行
In [1]: 张沈鹏
------------------------------------------------------------
File "<ipython console>", line 1
张沈鹏
^
SyntaxError: invalid syntax
可以了
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
### IPython 文档知识点概述 #### 一、简介 **IPython** 是一个增强型的交互式 Python Shell,它提供了一系列的功能改进与扩展,旨在提高编程效率和代码调试能力。根据文档版本 `0.11` 的介绍,该版本不仅在功能上...
标题 "ipython25_rpm" 暗示我们正在讨论的是有关 IPython 的一个 RPM (Red Hat Package Manager) 包,版本号为 25。RPM 是一种在 Linux 发行版,如 Red Hat、CentOS 和 Fedora 中广泛使用的软件包管理器,用于安装、...
《IPython:Python编程的得力助手》 IPython,全称Interactive Python,是Python编程语言的一个强大交互式shell,它的出现极大地提升了Python开发者的效率和体验。标题中的"ipython-0.10.tar"指的是IPython的0.10...
`ipython_genutils-0.2.0.tar.gz` 是一个专门为Linux系统设计的压缩包,主要用于支持IPython的运行和扩展。IPython是一个强大的交互式计算环境,它被广泛用于数据科学、机器学习和教学等领域。这个压缩包包含了一...
1、更新包管理 apt-get install update. 2、安装 pip3 :apt-get install python3-...因为缺省情况下,pip3 安装的 ipython 也叫 ipython,最终导致 python2 的 ipython 无法进入启动。 4、安装python3的ipython:pip
《IPython手册》是一份详尽的指南,旨在帮助用户深入了解和有效利用IPython这一强大的交互式计算环境。IPython不仅是Python编程语言的一个交互式 shell,还是一个功能丰富的开发工具,广泛应用于科学计算、数据分析...
### IPython概述与核心特性 #### 一、IPython简介 IPython是一个增强型的Python交互式Shell,它为用户提供了一个高效且功能丰富的环境来进行代码开发、数据探索以及执行交互式计算任务。与标准Python解释器相比,...
《IPython:交互式计算与数据科学的强大工具》 IPython是Python编程语言的一个强大交互式环境,尤其在数据科学领域被广泛使用。这个“ipython-2.3.1.zip”压缩包文件包含了IPython的2.3.1版本,这是一个在2014年...
### CentOS 7 下 Python 3 和 IPython 3 的安装指南 #### 一、Python 3 的安装 在 CentOS 7 系统中,默认安装的是 Python 2.x 版本。为了满足更多开发需求,尤其是 Python 3.x 的功能与性能优势,我们需要在 ...
### IPython Parallel 开发知识点概览 #### 一、引言 IPython 是一个强大的 Python 命令行工具和交互式环境,旨在提高编程效率并简化数据分析与科学计算过程。随着版本的发展,IPython 不仅提供了一个增强的 Python...
8. 书籍的介绍部分提到了“Get to grips with the advanced concepts of interactive computing to make the most out of IPython”,这表明书籍将深入讲解交互式计算的高级概念,帮助读者充分利用IPython的潜力。...
《IPython 0.9.1 与 PyReadline 1.5 在 Windows 上的安装与使用详解》 IPython 是一个强大的交互式 Python 解释器,它为程序员提供了更高效、更便捷的 Python 开发环境。IPython 的 0.9.1 版本在 Windows 平台上...
Python IPython PyCharm 安装教程 Python 是一种广泛使用的高级编程语言,IPython 是一个交互式 shell,PyCharm 是一个集成了多种功能的集成开发环境(IDE)。以下是 Python IPython PyCharm 安装教程的详细知识点...
《IPython工具包详解》 在Python编程领域,IPython是一个不可或缺的交互式命令工具,它极大地提升了Python的使用体验,使得代码调试、数据分析以及科学计算变得更加高效和便捷。本文将深入探讨IPython的核心功能、...
This book will get IPython developers up to date with the latest advancements in IPython and dive deep into interactive computing with IPython. This an advanced guide on interactive and parallel ...
`ipython-1.2.1.tar.gz` 是一个压缩包文件,包含了 `IPython` 的版本1.2.1的源代码。`IPython` 是一个强大的交互式 Python 开发环境,它提供了丰富的语法高亮、代码补全、调试功能,是 Python 开发者的重要工具。...
《IPython for Win:Python高效开发利器》 IPython是一款为Python编程语言设计的强大交互式环境,它在标准Python shell的基础上增加了许多高级功能,旨在提高程序员的生产力和学习效率。尤其对于Windows用户,...
`ipython-7.19.0.tar.gz` 是一个包含 IPython 7.19.0 版本源代码的压缩文件。IPython 是一个交互式计算环境,专为 Python 编程语言设计,它提供了增强的命令行界面、内建的调试工具以及丰富的数据可视化能力。这个...
### Linux系统上安装IPython详解 #### 背景与目的 在Linux环境中安装IPython是一种常见的需求,尤其是在科学计算、数据分析等领域。本文将详细介绍如何在Linux系统中安装IPython,特别是针对Python 2.7版本的情况。...
IPython provides a web-based UI called Notebook, which creates a working environment for interactive computing that combines code execution with computational documents. IPython Notebook makes the ...