Discussion Overview
The discussion revolves around how to create extended, multi-line comments in Python, focusing on the use of triple quotes and the keyboard input required to type them. Participants explore various methods and share their experiences with formatting issues and software behavior.
Discussion Character
- Technical explanation
- Debate/contested
- Meta-discussion
Main Points Raised
- One participant expresses difficulty in finding the correct keys for typing triple quotes on a Qwerty keyboard.
- Another participant suggests that the triple quotes can be found two keys to the right of the 'L' key while using the Shift key.
- A later reply indicates that the num lock key might be involved in typing the quotes.
- Some participants clarify that the quotes typed are straight quotes, which may be automatically converted to curly quotes in certain programs like Word.
- There is a mention of a table listing left and right quotation marks with their corresponding codes.
- One participant emphasizes that only simple straight double quotes (ASCII 34) are needed for Python, not the curly versions.
- Another participant notes that the use of triple quotes for comments is not an actual block comment syntax in Python, referencing an external source for clarification.
Areas of Agreement / Disagreement
Participants generally agree on the need for straight quotes in Python, but there is no consensus on the best method for typing them or the nature of triple quotes as comments. The discussion remains unresolved regarding the most effective approach to achieve the desired formatting.
Contextual Notes
Some limitations include the dependence on keyboard layouts, software behavior regarding quote formatting, and the ambiguity surrounding the use of triple quotes in Python.