On 2017-01-09 14:33, Deborah Swanson wrote:
> Ok, here is the crux of this thread's communication problem. I
> didn't ask, or particularly care for all these lectures on the
> technology of terminal emulators. I asked how to code Python to
> make clickable links.
The crux of the problem is that wo
On Mon, Jan 9, 2017 at 8:33 PM, Michael Torrie wrote:
> On 01/09/2017 06:02 PM, Deborah Swanson wrote:
>> Fair enough. I only suggested that they could have started their own
>> thread, but mainly just to point out that they would have been off-topic
>> if they did. I didn't demand that they do so
On 01/09/2017 06:02 PM, Deborah Swanson wrote:
> Fair enough. I only suggested that they could have started their own
> thread, but mainly just to point out that they would have been off-topic
> if they did. I didn't demand that they do so, I just wanted them to
> think about it.
I don't see how i
Larry Martell wrote, on January 09, 2017 4:11 PM
>
> On Mon, Jan 9, 2017 at 5:33 PM, Deborah Swanson
> wrote:
> > Ok, here is the crux of this thread's communication problem. I
didn't
> > ask, or particularly care for all these lectures on the technology
of
> > terminal emulators. I asked how
On Mon, Jan 9, 2017 at 5:33 PM, Deborah Swanson
wrote:
> Ok, here is the crux of this thread's communication problem. I didn't
> ask, or particularly care for all these lectures on the technology of
> terminal emulators. I asked how to code Python to make clickable links.
>
> Since all of you are
Tim Chase wrote, on January 09, 2017 5:53 AM
>
> On 2017-01-09 05:00, Deborah Swanson wrote:
> > Code does in fact have the power to control what happens
> > in the console. How do you think Linux does it on their terminals
with
> > clickable links? Granted, the code may have to specify parameter
On 01/09/2017 10:27 AM, Michael Torrie wrote:
>> You can use tkinter (code
>> in a program) to make clickable links in the console,
>
> Unless you're talking about an implementation of a console or terminal
> emulator in tkinter, this is incorrect. Tkinter does not do anything
> with standard ou
On 01/09/2017 06:00 AM, Deborah Swanson wrote:
> Rhodri James wrote, on January 09, 2017 4:28 AM
>>
>> Nope. PyCharm outputs text to the console that the console
>> chooses to
>> interpret as a link and makes clickable. As Stephen pointed
>> out right
>> back at the beginning of this thread,
On 09/01/17 13:53, Tim Chase wrote:
On 2017-01-09 05:00, Deborah Swanson wrote:
The console is a dead thing, it has no mind or soul to choose
anything. Surely an educated person would know that.
Pretty much every quality system administrator I know uses the
terminal. Just about all of the bes
On 2017-01-09 05:00, Deborah Swanson wrote:
> Code does in fact have the power to control what happens
> in the console. How do you think Linux does it on their terminals
> with clickable links? Granted, the code may have to specify
> parameters for a particular console, but I certainly wasn't aski
Rhodri James wrote, on January 09, 2017 4:28 AM
>
> Nope. PyCharm outputs text to the console that the console
> chooses to
> interpret as a link and makes clickable. As Stephen pointed
> out right
> back at the beginning of this thread, printing the textual
> string that
> is a URL could
On 05/01/17 02:53, Deborah Swanson (Deborah Swanson) wrote:
Rhodri James wrote, on January 05, 2017 3:53 AM
On 05/01/17 04:52, Deborah Swanson wrote:
My original question was in fact whether there was a way to make
clickable hyperlinks in a console. I was persuaded after about 10
replies that
Rhodri James wrote, on January 05, 2017 3:53 AM
>
> On 05/01/17 04:52, Deborah Swanson wrote:
> > My original question was in fact whether there was a way to make
> > clickable hyperlinks in a console. I was persuaded after about 10
> > replies that the answer was no,
>
> Then you were persuaded wr
Terry Reedy wrote, on January 04, 2017 10:18 PM
>
> On 1/5/2017 12:11 AM, Deborah Swanson wrote:
> > Terry Reedy wrote, on January 04, 2017 3:58 PM
>
> >> To have a string interpreted as a clickable link, you send the
string to
> >> software capable of creating a clickable link, plus the informatio
On Thu, Jan 5, 2017 at 3:19 PM, Deborah Swanson
wrote:
> I downloaded the code from the Package Index, but there really wasn't
> much in it. This is the entire .py file:
Ehh, wrong file. Try the one in the standard library:
https://github.com/python/cpython/blob/master/Lib/antigravity.py
https:/
On Thu, Jan 5, 2017 at 2:24 PM, D'Arcy Cain wrote:
> Think of it this way. You drop a ring down a drain. You can ask two
> questions, "How do I remove a drain trap?" or "How do I recover a ring that
> I dropped down the drain?" If you ask the first question you will get lots
> of advice on tool
On 2017-01-04 07:07 PM, Deborah Swanson wrote:
> D'Arcy Cain wrote, on Wednesday, January 04, 2017 5:03 AM
>> In all the messages in this thread I still don't understand what this
>> "teensy advantage" is supposed to be. Do you want to be able
>> to do this:
>>
>>make_web_link(http://...)
>>
>
On 2017-01-04 05:58 PM, Deborah Swanson wrote:
>> the user to go and authenticate, you can simply
>> webbrowser.open("http://.../";) and it'll DTRT.
>
> Thank you, thank you! Finally, at least one person on this list knows
> about something (anything) in the python world that is internet aware.
On Wed, 4 Jan 2017 14:58:42 -0800, "Deborah Swanson"
declaimed the following:
>Thank you, thank you! Finally, at least one person on this list knows
>about something (anything) in the python world that is internet aware.
>It's also occurred to me that Beautifulsoup downloads data from a url,
>so
On 01/04/2017 03:58 PM, Deborah Swanson wrote:
> Thank you, thank you! Finally, at least one person on this list knows
> about something (anything) in the python world that is internet aware.
> It's also occurred to me that Beautifulsoup downloads data from a url,
> so that code must have access to
Chris Angelico wrote, on January 04, 2017 4:16 AM
>
> Yeah, there's no simple answer; however, you'll find that
> Python on many platforms is entirely capable of popping a URL
> up in the user's default browser. Check this out:
>
> >>> import antigravity
I downloaded the code from the Package Inde
This thread does lead to the question: Is the Url type in python less
first-class than it could be?
In scheme I could point to something like this
https://docs.racket-lang.org/net/url.html
Is there something equivalent in python?
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 5, 2017 at 9:58 AM, Deborah Swanson
wrote:
> Chris Angelico wrote, on January 04, 2017 4:16 AM
>> This uses the 'webbrowser' module, which knows about a number
>> of different ways to open a browser, and will attempt them
>> all. So if you can figure out the UI part of things, actually
On 1/4/2017 4:32 AM, Deborah Swanson wrote:
> My original question was whether python had anything to provide this
> functionality, and the answer appears to be a resounding NO!!!
I would say 'Yes, but with user effort'.
To have a string interpreted as a clickable link, you send the string to
s
On 2017-01-04, Michael Torrie wrote:
> On my Linux machine, the terminal emulators I've used all make a regular
> url printed out into a clickable link (or at least a right-clickable
> link). This is just something they try to do with all things that look
> like urls. Sometimes it's helpful, of
On 2017-01-03, Deborah Swanson wrote:
> Grant Edwards wrote, on January 03, 2017 3:13 PM
>>
>> On 2017-01-03, Deborah Swanson wrote:
>>
>> > I'm sorry, I should have said a GUI console because I
>> wouldn't expect
>> > a text-based console to produce clickable links.
>>
>> What's a "GUI console"?
Chris Angelico wrote, on January 04, 2017 4:16 AM
>
> On Wed, Jan 4, 2017 at 10:43 PM, Deborah Swanson
> wrote:
> > I'm quite well aware by now that there is no one-sentence
> answer to my
> > original question, if there's any coherent answer at all.
> Them's the
> > breaks. Live with it or live w
Deborah - please trim your quoted text.
On 2017-01-04 04:32 AM, Deborah Swanson wrote:
> Thanks, Steven. Yes, of course if you want to print strings you must
> enclose them in quotes. I think you learn that in Week 1 of any
> introductory course on Python.
Closer to minute one. When I investigat
On Wed, Jan 4, 2017 at 10:43 PM, Deborah Swanson
wrote:
> I'm quite well aware by now that there is no one-sentence answer to my
> original question, if there's any coherent answer at all. Them's the
> breaks. Live with it or live without it, it doesn't care.
Yeah, there's no simple answer; howev
D'Arcy Cain wrote, on Wednesday, January 04, 2017 5:03 AM
>
> Deborah - please trim your quoted text.
Yes, I will. Some lists want to have it all to review in one message, some want
it trimmed to just the lines you are responding to. I was just waiting to see
what this list wants.
> On 2017-01-
Steve D'Aprano wrote, on January 04, 2017 2:39 AM
>
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> > Thanks, Steven. Yes, of course if you want to print strings
> you must
> > enclose them in quotes. I think you learn that in Week 1 of any
> > introductory course on Python.
> >
> > But w
On Tue, 03 Jan 2017 11:46:16 -0800, Deborah Swanson wrote:
> Does python have an equivalent function? Probably the most common use
> for it would be output to the console, similar to a print statement, but
> clickable.
Write it as HTML code save to temp file and call the browser which loads the
Steve D'Aprano wrote, on January 04, 2017 2:20 AM
>
> On Wed, 4 Jan 2017 03:46 pm, Deborah Swanson wrote:
>
> > As I've mentioned in other posts on this thread, I'm now
> thinking that
> > I need to write a class to do this, and find out how
> Firefox and url
> > aware terminals in Linux do it. The
On Wed, 4 Jan 2017 03:46 pm, Deborah Swanson wrote:
> As I've mentioned in other posts on this thread, I'm now thinking that I
> need to write a class to do this, and find out how Firefox and url aware
> terminals in Linux do it. There must be a way.
A GUI application can interpret text any way
d
be able to change the subject without breaking the thread:
Clickable hyperlinks
âö£âö RE: Clickable hyperlinks
âöé âö£âö Re: RE: Clickable hyperlinks
âöé âööâö RE: Clickable hyperlinks
âöé âööâö Threading [was Re: Clickable hyperlinks]
âöéâööâö Re: Threading
âö£âö RE: C
On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
> Thanks, Steven. Yes, of course if you want to print strings you must
> enclose them in quotes. I think you learn that in Week 1 of any
> introductory course on Python.
>
> But we aren't trying to print strings here, the point is to produce
> cl
Steven D'Aprano wrote, on January 03, 2017 9:40 PM
>
> 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:
On 2017-01-04 08:44 AM, Rodrigo Bistolfi wrote:
> 2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
>> Aside: you've actually raised a fascinating question. I wonder whether
>> there
>> are any programming languages that understand URLs as native data types, so
>> that *source code* starting with http://
Steven D'Aprano wrote, on January 03, 2017 8:04 PM
>
> On Wednesday 04 January 2017 14:04, Deborah Swanson wrote:
>
> > Steve D'Aprano wrote, on January 03, 2017 4:56 PM
> [...]
> >> Python can't force the console to treat something as a clickable
> >> link, if the console has no capacity for click
2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> Aside: you've actually raised a fascinating question. I wonder whether
> there
> are any programming languages that understand URLs as native data types, so
> that *source code* starting with http:
etimes the topic just naturally evolves to the point that
a change in subject is sensible. Take this thread for example: the topic has
drifted from "Clickable hyperlinks" to talking about email threading. I should
be able to change the subject without breaking the
thread:
Clickabl
On Wednesday 04 January 2017 14:04, Deborah Swanson wrote:
> Steve D'Aprano wrote, on January 03, 2017 4:56 PM
[...]
>> Python can't force the console to treat something as a
>> clickable link, if the console has no capacity for clickable
>> links. Nor can Python predict what format the console us
"Deborah Swanson" writes:
>
> 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)
>
With respect, if you typed that at python then it's probably a good idea to
take a step back and
On 01/03/2017 08:28 PM, Deborah Swanson wrote:
> I think you're making this too complicated. I meant a console in a GUI
> application.
Ahh. Well, a "console in a GUI application" is whatever you make it[1]. There's
no single "GUI console" hence my confusion and the confusion expressed by the
oth
Michael Torrie wrote, on January 03, 2017 8:05 PM
>
> On 01/03/2017 08:46 PM, Deborah Swanson wrote:
> > Actually it is, or at least it doesn't happen in all email readers.
> > Mine, for instance, never breaks up threads.
>
> Mine doesn't either, which illustrates the issue. This
> message, for exa
On Tue, 3 Jan 2017 20:46:31 -0800, "Deborah Swanson"
declaimed the following:
>
>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)
>
As I mentioned to someone else earlier..
On Tue, Jan 3, 2017 at 10:46 PM, Deborah Swanson
wrote:
>
>
> 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)
As Steve had said, you need to put everything inside quotes. Also,
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 stri
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 t
Steve D'Aprano wrote, on January 03, 2017 4:56 PM
> On Wed, 4 Jan 2017 10:32 am, Deborah Swanson wrote:
>
>
> > The GUI consoles I have are in Pycharm, the IDLE that comes with
> > Anaconda, and Spyder. PyCharm and IDLE both ask for internet access
> > when I open them, so they're capable of openi
On 01/03/2017 08:46 PM, Deborah Swanson wrote:
> Actually it is, or at least it doesn't happen in all email readers.
> Mine, for instance, never breaks up threads.
Mine doesn't either, which illustrates the issue. This message, for example
appears under a long thread that started out life as "me
David wrote, on January 03, 2017 6:36 PM
>
> On 4 January 2017 at 11:50, Deborah Swanson
> wrote:
> > Erik wrote, on January 03, 2017 3:30 PM
> >>
> >> When you start a new topic on the list, could you please
> write a new
> >> message rather than replying to an existing message and
> changing the
On 4 January 2017 at 11:50, Deborah Swanson wrote:
> Erik wrote, on January 03, 2017 3:30 PM
>>
>> When you start a new topic on the list, could you please write a new
>> message rather than replying to an existing message and changing the
>> title/subject?
>>
> Certainly. I've been on many other
On 01/03/2017 04:32 PM, Deborah Swanson wrote:
> The GUI consoles I have are in Pycharm, the IDLE that comes with
> Anaconda, and Spyder. PyCharm and IDLE both ask for internet access when
> I open them, so they're capable of opening links, but whether that means
> their output space is capable of
Erik wrote, on January 03, 2017 3:30 PM
> To: python-list@python.org
> Subject: Re: Clickable hyperlinks
>
> Hi.
>
> On 03/01/17 19:46, Deborah Swanson wrote:
> > Excel has a formula:
>
> When you start a new topic on the list, could you please write a new
> m
On Wed, 4 Jan 2017 10:32 am, Deborah Swanson wrote:
> The GUI consoles I have are in Pycharm, the IDLE that comes with
> Anaconda, and Spyder. PyCharm and IDLE both ask for internet access when
> I open them, so they're capable of opening links, but whether that means
> their output space is capa
On 2017-01-03 11:46, Deborah Swanson wrote:
> Excel has a formula:
>
> =HYPERLINK(url,description)
>
> that will put a clickable link into a cell.
>
> Does python have an equivalent function? Probably the most common
> use for it would be output to the console, similar to a print
> statement, but c
Grant Edwards wrote, on January 03, 2017 3:13 PM
>
> On 2017-01-03, Deborah Swanson wrote:
>
> > I'm sorry, I should have said a GUI console because I
> wouldn't expect
> > a text-based console to produce clickable links.
>
> What's a "GUI console"?
>
> --
> Grant Edwards grant.b.edw
Hi.
On 03/01/17 19:46, Deborah Swanson wrote:
> Excel has a formula:
When you start a new topic on the list, could you please write a new message
rather than replying to an existing message and changing the title/subject?
For those reading the list in a threaded email client, this message is sh
On 2017-01-03, Deborah Swanson wrote:
> I'm sorry, I should have said a GUI console because I wouldn't expect a
> text-based console to produce clickable links.
What's a "GUI console"?
--
Grant Edwards grant.b.edwardsYow! I want you to MEMORIZE
Devin Jeanpierre wrote, on January 03, 2017 12:57 PM
>Sadly, no. :( Consoles (and stdout) are just text, not hypertext. The
way to
>make an URL clickable is to use a terminal that makes URLs clickable,
and
>print the URL:
>
>
>print("%s: %s" % (description, url))
>
>
>
>
>-- Devin
I'm sorry, I s
-
From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On
Behalf Of Deborah Swanson
Sent: Tuesday, January 03, 2017 1:35 PM To: 'Devin Jeanpierre'
Cc: 'comp.lang.python'
Subject: RE: Re: Clickable hyperlinks
Devin Jeanpierre wrote, on January 03, 2017 12:5
tever... I think I actually just sub-classed url.parse or something)
-Original Message-
From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On
Behalf Of Devin Jeanpierre
Sent: Tuesday, January 03, 2017 12:57 PM To: pyt...@deborahswanson.net
Cc: comp.lang.python
Sub
Sadly, no. :( Consoles (and stdout) are just text, not hypertext. The way to
make an URL clickable is to use a terminal that makes URLs clickable, and print
the URL:
print("%s: %s" % (description, url))
-- Devin
On Tue, Jan 3, 2017 at 11:46 AM, Deborah Swanson
wrote:
> Excel has a formula:
Rhodri James wrote, on January 05, 2017 3:53 AM
>
> On 05/01/17 04:52, Deborah Swanson wrote:
> > My original question was in fact whether there was a way to make
> > clickable hyperlinks in a console. I was persuaded after about 10
> > replies that the answer was no,
>
> Then you were persuade
Terry Reedy wrote, on January 04, 2017 10:18 PM
>
> On 1/5/2017 12:11 AM, Deborah Swanson wrote:
> > Terry Reedy wrote, on January 04, 2017 3:58 PM
>
> >> To have a string interpreted as a clickable link, you send the
string to
> >> software capable of creating a clickable link, plus the informat
On 05/01/17 04:52, Deborah Swanson wrote:
My original question was in fact whether there was a way to make
clickable hyperlinks in a console. I was persuaded after about 10
replies that the answer was no,
Then you were persuaded wrong; the actual answer was "this isn't a
meaningful question si
On 1/5/2017 12:11 AM, Deborah Swanson wrote:
Terry Reedy wrote, on January 04, 2017 3:58 PM
To have a string interpreted as a clickable link, you send the string
to
software capable of creating a clickable link, plus the information
'this is a clickable link'*. There are two ways to tag a s
On Thursday 05 January 2017 14:22, Rustom Mody wrote:
> This thread does lead to the question:
> Is the Url type in python less first-class than it could be?
>
> In scheme I could point to something like this
> https://docs.racket-lang.org/net/url.html
Those docs say:
"To access the text of a d
Terry Reedy wrote, on January 04, 2017 3:58 PM
>
> On 1/4/2017 4:32 AM, Deborah Swanson wrote:
>
> > My original question was whether python had anything to provide this
> > functionality, and the answer appears to be a resounding NO!!!
>
> I would say 'Yes, but with user effort'.
>
> To have
Chris Angelico wrote, on January 04, 2017 8:27 PM
>
> On Thu, Jan 5, 2017 at 3:19 PM, Deborah Swanson
> wrote:
> > I downloaded the code from the Package Index, but there really
wasn't
> > much in it. This is the entire .py file:
>
> Ehh, wrong file. Try the one in the standard library:
>
htt
Chris Angelico wrote, on January 04, 2017 3:49 PM
>
> On Thu, Jan 5, 2017 at 9:58 AM, Deborah Swanson
> wrote:
> >
> > Thank you, thank you! Finally, at least one person on this list
knows
> > about something (anything) in the python world that is internet
aware.
>
> We've been all talking a
On 01/04/2017 09:19 PM, Deborah Swanson wrote:
> Or, take a look at import's code and figure out how it opens a url in a
> browser. I imagine it's the 'webbrowser' module you mention. If it tries
> several methods, just pick one that will work for you.
webbrowser is part of the python standard lib
On Thu, Jan 5, 2017 at 3:19 PM, Deborah Swanson
wrote:
> I downloaded the code from the Package Index, but there really wasn't
> much in it. This is the entire .py file:
Ehh, wrong file. Try the one in the standard library:
https://github.com/python/cpython/blob/master/Lib/antigravity.py
https:/
Chris Angelico wrote, on January 04, 2017 4:16 AM
>
> Yeah, there's no simple answer; however, you'll find that
> Python on many platforms is entirely capable of popping a URL
> up in the user's default browser. Check this out:
>
> >>> import antigravity
I downloaded the code from the Package
On Thu, Jan 5, 2017 at 2:24 PM, D'Arcy Cain wrote:
> Think of it this way. You drop a ring down a drain. You can ask two
> questions, "How do I remove a drain trap?" or "How do I recover a ring that
> I dropped down the drain?" If you ask the first question you will get lots
> of advice on tool
This thread does lead to the question:
Is the Url type in python less first-class than it could be?
In scheme I could point to something like this
https://docs.racket-lang.org/net/url.html
Is there something equivalent in python?
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-01-04 07:07 PM, Deborah Swanson wrote:
D'Arcy Cain wrote, on Wednesday, January 04, 2017 5:03 AM
In all the messages in this thread I still don't understand what this
"teensy advantage" is supposed to be. Do you want to be able
to do this:
make_web_link(http://...)
instead of:
On 2017-01-04 05:58 PM, Deborah Swanson wrote:
the user to go and authenticate, you can simply
webbrowser.open("http://.../";) and it'll DTRT.
Thank you, thank you! Finally, at least one person on this list knows
about something (anything) in the python world that is internet aware.
Lots
On 01/04/2017 03:58 PM, Deborah Swanson wrote:
> Thank you, thank you! Finally, at least one person on this list knows
> about something (anything) in the python world that is internet aware.
> It's also occurred to me that Beautifulsoup downloads data from a url,
> so that code must have access to
D'Arcy Cain wrote, on Wednesday, January 04, 2017 5:03 AM
>
> Deborah - please trim your quoted text.
Yes, I will. Some lists want to have it all to review in one message,
some want it trimmed to just the lines you are responding to. I was just
waiting to see what this list wants.
> On 2017-01-
On 1/4/2017 4:32 AM, Deborah Swanson wrote:
My original question was whether python had anything to provide this
functionality, and the answer appears to be a resounding NO!!!
I would say 'Yes, but with user effort'.
To have a string interpreted as a clickable link, you send the string to
so
On Thu, Jan 5, 2017 at 9:58 AM, Deborah Swanson
wrote:
> Chris Angelico wrote, on January 04, 2017 4:16 AM
>> This uses the 'webbrowser' module, which knows about a number
>> of different ways to open a browser, and will attempt them
>> all. So if you can figure out the UI part of things, actually
Chris Angelico wrote, on January 04, 2017 4:16 AM
>
> On Wed, Jan 4, 2017 at 10:43 PM, Deborah Swanson
> wrote:
> > I'm quite well aware by now that there is no one-sentence
> answer to my
> > original question, if there's any coherent answer at all.
> Them's the
> > breaks. Live with it or
On 2017-01-04, Michael Torrie wrote:
> On my Linux machine, the terminal emulators I've used all make a regular
> url printed out into a clickable link (or at least a right-clickable
> link). This is just something they try to do with all things that look
> like urls. Sometimes it's helpful, of
On 2017-01-03, Deborah Swanson wrote:
> Grant Edwards wrote, on January 03, 2017 3:13 PM
>>
>> On 2017-01-03, Deborah Swanson wrote:
>>
>> > I'm sorry, I should have said a GUI console because I
>> wouldn't expect
>> > a text-based console to produce clickable links.
>>
>> What's a "GUI cons
On 2017-01-04 08:44 AM, Rodrigo Bistolfi wrote:
2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
Aside: you've actually raised a fascinating question. I wonder whether
there
are any programming languages that understand URLs as native data types, so
that *source code* starting with http:// etc is unde
2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> Aside: you've actually raised a fascinating question. I wonder whether
> there
> are any programming languages that understand URLs as native data types, so
> that *source code* starting with http:
Deborah - please trim your quoted text.
On 2017-01-04 04:32 AM, Deborah Swanson wrote:
Thanks, Steven. Yes, of course if you want to print strings you must
enclose them in quotes. I think you learn that in Week 1 of any
introductory course on Python.
Closer to minute one. When I investigated
On Wed, Jan 4, 2017 at 10:43 PM, Deborah Swanson
wrote:
> I'm quite well aware by now that there is no one-sentence answer to my
> original question, if there's any coherent answer at all. Them's the
> breaks. Live with it or live without it, it doesn't care.
Yeah, there's no simple answer; howev
Steve D'Aprano wrote, on January 04, 2017 2:39 AM
>
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> > Thanks, Steven. Yes, of course if you want to print strings
> you must
> > enclose them in quotes. I think you learn that in Week 1 of any
> > introductory course on Python.
> >
> >
Steve D'Aprano wrote, on January 04, 2017 2:20 AM
>
> On Wed, 4 Jan 2017 03:46 pm, Deborah Swanson wrote:
>
> > As I've mentioned in other posts on this thread, I'm now
> thinking that
> > I need to write a class to do this, and find out how
> Firefox and url
> > aware terminals in Linux do i
hange
the subject, but that sometimes the topic just naturally evolves to the
point that a change in subject is sensible. Take this thread for
example: the topic has drifted from "Clickable hyperlinks" to talking
about email threading. I should be able to change the subject without
br
On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
> Thanks, Steven. Yes, of course if you want to print strings you must
> enclose them in quotes. I think you learn that in Week 1 of any
> introductory course on Python.
>
> But we aren't trying to print strings here, the point is to produce
> c
On Wed, 4 Jan 2017 03:46 pm, Deborah Swanson wrote:
> As I've mentioned in other posts on this thread, I'm now thinking that I
> need to write a class to do this, and find out how Firefox and url aware
> terminals in Linux do it. There must be a way.
A GUI application can interpret text any way
able to change the subject without breaking the
thread:
Clickable hyperlinks
├─ RE: Clickable hyperlinks
│ ├─ Re: RE: Clickable hyperlinks
│ └─ RE: Clickable hyperlinks
│ └─ Threading [was Re: Clickable hyperlinks]
│└─ Re: Threading
├─ RE: Clickable hyperlinks
└─ Re: Clickable hyperlinks
Steven D'Aprano wrote, on January 03, 2017 9:40 PM
>
> 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 wor
Michael Torrie wrote, on January 03, 2017 8:05 PM
>
> On 01/03/2017 08:46 PM, Deborah Swanson wrote:
> > Actually it is, or at least it doesn't happen in all email readers.
> > Mine, for instance, never breaks up threads.
>
> Mine doesn't either, which illustrates the issue. This
> message, fo
"Deborah Swanson" writes:
>
> 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)
>
With respect, if you typed that at python then it's probably a good idea
to take a step b
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
1 - 100 of 120 matches
Mail list logo