반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Java
- Excel
- PostgreSQL
- Apache
- math
- dataframe
- Google Spreadsheet
- SQL
- Github
- Google Excel
- google apps script
- c#
- PANDAS
- matplotlib
- Tkinter
- hive
- PySpark
- list
- Python
- Redshift
- numpy
- string
- django
- array
- 파이썬
- Mac
- GIT
- Kotlin
- gas
Archives
- Today
- Total
목록python user input 받기 (1)
달나라 노트

Python에서 input method는 python file 실행 시 잠깐 실행을 멈추고 user의 input값을 받을 수 있도록 합니다. input('input message') # 1 val_test = input('input message') # 2 Syntax는 위와 같습니다. 1. input을 적으면 바로 input 기능을 사용할 수 있으며, 괄호 안에 input을 요청할 때 출력할 메세지를 입력할 수 있습니다. (메세지를 입력하지 않아도 기능적으론 문제 없이 잘 실행됩니다.) 2. 2번처럼 input을 다른 변수에 할당하여 input받은 값을 저장할 수 있습니다. val_input = input('Please enter any key : ') print(val_input) 위 코드를 실행해보..
Python/Python Basic
2021. 6. 11. 01:44