< id="tt-body-category">
본문 바로가기 메뉴 바로가기

burningrizen

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

burningrizen

검색하기 폼
  • 분류 전체보기 (254)
    • development (14)
      • python (5)
      • django (4)
      • git (3)
      • ubuntu (1)
      • aws (1)
    • common (3)
      • tistory (2)
      • document (0)
    • python lecture (233)
      • basic (96)
      • concurrency (11)
      • functional programming (1)
      • cleancode (1)
      • common (6)
      • algorism (31)
      • programmers (65)
      • project (22)
  • 방명록

python lecture (233)
[edu] Wepe speapeak p

The inhabitants on planet P people speak a strange language, called language P. For us, this language is not so difficult to learn. After all, it is very similar to plain English, but every group of vowels is followed by a letter p and a repetition of the same group of vowels. A groups of vowels is either a sequence of one or more consecutive vowels (a,e,i,o and u) or the combination ij. As such..

python lecture/algorism 2018. 10. 2. 01:44
[edu] Pythagorean triples

A Pythagorean triple (a,b,c)(a,b,c) consists of three strictly positive integers aa, bb and cc, for which a2+b2=c2a2+b2=c2. The name is derived from the Pythagorean theorem, stating that every right triangle has side lengths satisfying the formula a2+b2=c2a2+b2=c2. Thus, Pythagorean triples describe the three integer side lengths of a right triangle. However, right triangles with non-integer sid..

python lecture/algorism 2018. 10. 2. 00:43
[edu] Monkeys and coconuts

Five pirates are shipwrecked on a desert island. They quickly determine that the only other inhabitant of the island is a monkey and that the only food is coconuts. They set about collecting as many coconuts as they can and put them all in a pile. By nightfall they are too tired to divide the harvest, so they agree to go to sleep and divvy up the coconuts the next morning.During the night one pi..

python lecture/algorism 2018. 10. 2. 00:00
[edu] 파이썬 시작하기 - 13 (work queue)

[폰트사이즈18 고딕 진하게] workqueue 에 push 하고 pop 할때 마다 매번 다른 쓰레드로 동작 import threading import time def foo(t): i = 0 while True: print(threading.currentThread().getName(), i) i += 1 time.sleep(t) class WorkQueue: def __init__(self): self.works = list() def push(self, cb, *args, **kwargs): self.works.append((cb, args, kwargs)) def pop(self): if len(self.works): work, args, kwargs = self.works.pop(0) t = t..

python lecture/basic 2018. 9. 24. 18:34
[edu] 파이썬 시작하기 - 12 (deque)

[Deque:queue] 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕from collections import deque q = deque() q.append(1) q.append(2) print(len(q)) print(q.popleft()) print(len(q)) print(q.popleft())

python lecture/basic 2018. 9. 24. 18:08
[edu] 파이썬 시작하기 - 11 (thread)

[Thread] 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 데몬쓰레드는 메인쓰레드가 종료되면 종료된다.import threading def sum(low, high): total = 0 for i in range(low, high): total += i print("sum=" + str(total)) t = threading.Thread(target=sum, args=(1, 100)) t.daemon = True t.start()

python lecture/basic 2018. 9. 24. 18:05
[edu] 코딩 스타일

[표기법] 카멜: camelCase 파스칼: PascalCase 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕 폰트 사이즈 12 고딕

python lecture/common 2018. 9. 21. 17:14
[edu] 파이썬 시작하기 - 10 (decorator)

[Decorator: func] - 로그를 남길때 - 성능을 측정할 때 - 유저의 상태를 남기기 위한 redirect [performance.py] 일반 함수에 사용될 경우import time def stop_watch(func): def wrapper(*args, **kwargs): start = time.time() result = func(*args, **kwargs) print("{}: delay={}".format(func.__name__, time.time()-start)) return result return wrapper class 함수에 사용될 경우 인자 맨앞에 self 를 위치 시킨다.import time def stop_watch(func): def wrapper(self, *args..

python lecture/basic 2018. 9. 21. 16:46
[edu] 공지사항

[설치해야 할 것들] Python or Django 수업> 파이참(community 버전, os 와 32/64bit 맞게 설치)https://www.jetbrains.com/pycharm/download > 파이썬(3.x 버전중 최신 설치)https://www.python.org/downloads/ 커스텀설치 -> 설치경로 C:\Python\Python3 Unity or C# 수업> 유니티(Unity 2017.x 중 최신 버전 설치)https://unity3d.com/kr/get-unity/download/archive?_ga=2.13946039.1666190288.1536216804-955964417.1536216804 Java 수업> 이클립스(os 와 32/64bit 맞게 설치)https://www...

python lecture/common 2018. 9. 6. 16:33
[edu]IT기본지식(스타트업,기획자,디자이너)

[프로그램의 본질은 소스코드] 우리는 굉장히 많은 컴퓨터 프로그램을 이용한다. 카카오톡 같은 메신저를 비롯해서 쇼핑, 게임, 소셜 등등 그 종류도 많고 우리 생활에 굉장히 밀접하다. 이런 프로그램들을 만들기 위해서는 프로그래밍 언어된 소스 코드를 작성해야 한다.그리고 그것을 컴퓨터가 알아 들을 수 있는 기계어로 번역해야 한다. 프로그래밍 언어로 작성된 소스 코드는 컴퓨터가 바로 알아듣고 실행할 수 없기 때문에 변환과정이 필요하다. 사람의 언어로 비유하면 영어 > 한국어 로 번역 과정이라고 할 수 있다. 번역하는 작업은 컴파일이라고 부른다. 프로그래밍 언어에는 c, c++, c#, java, python, javascript, ruby, 등등 굉장히 많은 언어들이 있다.이것들은 각각의 특징을 가지고 있고 ..

python lecture/common 2018. 8. 30. 11:05
이전 1 ··· 19 20 21 22 23 24 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 문서 비교
  • django
  • 장고 카톡 자동응답
  • 파이썬 입문
  • pycrypto
  • wsgi
  • PuTTYGen
  • Tistory
  • 면접답변
  • gitignore
  • 파이썬 프로그래밍
  • 파이썬 강좌
  • Python
  • chatbot
  • gitlab
  • virtualenv
  • 엑셀 비교
  • 장고 플러스친구 자동응답
  • django chatbot
  • 이미지 비교
  • 모바일 테마 적용
  • 모바일 스킨 적용
  • 플러스친구 자동응답
  • 파이썬 독학
  • 면접정답
  • 파이썬
  • admin.py
  • 문과 코딩
  • GIT
  • 장고
more
«   2025/11   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바