개발/Python (2) 썸네일형 리스트형 파이썬 라이브러리 인스톨 python -m pip install --user scipy sudo python3 -m pip install requests http://blog.naver.com/PostView.nhn?blogId=nya10250&logNo=221164148109&parentCategoryNo=&categoryNo=7&viewDate=&isShowPopularPosts=true&from=search sudo easy_install pip pip install requests Linked List # Node 클래스 정의 class Node: def __init__(self, data): self.data = data self.next = None # LinkedList 클래스 (자료구조) 정의 class LinkedList: # 초기화 메소드 def __init__(self): dummy = Node("dummy") self.head = dummy self.tail = dummy self.current = None self.before = None self.num_of_data = 0 # Head Insert def append_head(self, data): new_node = Node(data) new_node.next = self.head.next self.head.next = new_no.. 이전 1 다음