전체 글111 Python 기본 입/출력 기본 출력print() 함수# 문자열 출력print("Hello World~!!")# 다양한 자료형 출력print(123)print(123.456)print(['a','b','c'])print({'a':100,'b':200,'c':300})...# 변수 값 출력name = "ahndrenaline"print(name) print() 함수 추가 옵션print() 함수는 기본적으로 출력 결과를 개행 한다. 만약 개행 하고 싶지 않다면 end 옵션을 사용하면된다.print("Hello", end=" ")print("Python")print("Apple", end=" and ")print("Banana") 문자열 포매팅출력할 문자열 앞에 f를 붙이면 문자열 포매팅을 사용할 수 있다.name = "Ahndrena.. 2024. 8. 24. 데이터 관련 사이트 데이터 단위 변환https://www.gbmb.org/ Data Units ConversionData Units Conversion Welcome to our online extended data storage unit conversion calculator. It is the best place where you can make conversions between a great number of various data units like byte, kilobyte, megabyte, terabyte, petabyte, and many otherwww.gbmb.org 2024. 8. 22. 시간 관련 사이트 유닉스 시간 변환 (밀리 세컨드)https://currentmillis.com/ Current MillisConvert milliseconds to date-time. Link to a moment.currentmillis.com 시간 계산https://kr.calc-time.com/ 시간계산 사이트시작 시각과 경과 시간부터 시각을 계산합니다. 시작 시각을 선택하고, 경과 시간을 입력해서 「시각을 계산한다」버튼을 클릭하면, 시작 시각부터 경과 시간후 (전)의 시각이 계산됩니다. 「현kr.calc-time.com 2024. 8. 22. Apache Kafka - Quick Start 카프카 얻기다운로드 : https://kafka.apache.org/downloadstar -xzf kafka_2.13-3.9.0.tgzcd kafka_2.13-3.9.0 카프카 기동Apache Kafka는 KRaft (Kafka Raft) 또는 ZooKeeper를 사용 하여 시작할 수 있다.KRaft 모드# Generate a Cluster UUIDKAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"# Format Log Directoriesbin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties# start the kafka Serverbin/kafka-server.. 2024. 8. 15. 이전 1 ··· 3 4 5 6 7 8 9 ··· 28 다음