RE: Clickable hyperlinks

2017-01-03 Thread Deborah Swanson
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 cl

Re: Clickable hyperlinks

2017-01-03 Thread boB Stepp
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,

RE: Clickable hyperlinks

2017-01-03 Thread Steven D'Aprano
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 s

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-03 Thread Rustom Mody
On Wednesday, January 4, 2017 at 5:42:34 AM UTC+5:30, Dietmar Schwertberger wrote: > On 02.01.2017 12:38, Antonio Caminero Garcia wrote: > > The thing with the from-the-scratch full featured IDEs (Eclipse, IntelliJ, > > Pycharm) is that they look like a space craft dashboard and that > > unwarra

Re: Simulating int arithmetic with wrap-around

2017-01-03 Thread Gregory Ewing
Paul Rubin wrote: My first thought is towards the struct module, especially if you want to handle a bunch of such integers at the same time. Or maybe the array module or some combination. Or possibly numpy. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Clickable hyperlinks

2017-01-03 Thread Dan Sommers
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

Re: Hey, I'm new to python so don't judge.

2017-01-03 Thread Larry Hudson via Python-list
On 01/03/2017 04:27 PM, Callum Robinson wrote: On Wednesday, January 4, 2017 at 1:17:11 PM UTC+13, Chris Angelico wrote: On Wed, Jan 4, 2017 at 11:03 AM, Erik wrote: I doubt it's getting that far (I can see at least one syntax error in the code pasted). True true. In any case, the point is t

Mutable global state and threads

2017-01-03 Thread Kev Dwyer
Hello List, I came across some threading code in Some Other place recently and wanted to sanity-check my assumptions. The code (below) creates a number of threads; each thread takes the last (index -1) value from a global list of integers, increments it by one and appends the new value to the

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-03 Thread Antonio Caminero Garcia
On Tuesday, January 3, 2017 at 4:12:34 PM UTC-8, Dietmar Schwertberger wrote: > On 02.01.2017 12:38, Antonio Caminero Garcia wrote: > You did not try Wing IDE? It looks less like a spacecraft. Maybe you > like it. > Maybe the difference is that Wing is from Python people while the ones > you list

Re: Mutable global state and threads

2017-01-03 Thread Chris Angelico
On Wed, Jan 4, 2017 at 5:41 PM, Kev Dwyer wrote: > Hello List, > > I came across some threading code in Some Other place recently and wanted to > sanity-check my assumptions. > > The code (below) creates a number of threads; each thread takes the last > (index -1) value from a global list of integ

<    1   2