Exploring Python’s New Asynchronous Statements and Expressions With Daniel Arbuckle

Posted by & filed under Content - Highlights and Reviews, programming, Programming & Development, python, Tech.

By Daniel Arbuckle Daniel Arbuckle is a computer scientist and software engineer who has worked with, studied, and built a career around Python starting with version 1.5. He is the author of multiple books and videos on Python for Packt Publishing.        Python’s first steps toward an implementation of coroutines came in December 2001 with the… Read more »

Get the most out of Safari with our new Tutorials

Posted by & filed under Architect, Big Data, Daily Learning, Learning & Development, presentations, Product Updates & Tips, python, Safari News, Tutorials.

You may recall that we launched Safari Tutorials a few months ago, with a handful of Beta Tutorials for you to check out. If you need a reminder (or if you’re new to Safari), our Tutorials are learning paths that help you get the most out of Safari by connecting you to the right content… Read more »

Fun With Sorting Algorithms

Posted by & filed under algorithms, programming, python, Tech.

My wife and I are avid board gamers, but oddly one of the the things we enjoy most is organizing the game itself. We’ve often joked about buying a game just to organize it. I love the “pop” as the chits break free from their cardboard bonds; discovering how each piece looks and sorting them according to size, shape… Read more »

An Introduction to Python Debugging

Posted by & filed under debugging, programming, python, Tech, testing.

All developers know finding and squashing bugs comes with the territory of writing sane, stable, and performant software. On a good day, debugging can be trivial, but we’ve all been there: running tests and reading print statements at 11pm and nearly losing our minds over vanishing User objects or differing behavior between two servers. Sometimes… Read more »

Stealthy Django Deployments

Posted by & filed under Devops, django, programming, python, Tech.

One of the trickier parts of maintaining a frequently updated web application is deploying those updates without annoying the site’s users.  Updating the software that runs a web site can involve uploading new code, upgrading dependencies, changing the database schema, restarting several servers, working around long-running background tasks, and more.  Doing all this in the most obvious,… Read more »

NaNoGenMo 2014: A procedurally generated mysterious codex

Posted by & filed under book design, css, design, digitization, ebooks, html5, publishing, python, Tech.

  This is the second year of Darius Kazemi’s NaNoGenMo project: write code that generates a “novel.” NaNoGenMo is, obviously, a playful turn on National Novel Writing Month (NaNoWriMo) — as is Safari’s blog-post-a-day-in-November. The “novel” is defined however you want. It could be 50,000 repetitions of the word “meow”. It could literally grab a… Read more »

Intro to Python Bootcamp – Session 5

Posted by & filed under blog bootcamp, Bootcamp, learning, python.

Welcome to session 5 of our Introductory Python “Bootcamp,” our week-long blog series that explores the key concepts behind this popular and flexible programming language. New to the bootcamp? Start with Session 1. Open a Safari trial account to access the Bootcamp books and videos. Welcome to the home stretch! Over the past four sessions, you… Read more »

Intro to Python Bootcamp – Session 3

Posted by & filed under blog bootcamp, python.

Welcome to session 3 – the halfway point – of our Introductory Python “Bootcamp,” our week-long blog series that explores the key concepts behind this popular and flexible programming language. Open a Safari Flow trial account to access the Bootcamp books and videos. In Session 2, we continued working with variables, control flow, and data structures… Read more »