Artwork

Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

OrderedDict vs dict and Object Oriented Programming in Python vs Java

50:42
 
Chia sẻ
 

Manage episode 290155327 series 2637014
Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

Are you looking for a bit of order when working with dictionaries in Python? Are you aware that the Python dict has changed over the last several versions and now keeps items in order? Could you learn more about object-oriented programming in Python by comparing it to another language? This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.

David covers a Real Python article about the differences between the OrderedDict versus a standard dictionary. We discuss a recent video course about how object-oriented programming in Python compares to Java.

We cover several other articles and projects from the Python community including, what is Werkzeug, building a full-text search engine in 150 lines of Python code, loading SQL data into pandas without running out of memory, how to beat the Berlin rental market with a Python script, replacing print with ice cream, and the new version of CircuitPython and Mu.

Course Spotlight: Python vs Java: Object Oriented Programming

In this step-by-step course, you’ll learn about the practical differences in Python vs Java for object-oriented programming. By the end, you’ll be able to apply your knowledge to Python, understand how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

Topics:

  • 00:00:00 – Introduction
  • 00:02:07 – OrderedDict vs dict in Python: The Right Tool for the Job
  • 00:09:30 – What is Werkzeug?
  • 00:13:08 – Sponsor: Digital Ocean
  • 00:13:47 – Building a Full-Text Search Engine in 150 Lines of Python Code
  • 00:19:53 – Loading SQL Data Into Pandas Without Running Out of Memory
  • 00:25:35 – How I Beat the Berlin Rental Market With a Python Script
  • 00:34:36 – Python vs Java: Object Oriented Programming
  • 00:38:42 – Video Course Spotlight
  • 00:40:11 – Upcoming video courses
  • 00:41:17 – icecream: Never Use print() to Debug Again
  • 00:45:28 – CircuitPython 6.2.0 Released
  • 00:49:40 – Thanks and goodbye

Show Links:

OrderedDict vs dict in Python: The Right Tool for the Job – In this step-by-step tutorial, you’ll learn what Python’s OrderedDict is and how to use it in your code. You’ll also learn about the main differences between regular dictionaries and ordered dictionaries.

What is Werkzeug? – Have you ever noticed that when you install Flask a dependency called Werkzeug is also installed? Werkzeug provides a set of utilities for building a WSGI interface in Python, which is an important part of any web application. This article will take you on a deep dive of Werkzeug and show you exactly how it works so you can have a deeper understanding of Flask applications.

Building a Full-Text Search Engine in 150 Lines of Python Code – Go from data preparation to search engine in just a few lines of Python.

Loading SQL Data Into Pandas Without Running Out of Memory – If you need to load a bunch of SQL query results into a Pandas DataFrame, then you might run into a problem if there are enough rows in the SQL query’s results: it won’t fit in RAM. Panda’s read_sql() function has a batching option, but it loads all of the data into memory, too. So, how do you handle larger-than-memory queries with Pandas? This article will show you how!

How I Beat the Berlin Rental Market With a Python Script – Learn how one Python developer used a Python script to analyze the housing market in Berlin and predict when a property would be sold or when the price would be decreased. While the article doesn’t include a lot of technical details, it’s a great case study of how Python, its rich ecosystem, and a little creativity can turn solving a banal problem — like searching for a new house in a crowded market — into something fun and intellectually rewarding!

Python vs Java: Object Oriented Programming – You may have heard that “everything is an object in Python.” But what does that mean for doing object oriented programming? If you’re coming to Python with a Java background, you’ll want to check out this course to learn how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

203 tập

Artwork
iconChia sẻ
 
Manage episode 290155327 series 2637014
Nội dung được cung cấp bởi Real Python. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Real Python hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

Are you looking for a bit of order when working with dictionaries in Python? Are you aware that the Python dict has changed over the last several versions and now keeps items in order? Could you learn more about object-oriented programming in Python by comparing it to another language? This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.

David covers a Real Python article about the differences between the OrderedDict versus a standard dictionary. We discuss a recent video course about how object-oriented programming in Python compares to Java.

We cover several other articles and projects from the Python community including, what is Werkzeug, building a full-text search engine in 150 lines of Python code, loading SQL data into pandas without running out of memory, how to beat the Berlin rental market with a Python script, replacing print with ice cream, and the new version of CircuitPython and Mu.

Course Spotlight: Python vs Java: Object Oriented Programming

In this step-by-step course, you’ll learn about the practical differences in Python vs Java for object-oriented programming. By the end, you’ll be able to apply your knowledge to Python, understand how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

Topics:

  • 00:00:00 – Introduction
  • 00:02:07 – OrderedDict vs dict in Python: The Right Tool for the Job
  • 00:09:30 – What is Werkzeug?
  • 00:13:08 – Sponsor: Digital Ocean
  • 00:13:47 – Building a Full-Text Search Engine in 150 Lines of Python Code
  • 00:19:53 – Loading SQL Data Into Pandas Without Running Out of Memory
  • 00:25:35 – How I Beat the Berlin Rental Market With a Python Script
  • 00:34:36 – Python vs Java: Object Oriented Programming
  • 00:38:42 – Video Course Spotlight
  • 00:40:11 – Upcoming video courses
  • 00:41:17 – icecream: Never Use print() to Debug Again
  • 00:45:28 – CircuitPython 6.2.0 Released
  • 00:49:40 – Thanks and goodbye

Show Links:

OrderedDict vs dict in Python: The Right Tool for the Job – In this step-by-step tutorial, you’ll learn what Python’s OrderedDict is and how to use it in your code. You’ll also learn about the main differences between regular dictionaries and ordered dictionaries.

What is Werkzeug? – Have you ever noticed that when you install Flask a dependency called Werkzeug is also installed? Werkzeug provides a set of utilities for building a WSGI interface in Python, which is an important part of any web application. This article will take you on a deep dive of Werkzeug and show you exactly how it works so you can have a deeper understanding of Flask applications.

Building a Full-Text Search Engine in 150 Lines of Python Code – Go from data preparation to search engine in just a few lines of Python.

Loading SQL Data Into Pandas Without Running Out of Memory – If you need to load a bunch of SQL query results into a Pandas DataFrame, then you might run into a problem if there are enough rows in the SQL query’s results: it won’t fit in RAM. Panda’s read_sql() function has a batching option, but it loads all of the data into memory, too. So, how do you handle larger-than-memory queries with Pandas? This article will show you how!

How I Beat the Berlin Rental Market With a Python Script – Learn how one Python developer used a Python script to analyze the housing market in Berlin and predict when a property would be sold or when the price would be decreased. While the article doesn’t include a lot of technical details, it’s a great case study of how Python, its rich ecosystem, and a little creativity can turn solving a banal problem — like searching for a new house in a crowded market — into something fun and intellectually rewarding!

Python vs Java: Object Oriented Programming – You may have heard that “everything is an object in Python.” But what does that mean for doing object oriented programming? If you’re coming to Python with a Java background, you’ll want to check out this course to learn how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

203 tập

Tất cả các tập

×
 
Loading …

Chào mừng bạn đến với Player FM!

Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.

 

Hướng dẫn sử dụng nhanh