码迷,mamicode.com
首页 >  
搜索关键字:env    ( 6492个结果
文件操作
#!usr/bin/env python#-*-coding:utf-8-*-#复制文件import sysimport osimport tempfile'''注意区分 路径 目录和文件的区别。路径=目录 并 文件文件 是包含其路径的 分为 “绝对路径文件”,“相对路径文件”'''#得到执...
分类:其他好文   时间:2014-07-10 11:59:51    阅读次数:272
Teamcenter10 step-by-step installation in Linux env-Oracle services startup and shutdown
After following the first three posts about Oracle installation, you should finish installing Oracle successfully. We will further discuss how to star...
分类:数据库   时间:2014-07-10 11:07:13    阅读次数:393
简单的文本编辑器
#!/usr/bin/env pythonimport wxclass MainWindow(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, si...
分类:其他好文   时间:2014-07-07 17:37:18    阅读次数:142
php.ini配置
1.variables_ordervariables_order = "EGPCS"这个EGPCS就是说明用$_REQUEST数组获取内容的优先级,其字母的含义分别代表为:E代表$_ENV,G代表$_GET,P代表$_POST,C代表$_COOKIE,S代表$_SESSION。后面出现的数据会覆盖前...
分类:Web程序   时间:2014-07-07 14:19:13    阅读次数:268
Maven内置隐式变量(转)
Maven提供了三个隐式的变量可以用来访问环境变量,POM信息,和Maven Settingsenvenv变量,暴露了你操作系统或者shell的环境变量。便 如在Maven POM中一个对${env.PATH}的引用将会被${PATH}环境变量替换,在Windows中为%PATH%.projetcp...
分类:其他好文   时间:2014-06-29 18:57:44    阅读次数:163
getrrdinfo.py
#!/usr/bin/env python# coding=gbkimport sysimport osimport timeif __name__== '__main__': filename = sys.argv[1] nowtime = int(time.time()) st...
分类:其他好文   时间:2014-06-27 13:28:10    阅读次数:148
python - 沙盒环境 - virtualenv - 简明使用录
1. 不讲安装,没意思2. 使用virtualenv ENV # 建立环境,ENV你可以随便定,看起来像是 mkdir ENVcd ENV # 进目录呗source bin/activate # 启动 沙盒环境,你的命令行的开头,都会有明显的提示变化,哦~【感觉自己萌萌哒】deactivate #....
分类:编程语言   时间:2014-06-26 19:53:55    阅读次数:215
java JNI 调试出现的错误
java JNI 调试出现的错误ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../s....
分类:编程语言   时间:2014-06-25 21:02:35    阅读次数:395
Python lambda和reduce函数
看到一篇博文写lambda和reduce函数,笔者小痒了一下,用Python实现一下:   #! /usr/bin/env python # -*-coding:utf-8-*-   import time import math   def test_reduce():    start_time = time.clock()    print reduce[A1] (lam...
分类:编程语言   时间:2014-06-24 20:37:10    阅读次数:272
Teamcenter10 step-by-step installation in Linux env-Oracle Instance Creation
Configure Oracle environment It is recommended that user sets the specific environment for Oracle installation in ~/.bash_profile file prior to instan...
分类:数据库   时间:2014-06-24 15:26:00    阅读次数:611
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!