[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Best guide and books about python 3.5

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 35
Thread images: 5

File: Python_logo.png (76KB, 1890x800px) Image search: [Google]
Python_logo.png
76KB, 1890x800px
Hii anon

I need some tips for good documentation and books about python.

Please can you help me?
>>
>>55778722
https://docs.python.org/3/

The only documentation you'll need.
>>
>>55778722
Don't use code academy or "learn python the hard way".

Their teaching method consists of "type this 50 times before I tell you what it means"

Nonsense that has you codemonkeying without understanding anything.

Pick up an EDX or coursera course.
>>
Are good course of EDX?
>>
File: Fibonacci2.jpg (210KB, 787x900px) Image search: [Google]
Fibonacci2.jpg
210KB, 787x900px
I propose to post exercises to practice in programming.

Example: Fibonacci
>>
>using anything but python 2.7
you want to be productive
>>
>>55779049
Why python 2.7? People say that python 2 isn't updated
>>
Just go do peoject Euler and use the python docs on the way.
>>
>>55778801
python documentation sucks
>>
>>55779081
Python 2.7 is the version that's actually used by companies. Even Guido's own employer isn't planning to move to Python 3. Python 2 is supported until at least 2020 and Redhat will pick up support after that. Python dies with Python 2.
>>
>>55779483
Really do you think python will die? What is a good language today? I hate C# and web services. I prefer software application
>>
>>55779534
python is going nowhere.

python 3 has some cool new features and for that reason is intentionally backward incompatible with 2.7

all those new features mean nothing when majority of libraries are for 2.7... and that's all that really matters
>>
>>55779655
>and for that reason is intentionally backward incompatible with 2.7

The only features that had to be backwards incompatible were the string changes and renaming packages to be in line with PEP 8. They basically killed the language for autistic reasons.
>>
I have a question. Today if a person know based about programming and he want to learn. What language recommended?
>>
>>55779728
try java rashid
>>
>>55779016
>Fibonacci
Recursive shit. Fuck recursion.

def fi(n):
f1 = 1
f2 = 1
digits = [f1, f2]
for i in xrange(n):
temp = f1
f1 = f2
f2+= temp
digits.append(f2)

return digits


print fi(10)
>>
Python isn't going to die that easily.
The transition to 3 is being harsh, yes, but the community will get over it.
Most libraries on pypy (the langague repository) are already py3 compatible are that are zero reasons to learn py2.7 instead of 3.

Op: https://docs.python.org/3/tutorial/
>>
>>55780365
>zero reasons to learn py2.7 instead of 3

If you ever get a job you'll be using Python 2.7 not 3 so you might as well learn 2.7.
>>
>>55780425
>learn 2.7
aren't they almost the same? I only remember things like print changed there was barely any real difference
>>
>>55780512
Strings are now all unicode and you can't use them for byte arrays.
>>
File: py3bookm.png (77KB, 384x500px) Image search: [Google]
py3bookm.png
77KB, 384x500px
I thought this book was ok. The best way to learn python is to find a small project/script that you want to make and just live in the python documentation until the project is complete

DON'T read learn python the hard way as many other people have stated above
>>
>>55780512
http://python-future.org/compatible_idioms.html
>>
File: 1461875510371.png (272KB, 485x489px) Image search: [Google]
1461875510371.png
272KB, 485x489px
>>55780586
>DON'T read learn python the hard way as many other people have stated above
Literally no one recommended that in this thread.
>>
>>55781002
literally failed preschool
>>
File: 1311949083856.jpg (55KB, 486x409px) Image search: [Google]
1311949083856.jpg
55KB, 486x409px
>>55780576
>Strings are now all unicode
>>
>>55779957
use the formula if you don't like recursion
>>
My internet gf asked me for sites that explain programming to people like they're fucktards/kids, she's already done a little bit of python, she actually asked me to help her learn more (she lives in a 3rd world country and might get a job out of it, especially as she has pussy privilege) so are there any sites out there like that?

I was thinking maybe Khan Academy or EDX or Coursera or maybe just youtube tutorials

Might post her pic if this gets enough responses
>>
>>55781133
Could be interpreted either way
Not >>55781002 btw
>>
>>55782024
codeacademy
>>
>>55782024
>internet girlfriend

Spoiler: it's a man
>>
>>55782242
Spoiler: Nigeria Connection
>>
>>55782024
thenewboston explains things very clearly.
>>
I suggest you to try with Small Talk, it is a fucking bomb
>>
>>55782242
Dude, I have met her IRL, I just keep in touch with her over the internet
>>
>>55778722
You might want to read:
- Python Programming: An Introduction to Computer Science by John Zelle
- Introduction to Computation and Programming Using Python by John Guttag
- Automate the Boring Stuff With Python by Al Sweigart

I will say be wary of Sweigart's book because although it can get you started on a lot of small projects really fast and is much better for actually showing what programming is to someone who knows nothing about programming, it's a very general book.

The doom and gloom in the thread concerning python 2 vs 3 is pretty accurate, but there's not a lot of harm in starting with 3 so long as you make sure to learn the 2.7 equivalent, and vice versa if you start with 2.7

>>55778801
Not this. REEEE anyone who ever feeds you the "muh offishul documentation" line for Python (only Python, though). Official PyDocs suck so much dick for anything specific it's unreal, you're better off scouring StackOverflow for answers and explanations.

>>55782649
Shut the fuck up, normalfag
Thread posts: 35
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.