How I Created a Calculator App Using Django – Part 3

We have finished designing the calculator app. Using a hypertext markup language (HTML), we set the structure of the calculator. The Cascading Style Sheet (CSS) was used to beautify the calculator and to design the layout. Finally, we used JavaScript to make the app interact with other buttons and perform basic calculations. Our task is … Read more

How to Embed A Live Stock Chart in Your WordPress Blog Given a Ticker

I was just working on a website for financial data analysis and wanted to embed a real demo live trading chart on the company that was being analyzed (YUMM – don’t research it – not worth it). πŸ˜‚ This article shares my experience with TradingView. Embedding a live stock chart on your website or blog … Read more

Python – How to Create a Category in WordPress if it Doesn’t Already Exist?

To create a new category in WordPress using Python, you can use the WordPress REST API. Here’s a basic function that checks if a category already exists and creates it if it doesn’t: In this code, replace ‘http://your-site-url’, ‘your-username’, and ‘your-application-password’ with your WordPress site URL, your WordPress username, and the application password you generated. … Read more

How to Publish a WordPress Post using Python?

You can automate publishing a post on WordPress using Python by using the WordPress REST API. Here is a basic outline of how you could accomplish this: Replace ‘http://your-site-url’, ‘your-username’, and ‘your-application-password’ with your WordPress site URL, your WordPress username, and the application password you generated. ⚑ Warning: Basic Auth sends the username and password … Read more

How I Created a Blog Application Using Django – Part 4

In this fourth part series of our project tutorial on creating a blog application using the Django framework, we will learn how to integrate a rich text editor into our blog application. If this is your first time attempting this project, you will benefit greatly if you start from the beginning all through the previous … Read more