Watch your Python script with strace

A session at PyOhio 2014

Saturday 26th July, 2014

2:00pm to 3:00pm (EST)

Modern operating systems sandbox each process inside of a virtual memory map from which direct I/O operations are generally impossible. Instead, a process has to ask the operating system every time it wants to modify a file or communicate bytes over the network. By using operating system specific tools to watch the system calls a Python script is making -- using "strace" under Linux or "truss" under Mac OS X -- you can study how a program is behaving and address several different kinds of bugs.

About the speaker

This person is speaking at this event.
Brandon Rhodes

Python programmer who enjoys web design, beautiful code, gin, craft beer, and the Oxford comma.

Next session in Hays Cape

3pm So you think you can PDB? by Clayton Parker

1 attendee

  • Brandon Rhodes

1 tracker

  • Simon Willison

Coverage of this session

Sign in to add slides, notes or videos to this session

Sign in to track this session

Tell your friends!


Time 2:00pm3:00pm EST

Date Sat 26th July 2014


Hays Cape, Ohio Union

Short URL


View the schedule


See something wrong?

Report an issue with this session