Skip to content

Instantly share code, notes, and snippets.

@hjwp
Created July 7, 2018 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hjwp/228fcc30b307112f35a6bea6bd16cae4 to your computer and use it in GitHub Desktop.
Save hjwp/228fcc30b307112f35a6bea6bd16cae4 to your computer and use it in GitHub Desktop.
More Python and Django resources

Introductions to Python

In case some people don't get on well with the pluralsight course, there's a wealth of free Python resources out there. See the list on the /r/learnpython wiki:

I personally learned from "Dive into Python" which I recommend, it's nice and fast paced, aimed at people who already know programming in another language, and is linked there.

incidentally, on the "Python 2 vs Python 3" debate, the answer is simple, it's Python 3.6 or later.

Being Pythonic

Someone once said "It is not enough to simply stop writing Java. You must also learn to stop writing Java using other languages". People from a Java or C# background often take time to unlearn old habits and get on board with the Python way, or writing "Pythonic" code, as we say. (It's a cult. You may as well give in and get on board!)

Here's a few pointers:

Django

Beyond the Django tutorial, I'd recommend:

  • Two scoops of Django excellent collection of tips and best practices
  • Django Unleashed - a monumental tome covering all sorts of aspects of django development that you won't find in the basic Django tutorial
  • The Djangogirls tutorial - this shouldn't really be on this list, as it's resource aimed at people who've never programmed before, but they're just such a nice organisation that I had to link to them. Who knows, maybe if you're having a bad day and fancy something really nice and friendly, running through their tutorial will give you some very basics of django, but also an intro to python and the command-line,
    and get you deployed live onto the public internet. A breath of fresh air. Plus once you've learned Python and Django maybe you can volunteer to go and help coach at a Djangogirls workshop. There's one coming up in September in Manchester...

Testing and more

  • Obey the Testing Goat! - I can't help recommend my own book. It's an introduction to TDD and Django at the same time, but also covers essentially everything I learned about professional software development -- version control, working incrementally, mocking and test isolation, refactoring systematically, linux server deployments (and testing them), automated deployments, continuous integration, and so on and so forth.

  • Destroy all software the "classic" screencasts cover all sorts of stuff about Unix (good for ppl from the Windows world), tdd, and more, plus Gary is the fastest typist you will ever see. Many examples are in Ruby however (boo, hiss). The newer series are a lightning-fast introduciton to Computer Science concepts using live-coding, highly recommended for people who don't have a CS degree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment