Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
      You have completed Write Better Python!
      
    
You have completed Write Better Python!
Preview
    
      
  A quick overview of what we're going to talk about in this course.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
                      [MUSIC]
                      0:00
                    
                    
                      All of the pieces we've learned so far.
                      0:04
                    
                    
                      Strings, lists, dictionaries, classes are
just building blocks for bigger and
                      0:06
                    
                    
                      greater things.
                      0:10
                    
                    
                      One of the problems with building great
things is that they often
                      0:12
                    
                    
                      become really messy.
                      0:15
                    
                    
                      As you've probably come to expect though,
                      0:17
                    
                    
                      Python has things in place to help clean
up any messes you make along the way.
                      0:18
                    
                    
                      In this course, we'll be looking at rules
for
                      0:24
                    
                    
                      how to write your Python code so it
follows traditional Python conventions.
                      0:26
                    
                    
                      Writing your code to a convention helps
your code to blend in with
                      0:30
                    
                    
                      the code written by other people,
                      0:32
                    
                    
                      and makes it easier to spot mistakes.
                      0:34
                    
                    
                      We're also going to learn how to write doc
strings.
                      0:36
                    
                    
                      Which let our own functions and classes
provide their own help text.
                      0:38
                    
                    
                      And to help us when things go wrong, we're
going to learn about logging and
                      0:42
                    
                    
                      using the built in Python debugger, PDB.
                      0:46
                    
                    
                      We have a lot to cover, so let's get
started.
                      0:49
                    
              
        You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up