제목과 같은  케이스일때 

command 대신 control 키로 하면 먹힙니다.

근데 자주 쓰는 메일 보내기 같은경우  control + 엔터가  안먹어서 나같은경우 control + 3 으로 하니깐 잘 됩니다.


유용한단축키 

ㄴ/

ㄴc+a + u 

ㄴ i  - 중요표시

ㄴm

ㄴ v - 이동

ㄴf  - 전달 

ㄴb

ㄴK - 읽지 읽지않음

'mac' 카테고리의 다른 글

맥 gif 보는 방법  (0) 2017.10.30
맥에서 앱 다운로드 보안 관련해서  (0) 2017.10.26
mac  에서 iso 파일 실행  (0) 2017.10.01
mac 터미널 색 설정  (0) 2017.09.10
Posted by 이상욱1
,

1. 일단 윈도우용  파이썬3를 설치 - 커스터 마이징 인스톨로 해야한다 .

2. 환경변수를  잡아준다 .

http://redkreuz.tistory.com/181

 

C:\Program Files (x86)\Python36-32\Scripts

 

 

그러고나서  cmd 에서  해당 폴더로  들어가서 

python executeCrawling.py 를  실행

역시나  모듈이 없다고 나온다 .

일단  모듈 부터 설치해준다

 

모듈  리스트 

ㄴ pip install matplotlib

ㄴpip install selenium

ㄴpip install scrapy --- 그냥 주석처리 함

ㄴ pip install bs4

ㄴ pip install openpyxl

이렇게 까지  깔아주니깐 

크롬드라이버  깔라고 나옴

ㄴself.driver = webdriver.Chrome("C:/Users/PC/Downloads/chromedriver"); 파일명까지 적어줘야한다  경로만 잡아주지말고

ㄴ크롬 드라이버 경로 해서  유니코드 에러가 떴었는데  슬래쉬 문제인거 해결

ㄴ 에러메시지  SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position n 2-3: truncated \UXXXXXXXX escape

 

https://stackoverflow.com/questions/18084554/why-do-i-get-a-syntaxerror-for-a-unicode-escape-in-my-file-path

 

os가 달라서 엑셀 생성  문제가 있는듯 

OSError: [Errno 22] Invalid argument: 이렇게 떳는데

 

 

C:\Program Files (x86)\Python36-32\Scripts;

 

먼내용인지는 모르지만 일단  저장 

Command ""c:\program files (x86)\python36-32\python.exe" -u -c "import setuptool
s, tokenize;__file__='C:\\Users\\PC\\AppData\\Local\\Temp\\pip-build-z9pob7r8\\T
wisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().repl
ace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --rec
ord C:\Users\PC\AppData\Local\Temp\pip-ka0je_97-record\install-record.txt --sing
le-version-externally-managed --compile" failed with error code 1 in C:\Users\PC
\AppData\Local\Temp\pip-build-z9pob7r8\Twisted\

 

윈도우서 실행

python executeCrawlingFb_test.py

python executeCrawling.py


뽀식이 자리에 난 에러 

ㄴhttp://rocksea.tistory.com/332


  File "c:\users\김보연\appdata\local\programs\python\python36-32\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str

    return s.decode('utf_8')

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 33: invalid start byte


C:\Users\김보연>


C:\Users\김보연>


C:\Users\김보연>UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 33: invalid start byte

Posted by 이상욱1
,

맥 gif 보는 방법

mac 2017. 10. 30. 00:50

http://m.todayhumor.co.kr/view.php?table=total&no=8104924


해당 파일을 한번 클릭하시고 스페이스바를 누르시면 미리보기로 열수있는데 그럼 바로 움짤재생됩니다.

Posted by 이상욱1
,