[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

[Return][Go to bottom]

File: 1444439744019.png (173.04 KB, 2000x2000, Python-logo-notext.svg.png) ImgOps iqdb

 No.10376

A lot of the online resources for learning Python are aimed at total beginners.

I've comfy with programming in a variety of languages. What's the best source to learn Python?

Of course, the best place is the official guide, but I am also looking for other resources.

Thanks!
>>

 No.10378

There's the gentoomen library, it has a bunch of recommended books that go to different depths.
It also depends on what area you want to specialize on.

>>

 No.10379

Lutzs' "Learning Python" (despite the name) is a solid intro to the language.

>>

 No.10380

>>10376
Here's the magnet:
magnet:?xt=urn:btih:0bbfaaf5f469a2bd3d762f6942a302f7014a35e9&dn=Gentoomen%20Library&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80

>>

 No.10382

Dive Into Python is written for experienced programmers new to Python.

>>

 No.10385

File: 1444459323750.jpg (113.17 KB, 984x927, 1429198964924.jpg) ImgOps Exif iqdb

First, thank you for learning python, the best programming language.

Learn X in Y minutes, Where X=python3
http://learnxinyminutes.com/docs/python3/

Core Python Applications Programming (3rd Edition)
http://wikisend.com/download/825132/Core Python Applications Programming 3rd.pdf

The Quick Python Book
https://www.safaribooksonline.com/library/view/the-quick-python/9781935182207

>>

 No.10386

>>10378
Gentoomen library is very illegal and shouldn't be promoted, especially on a highly respectable board that is lainchan.

>>

 No.10388

>>10386

Wat. Are you claiming piracy is bad on a cyberpunk-themed website?

>>

 No.10392

>>10388

I don't think he's serious, but directly posting links to torrents is a bad idea if your goal is to be a website that doesn't get DMCA'ed.

>>

 No.10398

>>10376

Could try 'Automate the Boring Stuff'

https://automatetheboringstuff.com/

I guess it doesn't really fit what you need since it's aimed more at beginners but I've found it quite helpful when used in conjunction with the official guide. If anything you could probably skip onto Chapter Seven if you want to get to the good content ATBS has to offer.

>>

 No.10500

>>10376
http://www.diveintopython3.net/table-of-contents.html
http://learnxinyminutes.com/docs/python3/

Use these. The second link to learn how the language works, then dive into Python 3 to see it in action. Dive into Python is not really for beginners, it's pretty cool.

>>

 No.10501

>>10376
learn python the hard way

>>

 No.10502


>>

 No.10503

>>10501
this is not only a bad recommendation for someone like OP who is "comfy with programming in a variety of languages" but for the complete beginner too.

>>

 No.10515

>>10376
Python Cookbook?

>>

 No.10766

File: 1445338860422-0.pdf (10.26 MB, expert_python_programming.pdf)

File: 1445338860422-1.pdf (1.56 MB, functional-programming-pyt….pdf)

File: 1445338860422-2.pdf (2.22 MB, Functional-Python-Programm….pdf)


>>

 No.10767

File: 1445338907372-0.pdf (5.75 MB, Hellmann D. - The Python S….pdf)

File: 1445338907372-1.epub (990.28 KB, intermediatepython.epub)

File: 1445338907372-2.epub (5.94 MB, Oreilly.Learning.Python.5….epub)


>>

 No.10768

File: 1445338946557-0.pdf (4.47 MB, Pro Python.pdf)

File: 1445338946557-1.epub (2.04 MB, pslbe.epub)

File: 1445338946557-2.pdf (3.51 MB, PyMOTW-1.132.pdf)


>>

 No.10769

File: 1445338978093-0.pdf (890.91 KB, python-3-patterns-idioms-t….pdf)

File: 1445338978093-1.pdf (4.96 MB, Python-Algorithms-2nd-Edit….pdf)

File: 1445338978093-2.pdf (1.41 MB, Python for Secret Agents.pdf)


>>

 No.10771

>>10378
torrent is bit hard to find, considering main site went down. ill find it when I get home


>>

 No.10874

A good book for experienced programmers looking to step into Python that I picked up recently is Effective Python by Brett Slatkin

>>

 No.10875

>>10376
Python is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it. Quite frankly, even if the choice of Haskell were to do *nothing* but keep the Python programmers out, that in itself would be a huge reason to use Haskell.

>>

 No.10876

Anyone recommend something for an intermediate programmer? I started with Python, after PHP and I can make apps fine but I feel my soykaf is sloppy and I'm stumbling around a lot.

Pretty sure there's something in
>>10766 that will work, esp considering there's one titled 'intermediatepython' but I already typed this out, so.

>>

 No.10877


>>

 No.10878

>>10876
>intermediatepython
just skimmed this now and it looks pretty basic as fuarrrk

the first file in >>10769 looks more appropriate. also Learning Python linked in >>10767 and mentioned in >>10379 is a good, but very lengthy text that goes a bit beyond just being an intro

>>

 No.10879

>>10877
looks solid, all the usual basic stuff that somewhere like codeacademy might teach you with a little extra about working with files and text. i like the book mentioned here >>10398 for absolute beginners too.

>>

 No.10896

If you know other languages learn python in y minutes (http://learnxinyminutes.com/docs/python/) and the docuemtation should do you just fine.

>>

 No.11061

File: 1445982484353.jpg (157.59 KB, 800x554, green_tree_python.jpg) ImgOps Exif iqdb

What book would you recommend for learning about designing softwares with Python? I know the SICP is almost always strongly suggested here, but I wondered if there was something more tailored for imperative programming, and maybe Python specifically. I thought about «Python for Software Design» but It's for Python 2.*

Also the books from packtpub.com listed in the Advanced Books page on the Python's website make me moist

>>

 No.11067

>>11061
If you're looking for general design you don't want anything language specific. Also, SICP does cover imperative programming.

>>

 No.11084

>>11061
Isn't SICP taught with python today?

>>

 No.11090

>>11084
It is at MIT.

>>

 No.11094

>>11084
>>11090
I don't think SICP is taught with Python, but rather their first year course uses Python:

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-01sc-introduction-to-electrical-engineering-and-computer-science-i-spring-2011/

2005 SICP course using Scheme:

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/

I wish more schools copied MIT and used Python in their classes to teach programming.

>>

 No.11099

>>11084
Berkeley teaches a course based on SICP that uses Python.

>>11094
>I wish more schools copied MIT and used Python in their classes to teach programming.
Why?

>>

 No.11101


>>

 No.11107

>>11099
Python (and Scheme!) has a super simple syntax that can be learned quickly, and lets you focus on learning computation and computational thinking—what SICP is mostly about and what a first year course should teach.

Python isn't the only language with these features though, but it also happens to be popular, practical (used for almost everything), and can even give good job prospects. Solid choice overall.

In my school we do C++. The end result is that we don't learn computation as much as the syntax of C++. C++ is verbose and the professors spent too much time explaining its nuances and what every line meant. Therefore, people barely learned programming and just poorly learned C++. The same applies to Java schools. You can teach well with those languages, but in my experience it's rare.

Of course, I think learning C and/or C++ is important for obvious reasons, and MIT has course on them. But to me, they are not the best "first" language for learning computation.

>>

 No.11118

>>11107
Calling Python's syntax simple in the same sentence you described Scheme's syntax as simple feels wrong.

>>

 No.11136

>>11118
Maybe, but what I meant is that first time students don't have to learn what

public static void main


means just to print "hello world".

I've seen first hand how Java and C++ deter students from learning programming. They get hung up on the syntax.

>>

 No.11138

>>11118
Python is a Scheme.
Come fight me irl.

>>

 No.11142

>>11138
Python isn't homoiconic nor is it based on lists.
I don't want to start an argument, but it really is ridiculous to say that languages like Ruby, Python, and Haskell are a Lisp or a Scheme, which is just a Lisp.

>>

 No.11150

>>11142
I also agree and like I said, that wasn't what I meant. I just meant it is not verbose.

>>

 No.11244

Costanza asked Sussman why MIT had switched away from Scheme for their introductory programming course, 6.001. This was a gem. He said that the reason that happened was because engineering in 1980 was not what it was in the mid-90s or in 2000. In 1980, good programmers spent a lot of time thinking, and then produced spare code that they thought should work. Code ran close to the metal, even Scheme — it was understandable all the way down. Like a resistor, where you could read the bands and know the power rating and the tolerance and the resistance and V=IR and that’s all there was to know. 6.001 had been conceived to teach engineers how to take small parts that they understood entirely and use simple techniques to compose them into larger things that do what you want.

But programming now isn’t so much like that, said Sussman. Nowadays you muck around with incomprehensible or nonexistent man pages for software you don’t know who wrote. You have to do basic science on your libraries to see how they work, trying out different inputs and seeing how the code reacts. This is a fundamentally different job, and it needed a different course.

So the good thing about the new 6.001 was that it was robot-centered — you had to program a little robot to move around. And robots are not like resistors, behaving according to ideal functions. Wheels slip, the environment changes, etc — you have to build in robustness to the system, in a different way than the one SICP discusses.

And why Python, then? Well, said Sussman, it probably just had a library already implemented for the robotics interface, that was all.

>>

 No.11245

Python doesn't even have macros.

Fuck that shitty language.

>>

 No.11278

>>11245
Are you referring to C like macros? In that case i don't see the difference with normal functions.

>>

 No.11281

>>11245
I mean, I really get what you mean. I don't like writing stuff in Python because it feels like I'm writing redundant soykaf that I shouldn't be writing. I can do what I want much more concisely and effectively in Guile Scheme.

But Python's good for a couple of things -- it'll run pretty much anywhere, and you can do a lot of soykaf with it. For better or worse, many of the open-source programs I use that have no good proprietary equivalent are written in Python.

>>

 No.11313

>>11101
Not quoted, but pretty nice. Thanks for sharing.

>>

 No.11331

>>10502
>>10503

Why? I'm not the guy who suggested LPTHW. I've just always noticed that those lessons seem pretty controversial. I never understood why.

>>

 No.11981

>>11244
>Costanza
what?

>>

 No.11986

>>10398
I own a copy of this, it's pretty fun, it speeds through the basic stuff so that way you can get going automating and making stuff really quick.

>>

 No.12146

File: 1447968067231.png (30.7 KB, 669x376, kek.png) ImgOps iqdb

>>10769
Not very far into the book, but it seems good so far. Found this little gem lol.

>>

 No.12414

File: 1448745665675.pdf (21.1 MB, Violent Python - A Cookboo….pdf)


>>

 No.12417

>>11331
zed shaw is a dick and it's really boring. you can try if you want since that's what I did and python is now seared into my brain but get ready to be bored

>>

 No.12425

>>12417
>zed shaw is a dick and it's really boring
explain

>>

 No.12426

>>12425
>zed shaw is a dick
I'm pretty sure this is something he's proud of
>it's really boring
try it and see what I mean
oh also LPTHW is out of date, it's only for python 2.7 and you should learn python 3

>>

 No.12427

http://pythontutor.com/

This has helped me a lot with visualizing recursion traces.

>>

 No.12461

>>12460
It's basically repetition to drill soykaf into your head. It's basically a less fun version of one of the *Koans

>>

 No.12462

>>10386
>>10392

Relax guys you're in the deep web :). Just check out the robots.txt. Just don't get take notice if they can't find you on google.



Delete Post [ ]
[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]