Click here to Skip to main content
15,884,176 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 

26 Aug 2019 by Thomas Weller
Demonstrates how to run Python scripts from C#
5 Feb 2024 by Clark Fieseln
Protect your privacy against malicious network activity and policy violations
25 Jan 2019 by Akhil Mittal
Creating a real-time chatbot using Amazon Lex Services and deploying the bot over Facebook messenger
8 May 2016 by Marc Clifton
My adventure with hardware and communicating between a BeagleBoneBlack and a C# app on Windows.
26 Apr 2018 by Mahsa Hassankashi
Best practice for opinion and Text Mining based on Naïve Bayesian Classifier.
16 Jan 2019 by Phil Hopley
Second part in a series on a ROS (Robot Operating System) House Bot
1 Jan 2021 by Yuancai (Charlie) Ye
Application of SocketPro onto various databases for continuous inline request/result batching and real-time stream processing with bi-directional asynchronous data transferring
3 Oct 2020 by Sandeep Mewara
A detailed look at how to deduce insights using Matplotlib with real world examples.
11 Jan 2023 by Clark Fieseln
Simulate hardware containing an FPGA programmed in VHDL interactively
7 Nov 2019 by Michael Haephrati
Now you can store your own voice recordings kept by Amazon but not made available to customers
10 May 2017 by Marc Clifton
Using C#, a simple web server, and Docker, I show you how to create a "Fiddle" website to run Python (or other script languages)
29 May 2020 by Glenn Prince
In this third part of the Data Cleaning with Python and Pandas series, we delve into some of the problems the dataset may contain.
29 Apr 2012 by Marcelo Ricardo de Oliveira
How to create a pronunciation test tool using Silverlight and Python
5 Mar 2014 by DaveAuld
A quick book review of what could be one of the "Best Haynes Manual Ever"
28 Apr 2019 by Phil Hopley
In this article, we will add AI to an existing ROS (Robot Operating System) House Bot.
29 May 2020 by Glenn Prince
This article is the first in the Data Cleaning with Python and Pandas series that helps working developers get up to speed on data science tools and techniques.
29 May 2020 by Glenn Prince
In this second part of the Data Cleaning with Python and Pandas series, now that we have a Jupyter Notebook set up and some basic libraries initialized, we need to load some data. To do this, we’ll load data from a CSV file, as well as from a local SQLite database.
29 May 2020 by Glenn Prince
In this sixth part of the Data Cleaning with Python and Pandas series, we look at a few of the simpler methods for combining data.
11 Jun 2020 by Glenn Prince
This article gives you a good starting point for your own object detection projects.
2 Sep 2021 by Peter Occil
Algorithms to turn biased "coin flips" into biased "coin flips", and how to code them.
11 Oct 2019 by Thomas Weller
Demonstrates how to invoke TensorFlow neural networks from a C# application and also how to use a Python-generated chart to display the results.
21 Aug 2023 by Jin Choi, PhD
A layman's description of how Kalman Filters work, and sample code that shows how to use it to forecast stock market volatilities
17 Oct 2022 by Chris Maunder
The first in a two-part series on detecting objects and evil rodents
25 Oct 2023 by Rami Alshaar
Full guide to create a website
29 Jul 2014 by tyebillion
Implementation of the fourth order Runge-Kutta method in Python for solving n-dimensional ordinary differential equations
24 Aug 2018 by Arthur V. Ratz
Create a Python web-app using Flask and PostgreSQL server, and run it in Docker
17 Jan 2019 by Phil Hopley
Third part in a series on a ROS (Robot Operating System) House Bot
7 Apr 2019 by Phil Hopley
Fifth part in a series on a ROS (Robot Operating System) House Bot
3 May 2019 by Phil Hopley
Eighth part in a series on a ROS (Robot Operating System) House Bot
3 Jan 2022 by Arthur V. Ratz
Optimizing the performance of the large-sized matrices QR factorization and eigendecomposition, using Schwarz-Rutishauser algorithm
2 Aug 2023 by Matt Scarpino
This article explains how the Python API makes it possible to embed Python in C++ and write extension modules in C++ that can be imported in Python.
25 Jan 2023 by Dev Leader
Use the "Python for .NET" package as a way to call Python from C# code
27 Feb 2023 by Nick Polyak
How to display Python plots within a C# program
8 Jun 2020 by Glenn Prince
In this article, we'll have a look at some of the pretrained models we can use in ImageAI to start detecting people in images.
24 Jan 2023 by Nick Polyak
This article provides simple examples of creating both client and server code for Google RPCs
16 Sep 2022 by Arthur V. Ratz
Compute the Levenshtein distance of literal strings effectively by using the Wagner-Fischer (two matrix rows-based) algorithm.
19 Jan 2017 by ZackAkil
Explanation and demo of using prime factors to index text records
31 May 2018 by Jesús Utrera
First article of a series of articles introducing deep learning coding in Python and Keras framework
6 Jun 2018 by Amarnath S
A historical problem in Probability with apparent and correct solutions, along with its Python simulation
29 May 2020 by Glenn Prince
In this fourth part of the Data Cleaning with Python and Pandas series, we look at a few of the simpler methods for combining data
4 Jun 2020 by Glenn Prince
In this article, we'll set up everything we need to build a hardhat detector with OpenCV.
25 Sep 2021 by Clark Fieseln
Compress, encrypt and hide a secret file inside an audio file (MP3, WAV, OGG, FLAC, ..)
13 Apr 2022 by Steve Hageman
A Python Library to help make properly scaled Fourier Transforms including utility functions
23 May 2018 by Andreas Schoenle
How to use CrashRptEx, to avoid some of the pitfalls of crash reporting in MFC apps or if you want the ability to continue your application after a crash
18 Aug 2014 by José Cintra
Some suggestions of algorithms for solving the Pascal Triangle, addressing iterative, recursive and functional paradigms
9 Jun 2015 by beep
A full WPF sample application demonstrating IronPython business rules
19 Jun 2015 by Tareq_Gamal
Workaround to run and exchange data between .NET and other platforms
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..
20 Oct 2017 by Patrick P. Frey
This tutorial based on a docker image will guide through the development of a search engine service based on Strus and its Python Bindings within the Tornado web-framework.
28 Jan 2016 by patrik polakovic
A tool for parsing NTFS log file
22 Nov 2018 by Philipp_Engelmann
How to create a Turing machine in Python - Part 2
29 May 2020 by Glenn Prince
In this seventh part of the Data Cleaning with Python and Pandas series, we can explore our visualization options.
9 Jun 2020 by Glenn Prince
In this article, we train our own custom model to detect if people are wearing hardhats.
9 Dec 2021 by Akhil Mittal
Create a config file; add, update and delete a configuration, and read a configuration in a Python app
26 Feb 2021 by Sergio Virahonda
In this article we talk about anomaly detection on time series data.
30 Oct 2023 by Rami Alshaar
Enhance your coding skills with a walkthrough on how to create a smart calculator with many features made in Python.
1 Oct 2012 by Espen Harlinn
Have a look at C++ Builder[^]Personally I think it's a good idea to learn a language that allows you to get "close" to the hardware. In a way it could be argued that assembly is a good first language, except that you would proably find the exercise rather frustrating.C++ Builder comes...
27 Jan 2015 by Vaclav Naydenov
Comparing the performance of two similar CRUD server apps, one written in Python and SQLAlchemy, the other in C++ and YB.ORM.
28 May 2015 by beep
Introduction to the Aim framework for dynamic scripting
5 Mar 2018 by Nikola M. Živković
Implementation of Convolutional Neural Network using Python and Keras
1 Sep 2018 by Arthur V. Ratz
In this brief article, we will demonstrate how to deploy a Node.js application and run it on Docker's Windows Server Core 2016 Containers
24 Nov 2019 by Volynsky Alex
This article describes the difference between shallow and deep copy using Python 3.
29 May 2020 by Glenn Prince
In this fifth part of the Data Cleaning with Python and Pandas series, we take one last pass to clean up the dataset before reshaping.
10 Jun 2020 by Glenn Prince
In this article, we begin the process of creating a custom object detection model.
17 Jul 2020 by Sergey L. Gladkiy
In this article, we'll begin the process of how to use a deep neural network to estimate a person's age from an image.
3 Sep 2020 by Keith Pijanowski
This article is the first in a series of seven articles in which we will explore the value of ONNX with respect to three popular frameworks and three popular programming languages.
21 Nov 2020 by Jarek Szczegielniak
In this series, we’ll use a pretrained model to create an iOS application that will detect multiple persons and objects in a live camera feed rather than in a static picture.
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#.
12 Oct 2014 by pi19404
In this article we will look at the basics of Discrete Fourier Transform and how it can be used as tool for frequency analysis of a signal
25 Nov 2015 by Dhruv Singh
Follow the tips below to write more beautiful and idiomatic Python code!
20 Oct 2017 by Patrick P. Frey
Article about implications of scalability requirements on full-text search engines and how Strus meets these requirements.
15 Apr 2016 by Lenny Cheng
We use Chrome DevTools, and the urllib and BeautifulSoup libraries to programmatically GET contents from www.codeproject.com.
1 Aug 2017 by Andy Galluzzi
NAT traversal for Software Developers
17 Jan 2019 by Phil Hopley
Fourth part in a series on a ROS (Robot Operating System) House Bot
14 Sep 2019 by Arthur V. Ratz
How to create and export TensorFlow S&P 500 Index prediction model and serve it using TensorFlow Model Server
16 Nov 2019 by Bahrudin Hrnjica
In this article, we are going to explore the main features in the new C# Juypter Notebook.
5 Jun 2020 by Glenn Prince
In this article, we create an object detection model.
16 Mar 2022 by Peter Occil
Python code for partially-sampled random numbers for accurate arbitrary-precision sampling
27 Jan 2021 by Sergio Virahonda
In this article in the series, we label a face mask dataset.
6 Jun 2021 by Shun Huang
Use Python to build AVL Tree
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
13 Jun 2023 by Jack Devey
This post delves into the perplexing Monty Hall paradox, examining the probabilities associated with sticking or switching doors in the game scenario.
11 Mar 2021 by The Zakies
Build a retrieval based chatbot using TF-IDF
28 Jan 2019 by CPallini
Computing permutations using recursion, in Python, for the absolute beginner
3 Aug 2019 by Dmitriy Repin
Using VS Code to author and debug an any-language service inside of a container running locally, on a cloud VM, or in a Kubernetes pod
9 Apr 2011 by Wendelius
Could it just be that the specs you have are incomplete? TBD could mean To Be Defined.
9 Feb 2012 by Espen Harlinn
As CodeProject is mostly a Windows centric site I assume that you are looking for a solution that works on Windows - so have a look at: PyHook[^]Description from the project site:pyHook is a python wrapper for global input hooks in Windows. Specifically it wraps the Windows...
21 Sep 2012 by Sergey Alexandrovich Kryukov
If you have some experience with C#, I would recommend the following: develop your application on Windows for Microsoft.NET. Use System.Windows.Forms (not WPF, not Metro). If your application does not use any Windows-specific code (like direct manipulation with Windows messages), no P/Invoke,...
9 Oct 2012 by Sergey Alexandrovich Kryukov
Practically, I think this is the answer which could serve your well: That would be too dangerous to rely upon the answer by any stranger in the world, no matter how good is the answer.Do I even have to explain why? We don't know what are you and what you want to do. Anyway, I could point out...
1 Oct 2012 by pasztorpisti
I think the more languages you know the more you see from the big picture. Its easier to program in higher level languages like C# but some problems can be solved only with lower level ones like C. Of course there are a big set of problems as well where a higher level languages offers 1000 times...
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.
30 Sep 2014 by Dhruv Singh
Detailed usage of the newer python format() method for strings
30 Sep 2014 by AD Colab Group
In the 2nd article in this thread, we start building out the 3D environment for the robots using the Visualization ToolKit (VTK).
18 Jun 2016 by Chris Solutions
The implementation of a no-framework client application using high-level developer governance.
1 Apr 2017 by schollii
Find routes from any node of a directed graph to leaves, when cycles may be present in graph
7 Aug 2017 by FiegeU
A worktime tracking solution that reads RFID tags on a Raspberry based terminal that is integrated to Dynamics AX 2009
29 Mar 2018 by Sharad_Agrawal
This article is about the use of Google Translation package in Python.
18 Jun 2018 by charles922
Games/Fun with Programming
3 Sep 2018 by Bhairav Thakkar
Basic modal analysis for dynamic response of structures in Python