Daniil Korbutrtriangle.hashnode.net·Jan 19, 2023Multiple Python versions on Mac and how to set it up correctlyIntroduction It is possible to have multiple versions of Python installed on a single MacBook. This can be done by using a version manager such as conda or using virtual environments with appropriate Python versions for each of your specific tasks. S...Martina Meyer and 2 others are discussing this3 people are discussing thisDiscuss·265 likes·11.5K readsPython
Hitesh ChoudharyforLearn Code Onlinefragile-pot-tutor-03.hashnode.net·Jan 28, 2021Fast API crash courseWelcome to the crash course on Fast API Fast API is a comparatively new framework but it is impressing me a lot. I found it so much simpler than the Django REST framework. The built-in docs system is just so cool that I am very sure, it's going to sa...vaibhav kumar and 3 others are discussing this4 people are discussing thisDiscuss·127 likes·4.7K readsPython
Sahil Mahapatradotslashbit.hashnode.net·Apr 1, 2023Pandas 101 : Learn Pandas in 10 minutesPandas is a popular Python library for data analysis and manipulation. It provides a fast and easy way to work with tabular data, such as CSV files, Excel spreadsheets, or SQL databases. In this blog post, I will share some useful pandas cheat sheet ...Anonymous and 1 other are discussing this2 people are discussing thisDiscuss·121 likes·471 reads101Python
Ebube Kamaludeesolutionafrica.hashnode.net·Apr 25, 2023Basics of F-strings in PythonF-strings are a feature in Python 3.6 and above that allows you to easily format strings. They are also known as "formatted string literals." The F-strings provide a concise and readable way to embed expressions inside string literals using a minimal...Discuss·1 likePython 3
Okoye Johnpauljaypeedev.hashnode.net·Apr 24, 2023How to become a python developer in 2023Python is a widely used programming language that is known for its versatility, simplicity, and flexibility. As a Python developer, you would work on creating web applications and integrating systems more effectively. To become a Python developer, yo...DiscussPython
JMN jmn950-dev.hashnode.net·Apr 24, 2023Python VariablesVariables are simply containers for storing data values. Think of it like a jug of milk. The jug is the container and the data value is the milk stored inside the container. Some examples of the simple variable are shown below: x = 10 batman = "Bruce...Discuss·1 likePython
Samuel Abereojesamuell.hashnode.net·Apr 24, 2023FeaturedScripting, An Introduction to AutomationWhat is scripting? Scripting refers to the process of writing code in a high-level programming language to automate tasks, perform data processing, or create dynamic web pages. In simpler term, scripting refers to the process of writing small program...Discuss·5 likesPython
Vivek Yadavviveky.hashnode.net·Apr 23, 2023Day 33 - Short Hand if elseIf ... Else in One Line There is also a shorthand syntax for the if-else statement that can be used when the condition being tested is simple and the code blocks to be executed are short. Here's an example: a = 2 b = 330 print("A") if a > b else prin...DiscussPythonPython
Amit Thakuramitshree.hashnode.net·Apr 22, 2023Calculate distance and slope of a line in PythonIn this article, we'll explore how to implement a Line class in Python that calculates the distance and slope between two points. We'll also discuss some possible optimizations to make the code more efficient and maintainable. The mathematical equati...Discuss·37 readsPythonPython
Andrew Dassandrewdass.hashnode.net·Apr 22, 2023Basic Data Structures in PythonOverview This article will explain what is a data structure, the differences and how to use commonly used data structures in Python: lists, tuples, sets and dictionaries. Materials or Technology Needed Computer Python Command Prompt, Terminal or I...DiscussPython
Saumyajeet Dassaumyajeetdas.hashnode.net·Apr 21, 2023Dictionary Methods in PythonThe dictionary uses several built-in methods for manipulation. They are listed below update() The update() method updates the value of the key provided to it if the item already exists in the dictionary, else it creates a new key-value pair. Example:...DiscussPython 3
Siddhi Kiran Bajracharyasiddhibajracharya.hashnode.net·Apr 20, 2023Why I love virtual environments!Learning about Python's virtual environments is critical if you want to be more confident as a Python programmer. It is one of the concepts that is mostly overlooked. My Python programming journey started in a similar way. When I started with Python ...Discuss·1 likePython Virtual Environmentsvirtualenv
Paolo Repaoloking.hashnode.net·Apr 20, 2023Creating code with PythonInstalling Python To write Python code, you first need to install the Python interpreter on your computer, which will translate the lines of code we write into machine code that the computer can understand. In this article, I am going to follow the s...DiscussPython