How I Created an URL Shortener App Using Django
Django is a Python framework used for building awesome web applications. In this tutorial, I’ll show you how I created a URL shortener application using Django. This is one of the best beginner projects to sharpen your skills as a Django developer. You can download the whole project at the end of this article. 👇 … Read more
I Created My First DALL·E Image in Python OpenAI Using Four Easy Steps
I have a problem. I’m addicted to OpenAI. Every day I find new exciting ways to use it. It’s like somebody gave me a magic stick and I use it for stupid things like cleaning the kitchen. But I cannot help it! So, how to create images with OpenAI in Python? Easy, follow these four … Read more
The PeerBrain Vision – A Decentralized P2P Social Brain Network
Dear Finxter community, Most of you will not know me, so I’ll give you a quick introduction. About Me My name is Tom, and for the last 6 months, I’ve been teaching myself programming. Primarily Python with some web frameworks (Flask, FastAPI, Streamlit) thrown in for good measure. I’ve found I love the way you … Read more
I Built a Kids’ Movie Ratings Database Using Beautiful Soup
Project Motivation My wife and I are pretty discerning about which movies we allow our two daughters (ages 4 and 5) to watch. Recently, we were in conversation with their teachers at school about assembling a good list of age-appropriate movies. To simplify the process, I decided to build a database of movie ratings that … Read more
Solidity Scoping – A Helpful Guide with Video
As promised in the previous article, we’ll get more closely familiar with the concept of scoping next. We’ll explain what scoping is, why it exists, and how it helps us in programming. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official Solidity documentation. … Read more
Solidity Declarations – A Helpful Guide with Video
In this article, we’ll learn more about variable declarations in Solidity and further explain some of their specific behavior. To keep the article more succinct, we’ll focus on the next subject, scoping, in the next article. It’s part of our long-standing tradition to make this (and other) articles a faithful companion or a supplement to … Read more
7 Best Ways to Check the OpenAI Package Version in Python
In this article, I’ll show you how to check the version of the openai library for Python. I needed this in my own project as OpenAI raised an error due to an old package version. These are the seven best ways to check the version of a Python module: Let’s dive into some examples for … Read more
Fix AttributeError: Module ‘OpenAI’ Has No Attribute ‘Audio’
I tried using the amazing speech recognition capabilities introduced with OpenAI’s new Whisper module yesterday. 👉 Recommended: OpenAI’s Speech-to-Text API: A Comprehensive Guide Here’s the sample code I used: But when using the simple code to test transcribing an audio file, Python gave me the AttributeError: module ‘openai’ has no attribute ‘Audio’. So, I wanted … Read more
My Journey to Help Build a P2P Social Network – Database Code Structure
Welcome to part 3 of this series, and thank you for sticking around! I’ve come to realize this might become a rather long series. The main reason for that is that it documents two things. This is the birth of an application and my personal journey in developing that application. I know parts 1 and … Read more
OpenAI’s Speech-to-Text API: A Comprehensive Guide
Here’s an obvious statement: audio and video recordings are an essential part of our daily lives. Recently, I consulted a young startup in the food AI space on how to convert video to text, and I recommended them Google’s speech recognition software. Yet, Google’s models are not great — only best in class at this … Read more
Cracking the Code to a Better Life: How Learning to Code Can Satisfy the 8 Life Forces
As human beings, we are driven by a number of basic needs and desires that motivate us to take action and pursue our goals. This includes things like survival, enjoyment of life, sexual companionship, comfortable living conditions, and more. I believe learning to code is a powerful way to satisfy many of these profound life … Read more