When python can not find zope module

Import Iterface from zope.interface module with python interpreter through command line.
ImportError: No module named zope.interface
Caused by: Not set environment path
Solution: Run setenv.bat in the directory of INSTANCE_HOME \ bin
Note:% ~ pd1 only expand to driver name and path, see help call

分类:Python 时间:2010-09-26 人气:123
blog comments powered by Disqus


  • python os module in the Chinese language help file 2010-02-08

    python os module in the Chinese language help file Translator: butalnd translation in 2010.1.7 - 2010.1.8, personal blog: http://butlandblog.appspot.com/ Note that this module's function on unix are skipped most of the translation primarily for WINDO

  • python re module sub method 2010-04-16

    python re module sub method introduced re.sub function with regular expression-based replacement work >>> import re >>> re.search('[abc]', 'Mark') <_sre.SRE_Match object at 0x001C1FA8> >>> re.sub('[abc]', 'o', 'Mark') 'Mor

  • python os module API List 2010-08-06

    The standard library in Python os module contains the common operating system feature. If you want your program to work with platform-independent, then this module is particularly important. That it allows a program to be written without any changes,

  • Installing Python MySQLdb module on CentOS 2010-11-17

    Here you can find the Python MySQLdb module Download: http://pypi.python.org/pypi/MySQL-python/ After decompression, read README document: Must meet a list of reference dependence, Such as the need to install: yum intall mysql-devel Then, follow the

  • Python ConfigParser module to use 2011-05-23

    In the program using the configuration file to configure some parameters of flexibility is a very common thing, parsing the configuration file is not complicated, especially in Python, in the official release of the library to contain the library to

  • python glob module和 python通配符操作 2013-01-08

    >>> import glob #上面glob是python自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索,支持通配符操作 >>> print glob.glob(os.path.join('c:\\mydir\', "*.png")) File "<stdin>", line 1 print glob.glob(os.path.join('c:\\mydir\', &

  • vb class module in the module and the difference between 2010-10-21

    vb help files that, vb There are 3 types of modules: form module, standard modules, class modules. Not one module associated with a file, 3 modules corresponding to 3 different types of files. Form module stored in the frm file extension, standard ba

  • pycharm 使用心得(九)解决No Python interpreter selected的问题 2013-11-19

    PyCharm 是由JetBrains打造的一款 Python IDE.具有智能代码编辑器,能理解 Python 的特性并提供卓越的生产力推进工具:自动代码格式化.代码完成.重构.自动导入和一键代码导航等.这些功能在先进代码分析程序的支持下,使 PyCharm 成为 Python 专业开发人员和刚起步人员使用的有力工具. 初次安装完PyCharm后,新建项目时,遇到了No Python interpreter selected的问题. 意思是说没有找到Python解释器.那我们添加Python解

  • Python hashlib module (mainly record md5 encryption) 2010-10-21

    provides a python module for encrypted hash: hashlib One of the following major record md5 encryption >>> Import hashlib >>> M = hashlib.md5 () >>> M.update ("Nobody inspects") >>> M.update ("the spammish

  • python urllib2 module HTTPBasicAuthHandler certification in HTTPError bug 2010-09-07

    System winxp python version 2.6.6 Use python's urllib2 module to do HTTP Basic Access Authentication certification more than six times thrown HTTPError import urllib2 import os import re import time userAgent="Mozilla/5.0 (Windows; U; Windows NT 5.1;

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.046 (s). 12 q(s)