Learn to use the OpenAI Python library to create images with DALL·E, a state-of-the-art latent diffusion model. In this tutorial, you’ll explore creating images and generating image variations. You’ll also interact with DALL·E using API calls and incorporate this functionality into your Python scripts.
Posts for: #Tutorial
Web Scraping With Scrapy and MongoDB
This tutorial covers how to write a Python web crawler using Scrapy to scrape and parse data, and then store the data in MongoDB.
Prompt Engineering: A Practical Example
Learn prompt engineering techniques with a practical, real-world project to get better results from large language models. This tutorial covers zero-shot and few-shot prompting, delimiters, numbered steps, role prompts, chain-of-thought prompting, and more. Improve your LLM-assisted projects today.
Use ChatGPT to Learn Python Programming
Learn Python with ChatGPT! Get instant help, pair program, fix errors, and explore alternate solutions to grow your Python coding skills.
Python 3.12 Preview: Ever Better Error Messages
Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming features: even more precise error messages that’ll help you debug your code more efficiently.
Python News: What’s New From January 2023
Quickly get up to speed on what’s been happening in the world of Python in the past month. The PSF hires a security developer in residence! You’ll also read about Python 3.12 alpha 4 and three recently published PEPs. Maybe you’ll get dragged into the ongoing discussion about Python packaging!
Python News: What’s New From June 2022
June 2022 was full of exciting Python news! Quickly get up to speed on what’s been happening in the world of Python in the past month. You’ll read about the PSF elections, PEP 691, the 2021 Python Developers Survey results, and more.
Build Your Python Project Documentation With MkDocs
In this tutorial, you’ll learn how to build professional documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and, more importantly, from your code’s docstrings.
Raining Outside? Build a Weather CLI App With Python
In this tutorial, you’ll write a nicely formatted Python CLI app that displays information about the current weather in any city you provide the name for.
Build and Submit HTML Forms With Django – Part 4
In the final part of this tutorial series, you’ll continue to build out a social network with Django. You’ll wrap up by working with Django forms, learning how to display helpful error messages, setting up dynamic URLs in your app, and more.