DAEHYUN KIM

  • 분류 전체보기 (51)
    • Curriculum Vitae (0)
    • Research (11)
      • FPGA Security (2)
      • Spiking Neural Network (4)
      • RRAM (3)
    • Graduate School (31)
      • TA Life (0)
      • Preparation (3)
      • Research Life (1)
      • To Do (0)
      • GRA Project (0)
      • Course Work (25)
      • About the ML (1)
    • USA Life (6)
    • Travel (0)
    • Study (1)
      • Undergraduate (1)
    • Hidden Page (0)
    • Seminar (0)
    • Tools (2)
      • Python (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
/ /

How to input a string without quotation marks?

:)= 2019. 9. 22. 02:30
2019. 9. 22. 02:30

https://stackoverflow.com/questions/37404134/in-python-is-there-anyway-to-input-a-string-without-quotation-marks

 

In python, is there anyway to input a string without quotation marks?

I want user to input a name of a table, table = str(input("table: ")) works, but it's kind of annoying to put 'name' everytime instead of just name, is there any work around for this?

stackoverflow.com

 

Use the raw_input

저작자표시 비영리 동일조건 (새창열림)

'Tools > Python' 카테고리의 다른 글

Functions  (0) 2018.12.28

+ Recent posts

Powered by Tistory, Designed by wallel
Rss Feed and Twitter, Facebook, Youtube, Google+

티스토리툴바