Click here to Skip to main content
15,881,516 members
Everything / Programming Languages / Python

Python

Python

Great Reads

by Thomas Weller
Demonstrates how to run Python scripts from C#
by Clark Fieseln
Protect your privacy against malicious network activity and policy violations
by Akhil Mittal
Creating a real-time chatbot using Amazon Lex Services and deploying the bot over Facebook messenger
by Marc Clifton
My adventure with hardware and communicating between a BeagleBoneBlack and a C# app on Windows.

Latest Articles

by Oliver Li 2024
Java Code Change Impact Analysis
by Chris Maunder
Learn how to process a video file offline using CodeProject.AI Server
by Matthew Dennis
Create a ChatGPT-like AI module for CodeProject.AI Server that handles a long-running process.
by Oliver Kohl
This article provides a comprehensive guide to TensorFlow 2.x, covering its execution modes, model building APIs, and insights for choosing the right approach for machine learning projects.

All Articles

Sort by Score

Python 

3 Oct 2020 by Sandeep Mewara
A detailed look at how to deduce insights using Matplotlib with real world examples.
25 Jan 2023 by Dev Leader
Use the "Python for .NET" package as a way to call Python from C# code
29 Aug 2015 by Eric Z (Jing)
The traditional way to solve the ZigZag Conversion problem is to either build a 2d table or find a pattern among the index of the letters on the same row. There is also a beautiful solution which builds on top of Breadth First Search. Continue reading..
1 Oct 2013 by Dev Leader
With this post, we’re still just scratching the surface of what’s doable when integrating Python and C#.
16 Nov 2019 by Bahrudin Hrnjica
In this article, we are going to explore the main features in the new C# Juypter Notebook.
10 Oct 2021 by Shun Huang
Introduce Python's way to support polymorphism and duck typing from the concept of C++ polymorphism
25 Oct 2021 by Shun Huang
Some Python scope rules that are not intuitive for people from a C++ background
4 Oct 2013 by Arpit Jain
In this article, we will learn about functions in Python. We will learn how to create functions in the Python language and how to call the functions.
9 Aug 2020 by CodingKnight
Comparison of PyQt and Tkinter
12 Dec 2016 by Petru Faurescu
How to use Visual Studio Code to edit and run Python code and access Twitter API
20 Jan 2017 by Junian Triajianto
Using the power of Livestreamer and FFmpeg, twitch stream can be recorded every time a user goes online.
27 Jan 2020 by 10xlearner
How to format CMake files
22 Nov 2020 by Sandeep Mewara
A look into graph based algorithm
8 Oct 2022 by Shun Huang
Various ways to run and build Python code for those who have C++ background
11 Jun 2017 by Dave Kerr
Text in the command line can quickly get unwieldy. Here are some simple tricks you can use to navigate in the command line.
13 Feb 2019 by Philipp_Engelmann
With IoT (Internet of Things) on the rise and hardware getting cheaper and cheaper, it's a great time to explore the possibilities this new technology provides.
15 Jan 2020 by Ahmed Bouchefra
In this tutorial, we’ll see by example how to create a CRUD application from scratch and step by step. We’ll see how to configure a MySQL database, enable the admin interface, and create the django views.
1 Sep 2020 by CodingKnight
An examination of PySide and PyQt to help find out which one to use
28 Oct 2020 by Sandeep Mewara
Linear-time partition: A divide & conquer based selection algorithm
7 Oct 2013 by Arpit Jain
An introduction to some Python data types and data structures.
14 Feb 2014 by hugocaracol
Decorators in Python
7 Apr 2014 by Dev Leader
IronPython: A quick WinForms introduction
18 May 2014 by Psycho_Coder
Song Lyrics scrapper in python using BeautifulSoup
8 Nov 2015 by Gowrishankarnath
The aim of this article is to bring all the related information of configuring the PyCharm IDE with pytest Testing Tool in one place. Here, I'll not dwell deep into how testing is done in Python. But I'll discuss the proper way of configuring PyCharm IDE with pytest testing
8 Nov 2015 by Gowrishankarnath
This article raised from my own need to find an easy to use guide with all the information related to setting up a Python working environment using PyCharm, Enthought Canopy and GitHub at a single source.
9 Jan 2018 by Programming Tutorials by Tests4Geeks
In this tutorial, we are going to have an introduction to basic concepts of Celery with RabbitMQ and then set up Celery for a small demo project.
15 Dec 2019 by Ahmed Bouchefra
How to build GUIs for your Python applications using Electron and web technologies
4 Sep 2020 by Ahmed Bouchefra
How to remove comments from JSON using Python
22 Feb 2021 by grilialex
This article is a continuation of the previous article on Creating a Smart Hydrophone Processing System – Hardware. It is assumed that you have already setup the Raspberry Pi to have remote desktop and SSH agents active.
17 Mar 2021 by aroman
Various simple Computational Physics topics handled in Python
21 Apr 2022 by Matt Pogue
Scripting is a crucial skill for any admin to learn. This post walks through the process to develop a batch file download script in Python, demonstrating how to use the interactive Python shell to troubleshoot while writing code.
4 Mar 2020 by Lee P Richardson
How to provide strongly typed, cross platform, dependency managed access to all 2,935 Azure CLI commands in C#
10 Aug 2011 by Marek Piechut
Web Services in Ruby, Python and Java
23 Jul 2012 by danielthesolver
If you are the type of programmer that deals with JSON objects a lot, you are probably familiar with some online programming tools to print out the JSON in a very “pretty” format. These tools not only make dealing with JSON easier and … Continue reading →
8 Jan 2013 by David Corne
This is the first of actual posts in my series on design patterns in Python.
10 Jul 2013 by Brian Herbert
An intro to IronPython.
7 Oct 2013 by Arpit Jain
In this article we will learn about control statements that are available in Python language.
12 Apr 2014 by Alex Turok
Python: Lorenz
9 Sep 2014 by Grant Curell
FTPoverEmail Beta v1.00
29 Dec 2017 by Philipp_Engelmann
While programming languages are becoming more and more powerful and abstract, knowing about the underlying algorithms and data structures and when and how to use them is still key to writing efficient and elegant programs.
4 Jan 2018 by Philipp_Engelmann
In this short tutorial, I want to show you how to set up a simple Redis instance using Docker Compose. We will connect to it and test it using Python and the redis package.
25 Jan 2018 by Philipp_Engelmann
How to set up and deploy web applications using Flask and Redis on the Backend, and ReactJS on the Frontend. Using Docker Compose, it will be very easy to start, debug and deploy this application.
22 Aug 2019 by Bahrudin Hrnjica
Implementation of the LSTM recurrent neural network in CNTK shown in detail
15 Dec 2019 by Ahmed Bouchefra
How to send Ajax requests in Django 2 and Python 3.7 to add CRUD operations in your application and manipulate your Django models and database without having to refresh your web pages each time
15 Dec 2019 by Ahmed Bouchefra
A Django 2 CRUD example application using generic class based views using the latest Python 3.7 version
7 Mar 2020 by James A. Brannan
In this tutorial, you create a simple Python client that sends records to an AWS Kinesis Firehose stream.
28 Apr 2020 by Ahmed Bouchefra
Possible ways that you can use to connect or integrate Python with Node.js and Electron with simple examples
27 May 2020 by Mohammad Nasirifar
My status report while trying to understand why the exact same code Runs 1000s (not kidding) of times slower in Python
4 Jul 2020 by CodingKnight
While you don’t need to know about the details of Bytecode and JVMs to qualify as a Java programmer, such knowledge is still very beneficial.
11 Oct 2020 by CodingKnight
Comparison of Scrapy and BeautifulSoup
31 Jul 2021 by Jason Sultana
An argument for using mkdoc to store local docs instead of using a tool like confluence
16 Apr 2012 by li9705
Writing Android GUI using Python (Introduction)
19 Apr 2012 by li9705
An example of basic Android GUI elements created and controlled using python, which may be buttons, textviews, checkboxs, radiobuttons
24 Apr 2012 by li9705
Writing an Android GUI using Python
26 Apr 2012 by li9705
Writing Android GUI using Python (list view and custom view)
3 May 2012 by li9705
The examples in this article will create a menu, scroll view and popup window.
30 May 2012 by li9705
How to write Android GUI using Python (6:layout)
31 Oct 2012 by David Corne
FizzBuzz is variously a drinking game, a math game, a way of learning numbers in a foreign language and more importantly (for this blog) a programming kata.
4 Nov 2012 by David Corne
A Python implementation of finding primes
22 Jan 2013 by David Corne
The idea behind the strategy pattern is to encapsulate the implementation details of an algorithm and make them interchangeable.
22 Feb 2013 by David Corne
This post will be about the Iterator pattern which is a behavioural pattern.
20 Feb 2014 by K-Sid
A quick hack to display the current medal count from the winter Olympics using a Raspberry Pi and a 7-segment display.
19 Jan 2015 by Keyhole Software
Scripting with Python and AutoHotkey
3 Feb 2015 by Grant Curell
Using Python for Cisco Serial I/O
21 Jan 2019 by Member 13359958
A scenario where 4 Google Cloud services are put together for a solution, detailing the integration between these
3 Apr 2019 by setevoy4
The redis-py library and work with Redis Sentinel from Python
13 Aug 2019 by Dan Sporici
A short trick to bypass both ASLR (Address Space Layout Randomization) and DEP (Data Execution Prevention) in order to obtain a shell in a buffer-overflow vulnerable binary
24 Dec 2019 by Shun Huang
How to use Git submodule and develop mode for managing Python projects
21 Apr 2020 by Kevin Mack
Some resources to help with Artificial Intelligence in Azure if you are looking for some demos to show the “art of the possible” or tools to start
26 Sep 2018 by Bahrudin Hrnjica
Visual Neural Network Designer in ANNdotNET
20 Jan 2014 by BC3Tech
One of the things I have seen people applaud about Python is its “namedtuple” class.
20 Jun 2017 by grilialex
Decoding Serial Busses from Digital Oscilloscope
25 Oct 2021 by Shun Huang
Mutable, Immutable and copy assignment in Python vs. C++
26 Sep 2021 by Shun Huang
Introduce Python Property from the concept of C++ Getters and Setters
14 Oct 2013 by Rion Williams
How to merge smarter with Semantic Merge.
27 Jan 2022 by Shun Huang
Use Python to build atomic binary trees
1 Mar 2018 by Philipp_Engelmann
With recent scientific advancements in Deep Learning, Artificial Intelligence and Neural Networks, as well as steadily evolving tools such as Tensorflow, Pytorch, and Keras, writing, testing and optimizing your own Neural Networks is now easier than ever before.
31 Oct 2012 by hoonzis
Collective Intelligence or swarm intelligence is a very interesting scientific field. As well as neural networks, this field searches for inspiration in nature. This post describes how to use the collective intelligence of ants to find the solution to Travelling Salesman Problem.
18 Dec 2020 by Sandeep Mewara
A quick look into basic workflow when we apply Machine Learning to a problem
20 Oct 2016 by Mircea Diaconescu, Gerd Wagner
As opposed to the less powerful Arduino, the competitively priced and WiFi-enabled ESP8266 supports the Web-of-Things (WoT) since it can be programmed in JavaScript.
10 Nov 2014 by Thomas Daniels
The issue I came across when setting a Python global variable from a method, and how I solved it.
24 Jan 2015 by Grant Curell
Replace all spaces (or any other character) between quotes in Python
3 Oct 2022 by Shun Huang
How to set up a Python development environment and virtual environment for those who have C++ backgrounds
19 Oct 2015 by Arian Celina
My weekend with Python programming language
27 Mar 2021 by The Sun God
How to speed up your game in Pygame
10 Aug 2012 by mariangemarcano
Configuring buildbot to run automated builds and tests.
22 Jan 2013 by David Corne
The idea behind the builder pattern is to abstract away the construction of an object so that many implementations can use the same builder.
10 Mar 2020 by John Pili
How to use Python to generate image and add text
3 Mar 2019 by Chris Boss
I have followed stories about learning to code in education and am intrigued by what I have read.
10 Sep 2020 by OwenDavies
How to get Jupyter Notebook running on Ubuntu 20.04
13 Dec 2011 by Barry Lapthorn
Python interop in C/C++.
13 Nov 2018 by Vlad Neculai Vizitiu
Getting closure on Closures
21 Sep 2019 by Shameel
Part 2 of this multi-part article series compares SQL Server and PostgreSQL article, database structure, language differences, data type mappings, functions and operators and other important considerations for migration..
11 Feb 2018 by Nikola M. Živković
Introduction to TensorFlow with Python example
15 Sep 2018 by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
19 Mar 2020 by Nikola M. Živković
In this article, we are going to use Keras in combination with TensorFlow.