Re: Start Python programming

2021-04-30 Thread Russell via Python-list
Gazoo  wrote:
> 
> 
> I'd like to start learning Python programming. What sites/tutorials
> could you recommend for beginner, please.
> 

I liked the book found at https://automatetheboringstuff.com/

You can read the whole book online. I think you used to be able to
download a copy too. It has lots of practical examples and is easy to
read/follow.

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


Re: [ANN] Free Python tutorial with exercises, cscx.org

2021-04-13 Thread Russell via Python-list
Jach Feng  wrote:
 
> Is there any reason a student/beginner learn Python now start from Python2?
> 
> --Jach

Only if you want a job porting python2 to python3. Python 2.x is
officially End Of Life.

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


Re: all versions of python fail to indent after conditional statement

2021-04-10 Thread Russell via Python-list
I would recommend reading a book that introduces and explains Python
rather than just diving in. I'm been enjoying "Introducing Python:
Modern Computing in Simple Packages" which can be found at
https://amzn.com/1492051365. It started from the beginning and would
answer the questions/difficulties you've raised here. It would help set
you on your quest to master Python.

mikedianete...@gmail.com wrote:
> 
> 
>The following snap shot of system prompt illustrates my problem. I have
>tried 3.8, 3.92 and 3.10 with the same result. When I run in the window
>interface it doesn't even display one row of ... but does print if I hit
>return twice. I'm new to Python and was excited about learning it but am
>becoming very frustrated over a bug in such a simple conditional statement
>- please help as I would really like to master Python.
> 
>Regards,
> 
>Michael Terry
> 
> 
> 
>Microsoft Windows [Version 10.0.19041.867]
> 
>(c) 2020 Microsoft Corporation. All rights reserved.
> 
>C:\WINDOWS\system32>py
> 
> 
> 
>Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64
>bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for
>more information.
> 
> 
> 
>>>> dog_has_fleas=True
> 
>>>> if dog_has_fleas:
> 
>... print('too bad')
> 
>  File "", line 2
> 
>print('too bad')
> 
>^
> 
>IndentationError: expected an indented block
> 
>>>> Microsoft Windows [Version 10.0.19041.867]
> 
> 
> 
> 
> 
>Sent from [1]Mail for Windows 10
> 
> 
> 
> References
> 
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986

-- 
rust
0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc
-- 
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