IslandT: Python Tutorial — Chapter 6
In this chapter of the Python tutorial, let us create an example to demonstrate how to use Python lists. Python list is just like an array where various items have been kept inside it and any...
View ArticleMike Driscoll: Using Asyncio and Batch APIs for Remote Services
Introduction to Batch APIsIn modern Python applications, it's common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a...
View ArticleReal Python: Building Python Project Documentation With MkDocs
In this course, you’ll learn how to quickly build documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown...
View ArticlePython⇒Speed: Using Conda? You might not need Docker
Docker packaging is useful, but doing it well is not easy. Even limiting the scope of discussion to production use of Python applications, the number of details to cover is extensive enough that I’ve...
View ArticlePython Bytes: #302 The Blue Shirt Episode
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=h-3a7cAHucs' style='font-weight: bold;'>Watch on YouTube</a><br>...
View ArticlePyCoder’s Weekly: Issue #543 (Sept. 20, 2022)
#543 – SEPTEMBER 20, 2022View in Browser »Build an Alexa Equivalent in Python It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the...
View ArticlePyBites: Single or double quotes in Python?
Whatever you think about Twitter these days, it’s pretty handy for us developers to ask questions and get inputs Last week I asked about single vs double quotes in Python:Do you prefer single-quoted or...
View ArticlePython GUIs: Getting started with VS Code for Python: Setting up a...
Setting up a working development environment is the first step for any project. Your development environment setup will determine how easy it is to develop and maintain your projects over time. That...
View ArticlePython for Beginners: Rename Column by Index in Dataframes
Dataframes are used to handle tabular data in python. In this article, we will discuss how we can rename a column by index in dataframes in python.Change Column Name Using Index NumberWe can access the...
View ArticleAhmed Bouchefra: [3] Angular 14 Service for communicating with Contentful CMS
In this tutorial, let’s now create the service that will encapsulate the code for communicating with Contentful. Go back to your command-line interface and run the following command to generate the...
View ArticleAhmed Bouchefra: [4] Angular 14 Routing and RxJS switchMap
In this tutorial, we’ll continue building our app with Angular 14 and Contentful. We’ll look at how to access route parameters using ParamMap and since our previous service method returns an...
View ArticleAhmed Bouchefra: [5] Transform data with Angular pipes
In this tutorial, we’ll see how to use a pipe in Angular 14 to transform and display data in our components’ templates.Since under the How to apply part, we are displaying the content of the...
View ArticleAhmed Bouchefra: How to add days to dates in JavaScript
We can add days to dates in JavaScript as follows:Call the JavaScript’ getDate() method to obtain the day of the month for the date.Call the JavaScript’ setDate() method, and passing as a parameter the...
View ArticleAhmed Bouchefra: How to get current time zone in JavaScript
You can get your time zone using JavaScript by using the Intl.DateTimeFormat object which is available in all modern browsers and returns the language-specific date and time formatting methods.Here is...
View ArticleDjango Weblog: 2022 Django Developers Survey
Please take a moment to fill it out the 2022 Django Developers Survey. We are once again partnering with JetBrains and it is available in 10 different languages.The survey is an important metric of...
View ArticleReal Python: What Does if __name__ == "__main__" Do in Python?
You’ve likely encountered Python’s if __name__ == "__main__" idiom when reading other people’s code. No wonder—it’s widespread! You might have even used if __name__ == "__main__" in your own scripts....
View ArticleIslandT: Python Tutorial — Chapter 7
In this chapter let us look at how to store various items within a tuple. A tuple is just like a list that can be used to store multiple items and then allows us to retrieve those items through its...
View ArticleTalk Python to Me: #382: Apache Superset: Modern Data Exploration Platform
When you think data exploration using Python, Jupyter notebooks likely come to mind. They are excellent for those of us who gravitate towards Python. But what about your everyday power user? Think of...
View ArticlePyBites: Tips for Navigating the Job Hunt with Rhys Powell
Listen here:The job hunt is on! With so many people looking to change things up with work, whether it be a new role, a new company, remote work – you name it – we decided it was time to talk a little...
View ArticleNicola Iarocci: Eve 2.0.2 released
Eve 2.0.2 was just released today. It fixes a problem introduced with v2.0 in which ETag generation failed if uuidRepresentation was not set in MONGO_OPTIONS. See issue #1486 for details. Many thanks...
View Article