Tag: <span>python</span>

Intro to Machine Learning with TensorFlow
Event

Intro to Machine Learning with TensorFlow

This is a 16-hour course on Tensorflow. We will explore Tensorflow architecture and application programming interfaces to build machine learning algorithms and train then on a real world dataset. During the course you will cover the following topics: Introduction to Tensorflow Present a small model end to end using Jupyter Notebook Present a small model end to...

Memoization in short
Post

Memoization in short

Originally posted on dev. python-journey (3 Part Series) 1Python pro tips2Memoization in short3About Python imports What problem does memoization solve?In a nutshell, it prevents ineffectiveness. Why The code is not as brilliant as you might think. Sometimes, it needs to repeat stuff over and over to do its job. The great idea with memoization is...

Here’s what to expect from Python 3.9
Post

Here’s what to expect from Python 3.9

Originally posted on thenextweb. Python 3.9 is expected to be released on Monday 5th October 2020. Prior to releasing the official version, the developers had planned to release six alpha, five beta preview, and two release candidates. At the time of writing this article, the first candidate was recently released on 11 August. Now, we’re anxiously...

Structured concurrency in Python with AnyIO
Post

Structured concurrency in Python with AnyIO

Originally posted on mattwestcott. How to improve your spaghetti asyncio code By now you might be familiar with the term ‘structured concurrency’. It’s a way to write concurrent programs that’s easier than manually taking care of the lifespan of concurrent tasks. The best overview is Notes on structured concurrency by Nathaniel Smith (or his video if you prefer). This post...

Make Your Python Code Fluent
Post

Make Your Python Code Fluent

Originally posted on towardsdatascience. With Function and Operator Overloading Overloading in Python allows us to define functions and operators that behave in different ways depending on parameters or operands used. Operator Overloading As an example, we can use “+” operator to do arithmetic calculations on numerical values while the same “+” operator concatenates two strings when strings operands used. This is called operator overloading and it...

Tools you should be using on every Data Science project in Python
Post

Tools you should be using on every Data Science project in Python

Software development tools for staying organised and keeping quality high There are many online lists of the software and packages used in Data Science. Pandas, Numpy and Matplotlib are always featured, as are machine learning libraries Scikit-learn and Tensorflow. However, just as important are some less DS-specific software development tools that should be part of...

Creating Command-line Based Chat Room using Python
Post

Creating Command-line Based Chat Room using Python

Originally posted on hackernoon. Simple Chat Room using Python Python is one of the most versatile programming languages and one can observe that through its various applications everywhere. Here is an example of how you can build a simple command-line based chat room using python which is easy to implement and understand. So let’s get started....

Downloading Stock Data and Representing it Visually
Post

Downloading Stock Data and Representing it Visually

Originally posted on towardsdatascience. Using YFinance and Plotly libraries for Stock Data Analysis In this article, I will explain to you how you can use YFinance a python library aimed to solve the problem of downloading stock data by offering a reliable, threaded, and Pythonic way to download historical market data from Yahoo! finance. In the later...

How to Profile Your Code in Python
Post

How to Profile Your Code in Python

Originally posted on towardsdatascience. Finding bottlenecks and optimizing performance using cProfile If you’ve ever written a line of code (or even tens of thousands of lines), you’ve surely wondered “Why does my code take so long to run?” Answering that question isn’t always simple, but it can be easier if you search for answers the...

Top 9 python frameworks for game development
Post

Top 9 python frameworks for game development

Originally posted on analyticsindiamag. Popular video games like Battlefield 2, Pirates of the Caribbean, among others use Python programming for a number of its functionalities and add-ons. With the advancement in the gaming industry, Python language has proved to be an exceptional choice by the developers for rapid prototyping of video games. In this article, we curated a list...

Understand __slots__ in Python
Post

Understand __slots__ in Python

Originally posted on towardsdatascience. A simple way to improve your Python code When we create an object from a class, the attributes of the object will be stored in a dictionary called __dict__. We use this dictionary to get and set attributes. It allows us to dynamically create new attributes after the creation of the object....

Teach kids Python by building an interactive game
Post

Teach kids Python by building an interactive game

Originally posted on opensource. Open source tools can help anyone get started learning Python in an easy and fun way—making games. Python has earned a reputation as a wonderful beginner programming language. But where does one begin? One of my favorite ways to get people interested in programming is by writing games. PursuedPyBear (ppb) is a...

How to Make Better Looking Charts in Python
Post

How to Make Better Looking Charts in Python

Originally posted on medium. With the matplotlib and seaborn libraries its easy to make charts in Python, but the default settings can result in an ugly looking chart. This might not be a problem if you only need the chart for your own purposes but if you’re going to share it you may wish to improve its appearance and...

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...