やってみよう。
cpedialog - Project Hosting on Google Code
2010年9月26日日曜日
2010年9月18日土曜日
2010年9月7日火曜日
oracle Instant Client設定(windows)
下記のページからダウンロードして解凍する。
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
instantclient-basic-win32-11.2.0.1.0.zip (51,458,190 bytes)
*Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client
instantclient-sqlplus-win32-11.2.0.1.0.zip (758,913 bytes)
*Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
instantclient-odbc-win32-11.2.0.1.0.zip (744,125 bytes)
http://www.oracle.com/technology/global/jp/software/tech/oci/instantclient/htdocs/winsoft.html
環境変数追加
NLS_LANG Japanese_Japan.JA16SJIS
TNS_ADMIN D:\prog\instantclient_11_2
Path D:\prog\instantclient_11_2
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
instantclient-basic-win32-11.2.0.1.0.zip (51,458,190 bytes)
*Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client
instantclient-sqlplus-win32-11.2.0.1.0.zip (758,913 bytes)
*Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
instantclient-odbc-win32-11.2.0.1.0.zip (744,125 bytes)
http://www.oracle.com/technology/global/jp/software/tech/oci/instantclient/htdocs/winsoft.html
環境変数追加
NLS_LANG Japanese_Japan.JA16SJIS
TNS_ADMIN D:\prog\instantclient_11_2
Path D:\prog\instantclient_11_2
ファイル名前変更 Python
現在ディレクトリを読んでファイル名を変更するプログラム。
f[4:]という書き方が面白い。
f[4:]という書き方が面白い。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, sys | |
from stat import * | |
import shutil | |
for f in os.listdir(os.getcwd()): | |
if os.path.isfile(f) == True: | |
shutil.move(f,'2009'+f[4:]) |
登録:
投稿 (Atom)