Tag: python

Home / python
Python Terminologies – Important terms you must know as a Python Developer
Post

Python Terminologies – Important terms you must know as a Python Developer

Originally posted on techvidvan Moving ahead in our Python Tutorial, today this article will make you familiar with the important concept in Python that is, Python terminologies. In future, you will come across all these terms in various books and tutorials while learning Python. So without wasting any time let’s begin with our tutorial on...

9 Things to Know to Master List Comprehensions in Python
Post

9 Things to Know to Master List Comprehensions in Python

Originally posted on medium This tutorial will help you learn the most common usages of list comprehensions in Python Many more people are starting to learn Python, as it has become one of the most popular programming languages for almost anything, like web development, scientific computing, and certainly artificial intelligence. No matter where you’re going...

Implementing an Interface in Python
Post

Implementing an Interface in Python

Originally posted on realpython Table of Contents Python Interface Overview Informal Interfaces Using Metaclasses Using Virtual Base Classes Formal Interfaces Using abc.ABCMeta Using .__subclasshook__() Using abc to Register a Virtual Subclass Using Subclass Detection With Registration Using Abstract Method Declaration Interfaces in Other Languages Java C++ Go Conclusion Interfaces play an important role in software...

Where programming languages are headed in 2020
Post

Where programming languages are headed in 2020

Originally posted on oreilly Experts discuss what’s in store for popular and growing programming languages. As we enter a new decade, we asked programming experts⁠—including several of our own O’Reilly authors and instructors⁠—for their thoughts on what’s in store for some established players and fast-growing languages. Python The biggest news this year in Python is...

How To Install External Python Libraries Using Pip
Post

How To Install External Python Libraries Using Pip

Originally posted on medium This article is the second in a series going over how to scrape Yahoo Finance for stock price history data using the Python coding language. In this lesson, you will learn about open-source repositories, security risks of external packages, and how to install the external Python libraries using the Anaconda Prompt...

PythonPlantsVsZombies
Post

PythonPlantsVsZombies

A simple PlantsVsZombies game implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom. implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie. use json file to store level data (e.g.position and time of zombies, background info) support to select plant cards at the beginning of the level support...

Python’s Advantages and Disadvantages Summarized
Post

Python’s Advantages and Disadvantages Summarized

Are you a Python programmer? What are your thoughts? Python’s been gaining popularity year over the year for the past few years. In a 2019 Stack Overflow survey, Python was named the second-most beloved language of developers. Python’s often cited as being multipurpose and easy to be productive in. Its domination in machine learning and data...

Building Actuarial Functions in Python
Post

Building Actuarial Functions in Python

In college, I studied Actuarial Science. When I graduated I decided to learn more about data science and programming as I had always been interested in computer science. Soon after I began studying data science at the Flatiron School, I wrote a blog about the potential overlap between these two studies of actuarial science and data...

Three Ways to Use the Walrus Operator in Python
Post

Three Ways to Use the Walrus Operator in Python

Expand your toolkit with this new operator With the release of Python 3.8, the assignment-expression operator—also known as the walrus operator—was released. The operator enables the assignment of a value to be passed into an expression. This generally reduces the number of statements by one. For example: my_list = [1,2,3]count = len(my_list) if count >...

What Does the “Yield” Keyword Do?
Post

What Does the “Yield” Keyword Do?

Iterables, functions, and generators in Python To learn about the yield keyword, there are a variety of other terms and concepts that you must be comfortable with first. Before we dive into all of that, let’s keep the end in mind and talk through why yield is beneficial. Using yield will improve the memory efficiency — and subsequently, the speed/performance — when...

3 Essential Python Skills for Data Scientists
Post

3 Essential Python Skills for Data Scientists

Learning Pandas is great. Numpy is also tons of fun. But have you maybe started using libraries to early? Maybe you are still not aware of everything pure Python has to offer. If that sounds like you, you’ll like this article. Photo by fabio on Unsplash This article will cover a couple of pretty cool pure Python functionalities that I use the most often...