Reward Yourself! Get a $400 Amazon Gift Card with Qualifying OnDemand Course Purchase - Register Today!

Stockholm May 2019

Stockholm, Sweden | Mon, May 13 - Sat, May 18, 2019
This event is over,
but there are more training opportunities.

Py2k20 Transitioning from Python2 to Python3

  • Jonathan Thyer
  • Monday, May 13th, 6:00pm - 7:00pm

In this session, we are going to talk about the 2020 End of Life for Python2. We will address what the short, and medium term impacts will likely be. Key language differences will be highlighted with techniques to modify your code to be forward compatible.

As a SANS instructor teaching SEC573, Automating Information Security with Python, over the past three years I have steadily moved my teaching materials, examples, demonstrations and personal coding to Python3. In this process, I have had to break habits and learn new habits to write Python3 compatible scripts. I also spend considerable effort showing people how to write Python2 scripts which are forward compatible with Python3 in order to ease the transition.

The largest barrier that most people struggle with is the idea that Python3 has changed the default string encoding to UTF 8 rather than simple byte encoding. Once you learn how to manage your string objects, the remaining transition issues are mostly modern improvements to the language which most people consider advantageous to adopt.

Since Python2 will no longer have active releases after 2020, it is important to embrace the change and move forward with the Python scripting community.

Bonus Sessions

The following bonus sessions are open to all paid attendees at no additional cost. There are many different types of events that fall into these categories:

  • SANS@Night: Evening presentations given after day courses have ended. This category includes Keynotes.
Monday, May 13
Session Speaker Time Type
Py2k20 Transitioning from Python2 to Python3 Jonathan Thyer Monday, May 13th, 6:00pm - 7:00pm SANS@Night
End User Licensing Agreements Kevin Ripa Monday, May 13th, 7:00pm - 8:00pm SANS@Night