#-*- coding: utf-8 -*- import sys, osfrom subprocess import *import reimport OptionHelper class PackageNameMatch(object):'''''' def __init__(self):'''''' def match(self, s):permReg = re.compile(r'$')res = permReg.match(s)if res is not None:return res.group(1)return None def Option_I(argv):apkName = argv.pop(0)process = Popen(["python", "../androguard-master/androaxml.py","-i",apkName], stdout=PI..
외부 프로그램 & 스크립트 실행 시킨 후 반환 값 받기 from subprocess import * process = Popen(["python", "./androguard-master/androaxml.py","-i","./test/test.apk"], stdout=PIPE)(output, err) = process.communicate()exit_code = process.wait()print output 외부 프로그램 & 스크립트 실행 시키기 os.system("pause")
Window1) http://pypi.python.org/pypi/setuptools 에서 easy_install 설치 (python 경로에서 Scripts 디렉토리에 설치 됨) (64bit는 ez_setup.py를 다운받아 실행하면 설치가 된다.)2) easy_install 을 이용해 pip 설치 C:\Python27\Scripts\easy_install.exe pip3) pip 사용법 C:\Python27\Scripts\pip.exe install BeautifulSoup Linux$ get http://python-distribute.org/distribute_setup.py$ python distribute_setup.py$ get https://raw.github.com/pypa/pip/mast..
- Total
- Today
- Yesterday
- 파이썬 프로그래밍
- create-react-app 시작하기
- 최신 nodejs
- ubuntu node
- nginx cors
- rustup
- php로 자바스크립트 콘솔 출력
- Java 프로그래밍
- python tip
- 파이썬
- 문제해결
- 자바프로그래밍
- 배열에서 오브젝트 삭제하기
- java programming
- cros 방법
- node 최신버전
- Java
- 파이썬 팁
- Python
- 프로그래밍
- 프로그래밍구성방법
- 자바스크립트 배열 오브젝트 삭제
- 빈 컴포넌트
- react 시작하는 법
- cors 문제
- cors 해결방법
- cargo 설치 명령어
- 자바
- cros 에러
- Python Programming
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |