Zoe's blog


  • Home

  • Categories

  • About

  • Archives

  • Tags

TIL - 0618-0622

Posted on 2018-06-18 | In TIL | 0 comments

0618

오늘 할 일

  • celery 이용해서 크롤링 실행 시간 줄이기
    • book_id를 받을때 book 객체를 생성하고
    • BookLocation.register_id Unique 속성 취소
  • django model 수업 듣기
Read more »

TIL - 0611-0615

Posted on 2018-06-11 | In TIL | 0 comments

0611

이번주 해야할 일 이번주는 학원이 쉬는 주. 그동안 좀 미뤄왔던 독서와 공부를 계획해야겠다.

  • 알고리즘 책 사서 공부하기
  • toy_project에 celery, reids 붙이기
Read more »

TIL - 0604-0608

Posted on 2018-06-08 | In TIL | 0 comments

0604

오늘 한 일

  • 주말동안 작성한 crawler 실습 내용 정리
  • Toy 프로젝트 README 작성하기
  • Djnago girls 실습
Read more »

Project 카카오톡 챗봇(세종대 도서 검색)-3

Posted on 2018-06-05 | In Project | 0 comments

프로젝트 이야기

프로젝트를 진행하면서 발생한 오류 및 여러가지 일들 정리

Read more »

TIL - 0528-0601

Posted on 2018-06-01 | In TIL | 0 comments

0528

오늘 할 일

  • python 6장
  • 내일 스터디할 부분 공부
Read more »

Python_cralwer 실습

Posted on 2018-05-31 | In Python | 0 comments

Github 주소

https://github.com/kahee/fc-webtoon-crawler

Read more »

Python_class 실습

Posted on 2018-05-25 | In Python | 0 comments

실습 문제

```console 도서 관리 프로그램 Library, Book, User클래스 구현 프로그램 시작시 도서 5권 정도를 가진 상태로 시작

Read more »

Python_모듈,패키지,프로그램

Posted on 2018-05-25 | In Python | 0 comments

5.5 파이썬 표준 라이브러리

누락된 키 처리하기 : setdefault(), defaultdict()

  • setdefault() : 딕셔너리에 키가 없는 경우 새 값이 사용된다. 존재하는 키에 다른 기본값을 할당하려 하면 키에 원래 값이 반환되고 아무것도 변환되지 않는다.
    In [3]: periodic_table = {'Hydrogen':1, 'Heliun':2}
    In [4]: carbon = periodic_table.setdefault('Carbon',12)
    In [5]: carbon
    Out[5]: 12
    In [6]: periodic_table
    Out[6]: {'Hydrogen': 1, 'Heliun': 2, 'Carbon': 12}
    #  존재하는 키 기본값 변경하기
    In [11]: helium = periodic_table.setdefault('Heliun',947)
    In [12]: helium
    Out[12]: 2
    In [13]: periodic_table
    Out[13]: {'Hydrogen': 1, 'Heliun': 2, 'Carbon': 12}
    
  • defaultdict() : 딕셔너리를 생성할 때 모든 새 키에 대한 기본값을 먼저 지정한다.
    빈 기본값을 반환하려면 ing(),정수0 , list()함수, 빈리스트[], dict()함수, 빈 딕셔너리{},그리고 인자가 입력되지 않았으면 초깃값은 None이다.
Read more »

TIL - 0521-0525

Posted on 2018-05-25 | In TIL | 0 comments

0521

오늘 할 일

  • python 5장까지 정리 및 공부
  • command arguments 크롤링 부분 만들기
    • command arguments리턴은 반드시 string으로 끝나야 한다.
Read more »

Project 카카오톡 챗봇(세종대 도서 검색)-2

Posted on 2018-05-24 | In Project | 0 comments

크롤링 구현 부분

  • 어려웠던 점
    • url파악하기
    • axa 형식 가져오는 것
    • 크롤링 파씽
Read more »
1 … 9 10 11 … 18
ZOE

ZOE

Junior Backend Developer

171 posts
13 categories
24 tags
RSS
GitHub
© 2020 ZOE
Powered by Jekyll
Theme - NexT.Muse