Re: Ann: New Python curses book

2021-04-15 Thread Rich Shepard

On Thu, 15 Apr 2021, Alan Gauld via Python-list wrote:


In the main() function the block of code starting with the 'with'
statement should be indented to be part of main(). It has been left at the
outermost indentation level.

The source code file is correct so check against that.


Thanks, Alan.

Rich
--
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-15 Thread Alan Gauld via Python-list
On 14/04/2021 19:55, Rich Shepard wrote:
> On Wed, 14 Apr 2021, Alan Gauld via Python-list wrote:
> 
>> The paper version should be fine (apart from one error on p44 which has
>> now been fixed!).
> 
> Alan,
> 
> What's the error and correction so I can change it in my dead tree version?
> 
> Rich

In the main() function the block of code starting with the 'with'
statement should be indented to be part of main().
It has been left at the outermost indentation level.

The source code file is correct so check against that.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-14 Thread Rich Shepard

On Wed, 14 Apr 2021, Alan Gauld via Python-list wrote:


The paper version should be fine (apart from one error on p44 which has
now been fixed!).


Alan,

What's the error and correction so I can change it in my dead tree version?

Rich
--
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-14 Thread Alan Gauld via Python-list
On 30/03/2021 12:12, Alan Gauld via Python-list wrote:
> I've just published, in Kindle and paperback formats,

I've just noticed that the kindle version has several indentation
problems in the code listings. I can't do anything to fix it
because it is all perfectly aligned in the Word file I submit,
it's caused somewhere in the Amazon conversion process. (In fact
it's possibly its OK on some Kindle devices/apps, just not
the web reader I was using!)

Hopefully the expected readership will be smart enough to:
a) figure it out from the context and
b) download the sample code which is correctly formatted.

The paper version should be fine (apart from one error
on p44 which has now been fixed!).

Apologies to anyone who got stung by this.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-12 Thread Alan Gauld via Python-list
On 12/04/2021 00:53, Daniel Nelson wrote:

>> (It should be available in most other Amazon stores too)
> 
> This looks handy, I'd love to buy a copy but I don't do business with
> Amazon if I can avoid it.  Any chance this will be available from other
> locations?

I tried to publish it on several open-source web sites but none
of them responded to me so I went with Amazon as the commercial
site most people turn to first and with the widest reach.
Also the Amazon publishing tools are very easy to use.
However, one of their conditions for low cost books is
exclusivity, so no it won't appear anywhere else unless I
increase the price significantly which I don't want to do.

What I might do is host the original translation of the C
document as a PDF on my own web site. But that's not likely
to show up in many searches! If I get round to that I'll
announce it here.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-11 Thread Daniel Nelson
On Tue, Mar 30, 2021 at 12:12:19PM +0100, Alan Gauld via Python-list wrote:
> I've just published, in Kindle and paperback formats,
> my book on "Programming curses with Python".
> 
> https://www.amazon.co.uk/dp/B091B85B77/
> 
> (It should be available in most other Amazon stores too)

This looks handy, I'd love to buy a copy but I don't do business with
Amazon if I can avoid it.  Any chance this will be available from other
locations?


signature.asc
Description: PGP signature
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-11 Thread Jack Dangler



On 4/10/21 4:29 PM, Russell via Python-list wrote:

I believe this is it:
https://www.amazon.com/dp/B091CL3DTK/ref=cm_sw_su_dp

But for some reason the ASIN is different.

William Ray Wing  wrote:

I???ve ordered the book (physical volume). It will fulfill a need I???ve had 
for some time.  Unfortunately, it is only available in the UK store, so the 
shipping cost by far outweighs the book???s cost.  Hope for other???s sake, it 
migrates to the other Amazon stores fairly quickly.

Thanks,
Bill


On Mar 30, 2021, at 7:12 AM, Alan Gauld via Python-list 
 wrote:

I've just published, in Kindle and paperback formats,
my book on "Programming curses with Python".

https://www.amazon.co.uk/dp/B091B85B77/

(It should be available in most other Amazon stores too)

I just found it and put it in the cart, and got this on checkout -


Items:$5.99

Shipping & handling:$0.00



Total before tax:$5.99

Estimated tax to be collected:$0.36



Order total:$6.35

It must be available here as well, now. (I'm in the US).

--
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-10 Thread Russell via Python-list
I believe this is it:
https://www.amazon.com/dp/B091CL3DTK/ref=cm_sw_su_dp

But for some reason the ASIN is different.

William Ray Wing  wrote:
> I???ve ordered the book (physical volume). It will fulfill a need I???ve had 
> for some time.  Unfortunately, it is only available in the UK store, so the 
> shipping cost by far outweighs the book???s cost.  Hope for other???s sake, 
> it migrates to the other Amazon stores fairly quickly.
> 
> Thanks,
> Bill
> 
>> On Mar 30, 2021, at 7:12 AM, Alan Gauld via Python-list 
>>  wrote:
>> 
>> I've just published, in Kindle and paperback formats,
>> my book on "Programming curses with Python".
>> 
>> https://www.amazon.co.uk/dp/B091B85B77/
>> 
>> (It should be available in most other Amazon stores too)
> 

-- 
rust
0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc
-- 
https://mail.python.org/mailman/listinfo/python-list


Source code link was: Re: Ann: New Python curses book

2021-03-31 Thread Alan Gauld via Python-list
On 31/03/2021 00:09, Alan Gauld via Python-list wrote:

> Watch this space. Hopefully tomorrow.

The source code is now available in a zip file at:

http://www.alan-g.me.uk/hills/PythonCursesCode.zip

Or via a link on the programming section of my
home page

http://www.alan-g.me.uk/

It is licensed using a Creative Commons license.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread Alan Gauld via Python-list
On 30/03/2021 19:52, Grant Edwards wrote:

> It is. I just bought the kindle version on the US site, and it renders
> fine in the cloud reader. It would be cool if you could cut/paste code
> examples from the book into IDLE or a text editor, but I've never been
> able to get the cloud reader to allow that sort of thing.

Blast! You just reminded me I meant to add a link to where
the source code zip lives! (Or will live once I put it there)
I'll do an update of the kindle book but I don't know
if you can get the update for free...

I'll also post the zip file url here once I've put it up.
Thanks for that reminder.

As for cut n paste, the requirement to write in MS Word
and convert to PDF/Kindle means that quotes etc get
all messed up. And as for Python indentation I shudder
to think. That's why I intended to put the source code up.

Watch this space. Hopefully tomorrow.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread Grant Edwards
On 2021-03-30, Alan Gauld via Python-list  wrote:
> On 30/03/2021 17:14, Grant Edwards wrote:
>
>> Is the kindle format readable via a web browser pointed at
>> read.amazon.com (AKA "Kindle Cloud Reader)?
>
> It seems to be, I downloaded the free sample and could
> read the first 2 chapters on the web reader.

It is. I just bought the kindle version on the US site, and it renders
fine in the cloud reader. It would be cool if you could cut/paste code
examples from the book into IDLE or a text editor, but I've never been
able to get the cloud reader to allow that sort of thing.

--
Grant



-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Ann: New Python curses book

2021-03-30 Thread Avi Gross via Python-list
Bill,

I went afterward to the US Amazon Site and the prices are in dollars and 
ordered the paperback for $5.99, no shipping cost with PRIME but I ordered, 
paradoxically, an assortment of mice alongside so it would have been free 
anyway. The Kindle version is $1.49

https://www.amazon.com/Programming-curses-Python-Alan-Gauld-ebook/dp/B091B85B77/ref=sr_1_2?dchild=1=alan+gauld=1617129871=8-2

The paperback has a different "cover" that says "Welcome to curses!" which 
sounds ominous. I might have chosen to call it a "Course on curses and cures" 
...

So depending on what country you are interested in, it may well be there but 
you need to not use the supplied URL and go there directly.

-Original Message-
From: Python-list  On 
Behalf Of William Ray Wing via Python-list
Sent: Tuesday, March 30, 2021 2:06 PM
To: Python 
Cc: William Ray Wing ; Python 
Subject: Re: Ann: New Python curses book

I’ve ordered the book (physical volume). It will fulfill a need I’ve had for 
some time.  Unfortunately, it is only available in the UK store, so the 
shipping cost by far outweighs the book’s cost.  Hope for other’s sake, it 
migrates to the other Amazon stores fairly quickly.

Thanks,
Bill

> On Mar 30, 2021, at 7:12 AM, Alan Gauld via Python-list 
>  wrote:
> 
> I've just published, in Kindle and paperback formats, my book on 
> "Programming curses with Python".
> 
> https://www.amazon.co.uk/dp/B091B85B77/
> 
> (It should be available in most other Amazon stores too)

--
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread Alan Gauld via Python-list
On 30/03/2021 17:14, Grant Edwards wrote:

> Is the kindle format readable via a web browser pointed at
> read.amazon.com (AKA "Kindle Cloud Reader)?

It seems to be, I downloaded the free sample and could
read the first 2 chapters on the web reader.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread Grant Edwards
On 2021-03-30, William Ray Wing via Python-list  wrote:

> I’ve ordered the book (physical volume). It will fulfill a need I’ve
> had for some time.  Unfortunately, it is only available in the UK
> store, so the shipping cost by far outweighs the book’s cost.  Hope
> for other’s sake, it migrates to the other Amazon stores fairly
> quickly.

It's available in the US:

  https://www.amazon.com/dp/B091B85B77/

  $1.49 kindle
  $5.99 paperback

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread William Ray Wing via Python-list
I’ve ordered the book (physical volume). It will fulfill a need I’ve had for 
some time.  Unfortunately, it is only available in the UK store, so the 
shipping cost by far outweighs the book’s cost.  Hope for other’s sake, it 
migrates to the other Amazon stores fairly quickly.

Thanks,
Bill

> On Mar 30, 2021, at 7:12 AM, Alan Gauld via Python-list 
>  wrote:
> 
> I've just published, in Kindle and paperback formats,
> my book on "Programming curses with Python".
> 
> https://www.amazon.co.uk/dp/B091B85B77/
> 
> (It should be available in most other Amazon stores too)

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-03-30 Thread Grant Edwards
On 2021-03-30, Alan Gauld via Python-list  wrote:

> I've just published, in Kindle and paperback formats,
> my book on "Programming curses with Python".
>
> https://www.amazon.co.uk/dp/B091B85B77/
>
> (It should be available in most other Amazon stores too)

Cool.

Is the kindle format readable via a web browser pointed at
read.amazon.com (AKA "Kindle Cloud Reader)?

The last kindle format programming book I bought[1] wasn't (which
wasn't made clear in the item description). It had to be read on an
actual kindle device or app (which made it virtually useless to me).

[1] Linux Driver Development for Embedded Processors - Second Edition

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list


Ann: New Python curses book

2021-03-30 Thread Alan Gauld via Python-list
I've just published, in Kindle and paperback formats,
my book on "Programming curses with Python".

https://www.amazon.co.uk/dp/B091B85B77/

(It should be available in most other Amazon stores too)

It is a complete rewrite of the Linux Documentation
Project's HowTo for the C ncurses library. It has the
same structure but all-new text and several new
chapters. All specific to the Python curses package.

I've kept the prices as low as Amazon permits (and
allowing for fluctuations in their costs). As such,
I will therefore make a few cents profit per book
from sales (full disclosure). However, I felt this
was the easiest and most effective way to get it
"out there" where it could be found.

I hope it's useful to somebody.

Special thanks to all who provided me with feedback
on its various iterations, especially Alex Kleider
and Bob Stepp who stuck with it right to the end.
Thanks guys.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list