Sinisterly
How to read Python reference manual? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Python (https://sinister.li/Forum-Python)
+--- Thread: How to read Python reference manual? (/Thread-How-to-read-Python-reference-manual)



How to read Python reference manual? - Gintoki Ameto - 06-26-2014

Well, the best way to learn a language is to read it's reference. Recently, I have downloaded Python3.4 Documentation on it's homepage. I can comprehend the tutorial file, library file also good for me. The only thing I cannot read is it's reference.
It will give you something like...
Code:
name ::= lc_letter (lc_letter | “_”)* lc_letter ::= “a”...”z”
Is it just me or that the reference too hard to be comprehended?
By the way, English is not my major.
Thanks.


RE: How to read Python reference manual? - Deque - 06-26-2014

(06-26-2014, 10:28 AM)Gintoki Ameto Wrote: Well, the best way to learn a language is to read it's reference. Recently, I have downloaded Python3.4 Documentation on it's homepage. I can comprehend the tutorial file, library file also good for me. The only thing I cannot read is it's reference.
It will give you something like...
Code:
name ::= lc_letter (lc_letter | “_”)* lc_letter ::= “a”...”z”
Is it just me or that the reference too hard to be comprehended?
By the way, English is not my major.
Thanks.

That is Backus-Naur-Form notation: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form

You don't need the language reference to learn the language. That's more interesting for people who write interpreters or compilers and for people who are interested in the finest and most precise detail of the language.
But I know no one who uses it to learn the language in the first place.


RE: How to read Python reference manual? - Gintoki Ameto - 06-27-2014

(06-26-2014, 08:06 PM)Deque Wrote:
(06-26-2014, 10:28 AM)Gintoki Ameto Wrote: Well, the best way to learn a language is to read it's reference. Recently, I have downloaded Python3.4 Documentation on it's homepage. I can comprehend the tutorial file, library file also good for me. The only thing I cannot read is it's reference.
It will give you something like...
Code:
name ::= lc_letter (lc_letter | “_”)* lc_letter ::= “a”...”z”
Is it just me or that the reference too hard to be comprehended?
By the way, English is not my major.
Thanks.

That is Backus-Naur-Form notation: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form

You don't need the language reference to learn the language. That's more interesting for people who write interpreters or compilers and for people who are interested in the finest and most precise detail of the language.
But I know no one who uses it to learn the language in the first place.

Thankyou very much, you helped me out