Clickable hyperlinks
Dan Sommers
dan at tombstonezero.net
Wed Jan 4 01:07:05 EST 2017
On Wed, 04 Jan 2017 16:40:00 +1100, Steven D'Aprano wrote:
> On Wednesday 04 January 2017 15:46, Deborah Swanson wrote:
>
>> Steven D'Aprano wrote, on January 03, 2017 8:04 PM
> [...]
>>> Of course you have to put quotes around them to enter them in
>>> your source code.
>>> We don't expect this to work:
>>>
>>> print(Hello World!)
>>>
>>> you have to use a string literal with quotes:
>>>
>>> print('Hello World!')
>>>
>>> Same for all of the above.
>
>> I didn't try printing them before, but I just did. Got:
>>
>>>>> print([Example](http://www.example.com)
>>
>> SyntaxError: invalid syntax (arrow pointing at the colon)
>
> You missed the part where I said you have to put them in quotes.
ObPython: "When I've got these antlers on I am dictating and when I
take them off I am not dictating." :-)
More information about the Python-list
mailing list