Hi Reader, Next week, Iโll be offering a Black Friday sale on ALL of my courses. Iโll send you the details this Thursday! ๐จ ๐ Tip #50: What is a "method" in Python?In Python, a method is a function that can be used on an object because of the object's type. For example, if you create a Python list, the " If you create a Python string, the " To be clear, my_list doesn't have an " โ๏ธ Calling a methodTo call a method, the format is The method implicitly acts on the object being named, and thus some methods don't have any stated arguments since the object itself is the only necessary argument. For example, ๐ What about modules?One common point of confusion relates to the following: Is " The format being used here is You can distinguish between the two formats by examining the imports to see whether or not the part before the period (" ๐ Want to level up your Python skills?Whether you're new to Python or just want to fill in the gaps in your knowledge, I'd invite you to join 500+ happy students in my signature Python course, Python Essentials for Data Scientists. ๐ See you on Thursday!In two days, I'll be sending you the details of my Black Friday sale! ๐ - Kevin P.S. Playing a prank on Google Street Viewโ โ Did someone AWESOME forward you this email? Sign up here to receive more Data Science tips! |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, Last week, I launched a brand new course: Build an AI chatbot with Python. 120+ people enrolled, and a few have already completed the course! ๐ Want to join us for $9? ๐ Tip #55: Should you still learn to code in 2025? Youโve probably heard that Large Language Models (LLMs) are excellent at writing code: They are competitive with the best human coders. They can create a full web application from a single prompt. LLM-powered tools like Cursor and Copilot can autocomplete or even...
Hi Reader, The Python 14-Day Challenge starts tomorrow! Hope to see you there ๐ค ๐ Tuesday Tip: My top 5 sources for keeping up with AI I'll state the obvious: AI is moving incredibly FAST ๐จ Here are the best sources I follow to keep up with the most important developments in Artificial Intelligence: The Neuron (daily newsletter) My top recommendation for a general audience. Itโs fun, informative, and well-written. It includes links to the latest AI news and tools, but the real goldmine is...
Hi Reader, Before todayโs tip, I wanted to give you a heads up: Tomorrow, Iโll be launching something brand new! Watch out for the announcement ๐ ๐ Tip #53: How to get great results from AI models through prompting In the year after ChatGPT was released, I remember noticing two new trends: Articles about โprompt engineersโ being hired for hundreds of thousands of dollars just to write prompts Endless guides promising to teach you the secrets of writing the perfect ChatGPT prompt My takeaway...