I'm currently writing the following code
cur.execute ("" "SELECT mahoseki_log.user_id, mahoseki_log.price_yen, login_log.timestamp, quest_log.timestamp FROM mahoseki_log INNER JOIN login_log ON mahoseki_log.user_id = login_log.user_id INNER JOIN quest_log ON login_log.user_id = quest_log.user_id WHERE (mahoseki_log.price_yen! ='None');"" ")
What does the "" "in this sentence mean?
I tried searching, but it didn't hit well ...
Probably a very basic question, I'm sorry, but thank you.
Answer # 1
Is it a notation for string literals mixed with line breaks?
For more information, go to "Triple Quotation Triple Quotation".
Answer # 2
Why don't you google with "python three quotes"?
Answer # 3
See string literals in the official documentation.
2.4.1. String and byte string literals
Simpler description: These types of literals are enclosed in the corresponding single or double quotes ('), and in the corresponding triple single or double quotes. You can also (usually called a triple-quoted string).
In a triple quote literal, you can write unescaped newlines and quotes as long as you don't terminate the literal with a triple unescaped quote character (and they remain in the string). .. ("Quart" here refers to the character used to start enclosing the string, either'or'.)
- python - about downloading youtube videos by youtube-dl
- python, about the fire spread step of forest fire simulation
- python - about hamiltonian neural networks
- python - about write loop to csv
- about python argument and data definition
- python 3x - about downloading anaconda
- python - about the optimum angle of rotation matrix
- i have a question about basic python problems
- python - about x-axis adjustment in matplotlib
- python - what i don't understand about yolo9000 (v2)
- about batch change of file name using python
- about the python speedtest code
- about the implementation of combinations in python
- please tell me about the role of python tag = "mychr"
- about python def issues
- about processing to exclude the character string group specified from list in python
- python 3x - please teach about the exchange of information with qthead
- pythonista - [python] questions about line splitting in dataframe
- python 3x - about return code of python3 subprocess
- python : Generation of messages with selected products in a telegram bot
- python : How to do insert correctly?
- Why is only the last field selected from Mysql in python?
- Python + Kivy: how to add a variable to a button
- python : Can't figure out how the secondary key works in Django
- python : One line output
- How to specify line number in sql (python)?
- Error writing data to the database. sqlite3 -python. Already my head hurts from this, I want to move on to the next tasks, but i
- python : Error when there is no entry in the database
- python : sql injection in queries