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
vaibhav kumarvaibhavkumar.hashnode.net·Dec 22, 2020Building a Command Line File Downloader in PythonPython is one of the most popular general purpose programming language with a wide range of use cases from general coding to complex fields like AI. One of the reason for such popularity of python as a programming language is the availablility of man...Tapas Adhikary and 1 other are discussing this2 people are discussing thisDiscuss·254 likes·565 readsPython ProjectsPython 3
vaibhav kumarvaibhavkumar.hashnode.net·Dec 22, 2020Concatenating PDF files using PythonSometimes we have to deal with multiple PDF files and I've seen often that people want if pdfs can be merged or concatenated as one single file. We can do that with Python thanks to the PyPDF2 library, which is a very handy tool when it comes to work...Discuss·234 likes·405 readsPython Projects2Articles1Week
JMN jmn950-dev.hashnode.net·Apr 25, 2023Without if else statements, your code is like a GPS without a map - directionless and destined to get lostIn Python (or any other programming language), "if-else" statements are used to make decisions in your code. Think of it like making a choice based on a condition. Let's find out how they work. Example 1 Imagine that you want to play a game outside. ...Discuss·1 likePython 3
Toba AdesugbaforToba's ML Blogtobaml.hashnode.net·Apr 26, 2023Mastering Feature Reduction: How mRMR Helps Machine Learning Models Cut Through the NoiseA Little Introduction Imagine trying to find a needle in a haystack, but instead of one needle, you have thousands or hundreds, and each one looks almost identical. That's what it can feel like trying to select the most relevant features from a large...DiscussData Science
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
Lakshit Chiranjiv SagarforLeeting-LCSleeting-lcs.hashnode.net·Apr 25, 2023Smallest Number in Infinite SetProblem Statement:- You have a set which contains all positive integers [1, 2, 3, 4, 5, ...]. Implement the SmallestInfiniteSet class: SmallestInfiniteSet() Initializes the SmallestInfiniteSet object to contain all positive integers. int popSmalles...Discuss·10 likes·68 readsDSA
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
Shreyansh Agarwalshreyanshagarwal.hashnode.net·Apr 24, 2023How to implement Linked List using Dictionary in PythonIntroduction In this blog, we will implement Linked List data structure using in-built data type dictionary in Python. This blog gives you an idea about abstract data structure and gives a different way to implement linked list in Python. Linked List...Discuss·1 likePython 3
Paolo Ferraripaoloferrari.hashnode.net·Apr 24, 2023Python and recursionIntroduction With this simple blog post, I want to share with you what I have learned studying the concept of recursion. What is recursion Why we should study it When we use it What is recursion Recursion is a programming technique where a funct...Discuss·1 likeRecursion in programming
Lakshit Chiranjiv SagarforLeeting-LCSleeting-lcs.hashnode.net·Apr 23, 2023Restore The ArrayProblem Statement:- A program was supposed to print an array of integers. The program forgot to print whitespaces and the array is printed as a string of digits s and all we know is that all integers in the array were in the range [1, k] and there ar...Discuss·10 likesDSA
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
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