100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary Introduction to programming with Python $8.19   Add to cart

Summary

Summary Introduction to programming with Python

 1 view  0 purchase
  • Course
  • Institution

Now, this course itself assumes no prior programming background, so you don't have to have written a single line of code in Python or any language yet, but this is also a course that you can take before, during, or even after CS50 itself if you'd like to get all the more versed with Python. Each w...

[Show more]

Preview 1 out of 2  pages

  • May 8, 2023
  • 2
  • 2022/2023
  • Summary
avatar-seller
This course from Harvard University is an introduction to programming using the Python programming
language. You will learn how to read and write code, as well as how to test and debug it. This course is
taught by Dr. David Malin, and it's designed for students with or without prior programming experience
who'd like to learn Python.

Hello world, my name is David Malin and this is CS 50s Introduction to programming with Python.

Whereas CS50 itself is an introduction to the intellectual enterprises of computer science and the arts of
programming, this course is specifically focused on programming in Python itself. At the beginning of the
course will we focus on a topic in programming known as functions and variables, mechanisms via which
you can write code that solves smaller problems, but you can compose those smaller solutions into
solutions to larger problems still. We'll then transition to a look at conditionals a way in code of
expressing yourself logically to maybe do something if some.

Question has an answer of true or not do something. If the answer is false, we'll transition thereafter to
introducing you to loops, the ability in code to do something again and again and again some number of
times. Well, then transition to something a little more technical, known as exceptions. Unfortunately, a
lot can go wrong when you're writing code. Some of it your fault, some of it, perhaps someone else's
fault. But you can write code defensively, so to speak, and actually catch those kinds of exceptions,
those errors, and handle them properly so that the users you're writing code for don't actually.

See the same. Thereafter we'll take a look at libraries, third party code written by other people often, or
perhaps yourself in the past that you can use and reuse in your own project so as to avoid reinventing
the wheel again and again.

We'll look thereafter at something called unit tests and turns out you'll actually write code to test your
own code, but you won't have to write tests for your tests. Indeed, this is a best practice in industry,
writing tests for your code. So that one you can be sure that your code today is hopefully if your tests
are correct, correct itself. But moreover, if you or someone else modifies your code tomorrow or down
the line, you can rerun those same tests to ensure that those new changes have not broken anything
about your own code.

We'll then take a look at something called file IO. IO for input and output, the ability to not just store
information inside of a computer's memory, but rather save it persistently to disk, so to speak, to files
and folders. We'll then take a look at another technique known as regular expressions, whereby in
Python you can define patterns and you can validate data to make sure the human type something in as
you expect, you can use regular expressions to extract data, perhaps from some data set you're trying to
analyze.

We'll then take a look ultimately at Object oriented programming, a paradigm, a way of writing code
whereby you can represent in code real world entities. And this is an addition to other paradigms of
programming that will also explore among them procedural programming where you write lots of those
functions, procedures really top to bottom to solve problems step by step and even something known as
functional programming as well. And then the very end of the course will we equip you with all the more
tools for your toolkit.

An additional building blocks additional vocabulary via which after the same course, you can go off on
your own and either take other courses or solve projects of your own using all of these mechanisms.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller fannan. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.19. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76800 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.19
  • (0)
  Add to cart