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
-
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).
(Omitted)
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'.)
Related articles
- 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 : How to implement a table of Players that can have different numbers in different matches?
- Python SQLite3 no such table
- python : How to save entries from the terminal to a file
- python : How to read what the user entered and search in the database?
- python : How to delete the first record in a table in gino?
- python : Long table output from SQL in PyQT5 QTableWidget
- Passing parameter list to SQL query python [duplicate]
- python : What programming language to choose for working with data? [ Closed ]
- python : Unable to get responses from users in telegram bot
- python : Can I get a True\False response instead of a value in Sqlite?
Is it a notation for string literals mixed with line breaks?
For more information, go to "Triple Quotation Triple Quotation".