Engineering 295

vmware server trouble 해결

vmware server 버전을 사용할 때, 문제가 생겨 구글링을 통해서 해결했던 적이 있다. 지금(2010년 6월 기준)은 player 버전에서도 이미지를 생성할 수 있는것으로 하는데, 그때 해결 했던 내용들을 정리하고자 한다. vmserver 2 is a web based system. and works good with a internet connection. FAQ is for the windows systems - xp , vista , etc maybe windows 7 A users manual is located at http://www.vmware.com/pdf/vmserver2.pdf ( approx 4MB ) includes other o/s setups The system runs ..

Engineering/Etc 2010.06.09

입력커맨드에서 파일이름인자를 입력받고, 특정문자열뒤에다가 추가하는 python 예제

어디서 봤던 것인지 모르겠지만, 파일이름같은것을 입력받으면 다른 문자열뒤에다가 추가시켜주는 python 스크립트이다. 아래 예제를 보면 금방 이해할 듯. $ python spli.py Enter the file ex) comm.php, head.php...# aa, bb bb ['/var/www/aa', '/var/www/bb'] 소스 시작 #! /usr/bin/python applyfile=[] home='/var/www' file=raw_input("Enter the file ex) comm.php, head.php...# ") data_list = file.split(',') print data_list[1] for fs in file.split(','): filename=fs.strip() if ..

Engineering/Python 2010.06.09