Difference between pages "Campus accommodation" and "Tutorials/Python 3: Making the Leap!"

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
Accommodation this year is being handled by the University Colleges directly
+
On Wednesday at 10:40 in the Robert Street Lecture Theatre I will be running a tutorial on porting code written for python 2 to work in python 3.
  
'''Google map to help determine walking distances and such [https://maps.google.com.au/maps/ms?msid=203690229318625352519.0004e5ac798d2734b1b8a&msa=0 Click Here.]'''
+
This session will be live and interactive, so to get the most out of the tutorial, please bring along a laptop and be ready to hack.
* We recommend staying in the colleges as it's a very short 5-10 min walking distance to LCA.
+
* Keeps you close to all the action and social activities.
+
* Our LCA team will be staying at Trinity and St Georges College's.
+
* Wheel chair access under the highway, it is a flat ramp with a bit of an incline.
+
* Trinity would be a better place to stay for wheel chair accessibility.
+
  
== St George's College ==
+
== What will be covered? ==
Mounts Bay Road, Crawley, Western Australia 6009
+
Tel: +618 9449 5555 Fax: +618 9449 5544 Email: admin@stgeorges.com.au
+
  
* Rooms should be available, you will have to contact the college directly
+
Getting code to run on python 3 is a *massive* topic, and we could spend an entire week looking at it and not cover everything. As we only have 100 minutes we will only cover a relatively small, but IMHO important, subset of the topic. In particular, we will look at.
* Various Room types, check the college website or contact the college for more information
+
* For St Georges you must now book directly via http://www.stgeorgescollege.com.au/accommodation/enquire-about-a-booking/
+
  
== Trinity College ==
+
* How to get code which currently runs under 2.7 to run under 3.3 (without maintaining 2.7 backwards compatibility).
230 Hampden Road, Crawley, Western Australia 6009
+
* How to modify your 2.7 code to be as close to 3.3 compatible as possible.
Tel: +618 9423 9423 Fax: +618 9423 9422 Email: admin@trinity.uwa.edu.au
+
* How to use different tools to automate the porting process.
 +
* Common gotchas with the automated tools which may require manual intervention
 +
* Strategies for using all the different tools and techniques to make the porting process as simple as possible.
  
* Rooms are available but the college accommodation department is closed until Thursday 2nd of January 2014
+
We unfortunately won't be able to cover some interesting topics, including
* Various Room types, check the college website or contact the college for more information
+
* http://www.trinity.uwa.edu.au/content/contact-us.php
+
* https://maps.google.com.au/maps?q=-31.975773,115.81434&num=1&t=h&z=17
+
'''# Booking form here. https://docs.google.com/forms/d/1sKhso2N9zy7gC68UhDTd_KvNqbsoLgH0SjYVVeOzqOA/viewform
+
  
== Booking confirmation information once the Google form is filled out ==
+
* How to get code to run under python 2 and 3 simultaneously.
The lca2014 team have received your request for accommodation and a reservation has been made for your room.
+
* How to port python extension modules.
 +
* How to use brand new features which have been introduced in python 3.
  
The college will contact you for a final booking confirmation, including room information and check in check out details within 3 business days.
+
The session will cater to a fairly broad range of abilities. If you're a python newbie, you should be able to keep up with everything. If you're a python guru you might just learn something new (I know I did while preparing the session!).
  
Full payment to the College is required on checkout.
+
== What to bring ==
  
For any changes or questions about accommodation, please contact the College directly:
+
* A laptop with python 2 and python 3 installed.
Trinity College http://www.trinity.uwa.edu.au/content/contact-us.php
+
* A shell and text editor.
 +
* Any python code which you'd like help porting form 2 to 3.
 +
* The example code from github: https://github.com/timleslie/LCA_py2to3
  
Please visit the Transport Page on how to get to and from the Airport https://lca2014.linux.org.au/wiki/Main_Page#Airport_shuttle_transport for information
+
All examples are platform agnostic and should work on linux/osx/windows.
  
Thanking you lca2014 team
+
== What to do ==
http://lca2014.linux.org.au #lca2014
+
 
 +
* Turn up :-)
 +
* Follow along with all the examples.
 +
* Try out the techniques on your code as we go.
 +
* Ask questions if you would like clarification...
 +
* ... but understand that the answer might be "that's beyond the scope of this session, come and chat with me later".
 +
* Edit this wiki! If you have questions or know of relevant resources, please share them on this page for the benefit of all over the week.
 +
* If we get to the end of the session and you have questions or want to chat about anything, please come and say hi :-)
 +
 
 +
I look forward to seeing you all for a fun and interesting session.
 +
 
 +
@timl
 +
 
 +
= FAQ =
 +
 
 +
EDIT ME! If you have a question you'd like more details on, feel free to list it here.
 +
 
 +
= Resources =
 +
 
 +
EDIT ME! If you know of a useful resource for python 2 to 3 porting, please add it here.
 +
 
 +
* [http://docs.python.org/2/library/2to3.html 2to3 docs]
 +
* [http://docs.python.org/3/whatsnew/3.0.html What's new in 3.0]
 +
* [http://www.python.org/dev/peps/pep-3108/ Standard Library Changes]
 +
* [http://docs.python.org/3/howto/pyporting.html Porting 2 to 3 by Brett Cannon]
 +
* [http://docs.python.org/2/using/cmdline.html#cmdoption-3 The -3 command line option]
 +
* [http://docs.python.org/3/howto/cporting.html Porting extension modules to python 3]
 +
* [http://www.python.org/dev/peps/pep-3105/ Print as a function]

Latest revision as of 12:06, 8 January 2014

On Wednesday at 10:40 in the Robert Street Lecture Theatre I will be running a tutorial on porting code written for python 2 to work in python 3.

This session will be live and interactive, so to get the most out of the tutorial, please bring along a laptop and be ready to hack.

Contents

What will be covered?

Getting code to run on python 3 is a *massive* topic, and we could spend an entire week looking at it and not cover everything. As we only have 100 minutes we will only cover a relatively small, but IMHO important, subset of the topic. In particular, we will look at.

  • How to get code which currently runs under 2.7 to run under 3.3 (without maintaining 2.7 backwards compatibility).
  • How to modify your 2.7 code to be as close to 3.3 compatible as possible.
  • How to use different tools to automate the porting process.
  • Common gotchas with the automated tools which may require manual intervention
  • Strategies for using all the different tools and techniques to make the porting process as simple as possible.

We unfortunately won't be able to cover some interesting topics, including

  • How to get code to run under python 2 and 3 simultaneously.
  • How to port python extension modules.
  • How to use brand new features which have been introduced in python 3.

The session will cater to a fairly broad range of abilities. If you're a python newbie, you should be able to keep up with everything. If you're a python guru you might just learn something new (I know I did while preparing the session!).

What to bring

  • A laptop with python 2 and python 3 installed.
  • A shell and text editor.
  • Any python code which you'd like help porting form 2 to 3.
  • The example code from github: https://github.com/timleslie/LCA_py2to3

All examples are platform agnostic and should work on linux/osx/windows.

What to do

  • Turn up :-)
  • Follow along with all the examples.
  • Try out the techniques on your code as we go.
  • Ask questions if you would like clarification...
  • ... but understand that the answer might be "that's beyond the scope of this session, come and chat with me later".
  • Edit this wiki! If you have questions or know of relevant resources, please share them on this page for the benefit of all over the week.
  • If we get to the end of the session and you have questions or want to chat about anything, please come and say hi :-)

I look forward to seeing you all for a fun and interesting session.

@timl

FAQ

EDIT ME! If you have a question you'd like more details on, feel free to list it here.

Resources

EDIT ME! If you know of a useful resource for python 2 to 3 porting, please add it here.