Become more effective at your job with hands-on cyber security training in Austin. Save $350 thru 9/25.

Columbia 2019

Columbia, MD | Mon, Jul 15 - Sat, Jul 20, 2019
This event is over,
but there are more training opportunities.

Py2k20 - Transitioning from Python2 to Python3

  • Joff Thyer
  • Tuesday, July 16th, 7:15pm - 8:15pm

In this session, we are going to talk about the 2020 End of Life for Python2. We‚ll 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.
  • Special Events: SANS-hosted events and other non-technical recreational offerings. This category includes, but is not limited to, Receptions and Information Tables.
Monday, July 15
Session Speaker Time Type
General Session - Welcome to SANS Joff Thyer Monday, July 15th, 8:00am - 8:30am Special Events
Tuesday, July 16
Session Speaker Time Type
Py2k20 - Transitioning from Python2 to Python3 Joff Thyer Tuesday, July 16th, 7:15pm - 8:15pm SANS@Night