| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
- Collection
- ML
- 크롤러
- texttheme
- crawler
- 콜렉션
- function
- 다트
- 클래스
- pushnamed
- animation
- 플러터
- 함수
- set
- map
- 웹크롤러
- List
- 파이썬
- 코틀린
- kotlin
- Class
- textstyle
- Android
- package
- text
- Flutter
- import
- DART
- python
- variable
- Today
- Total
목록python (9)
조용한 담장
python https://docs.python.org/3/library/http.server.html python3 -m http.server 8080 --bind 192.168.0.2 node https://www.npmjs.com/package/http-server dart https://dart.dev/tutorials/server/httpserver import 'dart:async'; import 'dart:io'; import 'package:http_server/http_server.dart'; import 'package:path/path.dart' as p; Future main() async { final dir = VirtualDirectory('.') ..allowDirectory..
python 3.6 이후에는 f-String 을 쓰면 좋다. 이전엔 % format >>> world = "world" >>> "Hi, %s!" % world 'Hi, world!' >>> new = "new" >>> "Hi, %s %s!" % (new, world) 'Hi, new world!' 문자열과 변수가 따로 놀아 한눈에 안들어온다. 변수가 많아지면 더 복잡해진다. str.format() >>> "Hi, {} {}".format(new, world) 'Hi, new world' >>> "Hi, {1} {0}".format(new, world) 'Hi, world new' 여전히 따로 놀아서 보기 어렵다. >>> "Hi, {string1} ..
웹 크롤러 개발에 많이 사용하는 파이썬 라이브러리(python library) BeautifulSoup 의 공식 문서의 예제 코드들을 모았다. https://www.crummy.com/software/BeautifulSoup/bs4/doc/