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

29 Jul 2014 by tyebillion
Implementation of the fourth order Runge-Kutta method in Python for solving n-dimensional ordinary differential equations
19 Jan 2017 by ZackAkil
Explanation and demo of using prime factors to index text records
19 Jun 2015 by Tareq_Gamal
Workaround to run and exchange data between .NET and other platforms
28 Jan 2016 by patrik polakovic
A tool for parsing NTFS log file
25 Nov 2015 by Dhruv Singh
Follow the tips below to write more beautiful and idiomatic Python code!
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.
28 Jan 2019 by CPallini
Computing permutations using recursion, in Python, for the absolute beginner
30 Sep 2014 by Dhruv Singh
Detailed usage of the newer python format() method for strings
1 Apr 2017 by schollii
Find routes from any node of a directed graph to leaves, when cycles may be present in graph
29 Mar 2018 by Sharad_Agrawal
This article is about the use of Google Translation package in Python.
16 Sep 2014 by Dhruv Singh
Python dictionary supports a get() method that helps to look up a key and perform assignment operation in one line of code!
4 Oct 2015 by Member 12032084
.dll for making the FTP management with VB.NET easier
26 Oct 2018 by José Cintra
Generic algorithm to generate mathematical sequences
14 Dec 2018 by D4rkTrick
This article provides code for making a Thread reusable.
17 Feb 2023 by Matthew Dennis
In this tip, we resolve an issue where on certain systems some of the processes were left running so each CodeProject.AI Server start would create more processes, using more system resources.
23 Jun 2019 by Octavio Sanchez Huerta
Python Script using WSLT
22 Dec 2014 by yousafzai amazai
In this article we see how selection sort can be implemented with swapping pointers.
13 Jan 2015 by raildude
An algorithm to compute the intersection point (if it exists) of a pair of 2D line segments
28 Oct 2015 by Alexander Iskhakov
Creating a HTTP proxy using Play framework and WS API
16 Dec 2015 by JinWenQiang
Just a brief introduction of a simulator to build wireless environment
23 Feb 2016 by Wagner NULL
This document aims to demonstrate how the application here called PYRAMID was developed. In fact, this is only a test application, developed as training for learning the Pyramid framework using the Python programming language.
23 Apr 2019 by Dharmesh Barochia
Recommended best practices for finding and removing Duplicate Text/Documents
31 Jan 2022 by Eric Walter
This blog is about creating an image in Docker using Python.
29 Jul 2023 by Glenn Viroux
An overview of a couple of useful design patterns with examples in modern Python
18 Sep 2012 by Grant Curell
IP checksum implementation in python
2 Apr 2014 by schollii
Recipe for reverse engineering function calls in a Python app
28 Oct 2014 by Farzan Hajian
This tip describes how to create and delete Linux swap files using a Python script
6 Sep 2014 by computermagic
Example of generating sequential GUIDs from Python
12 Sep 2014 by Alex Puchades
In this tip, XEndian, a header-only library will be presented
21 May 2015 by Rahul VB
This is a short tip about lamdba expressions in Python.
3 Jun 2015 by TUKET BO
In this tutorial, we will learn how to embed Python in a C++ application. In particular, we are going to see an example in which we will be able to interact with a GUI (made with GTK+).
20 Dec 2015 by The Purple
Create Libre/Open Office Calc documents, reports on Python
25 Mar 2020 by Coding Notes
How to create a linear regression model from scratch using TensorFlow 2.0
24 Dec 2021 by Edward Sulistijono
Face Recognition with Python Programming Language using Haarcascade
16 Feb 2023 by Manoj Mohan 07
Use Django to visualize download stats of Python packages and gain insights into package popularity and usage trends
18 Dec 2023 by Oliver Kohl D.Sc.
Step-by-step guide on data-cleaning
16 Jan 2020 by Alon Lek
Find the best way to predict column value based on other columns, quickly and simply
4 Mar 2024 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.
N 16 Apr 2024 by Oliver Li 2024
Java Code Change Impact Analysis
2 Apr 2013 by Ievgen Ragulin
Comparing performance channel api and socket.io on example of multiuser whiteboard
30 Apr 2013 by Piotr Gałecki
A simple trick that can relieve the database during a brute-force attack.
27 Jun 2013 by RPGillespie
Generate a quick pcap file with a custom packet
21 Apr 2014 by Member 4206974
A function for works on event
20 Aug 2014 by Alexander Gorin
Introduction to txcaching library.
22 Aug 2014 by Eric Reynolds
Learn how to easily substitute VBA with Python as Excel's scripting language with a library called ExcelPython
6 Oct 2014 by pi19404
The article illustrates tools and techniues that can be used for python code documentation
5 May 2016 by Alexey Shtykov
To write a perfect and fast make files
28 Jan 2017 by Shao Voon Wong
Python Script to fill FIX Protocol Message Logs with information
23 Feb 2019 by Potjamarn Arpornratn
The code below is a sample Python snippet that will connect to host (eg. any www.host.com) at specified port (eg. 443), download certificate chain from host, and store them on the specified cert_file_pathname location.
3 Aug 2019 by Cloudster
Resolve VS Code extension errors by forcing a new download
11 Apr 2020 by JC Carmo
How to display MySQL database records in alphabetical order on a PyQT5 form regardless of record ID numbers
24 Jul 2020 by Tareq_Gamal
Multitheading-based Simple way to control a PlayStation Controller with added Events and Naming buttons, and more options
25 Jul 2020 by Gen1us2k
Run GeoDjango on Elasticbeanstalk container using Python
2 Mar 2022 by Oliver Smith 2022
Save time comparing JSON docs and build collaboration features into your applications
7 Jul 2022 by DiponRoy
This example is to partially update data in FastAPI using SQLAlchemy and Python
29 Jul 2022 by Balachandar Jeganathan
Export user profiles into Keycloak
1 Oct 2014 by James Dale
My Windows Sever 2003 reaches its end of life in 2015. I do not look forward to moving to Server 2012. Surely there has to be a better, portable, and cross platform solution that features zero install and fits on a USB stick.
14 Oct 2014 by Dhruv Singh
Follow the tips below to write more beautiful and idiomatic Python code!
17 Oct 2014 by _Noctis_
Help you set and run gitstats on your windows
14 Jul 2023 by Evgenii Zaiats
Create a simple but scalable Telegram bot using AWS Lambda and the python-telegram-bot library
3 Jan 2017 by Đinh Công Thắng
You can fill any form, click any button, and extract any data from web by using Web Automation.
18 Feb 2022 by Shweta Lodha
Learn about how to read publicly listed stock data and plot a graph
28 Oct 2014 by Rajaraman Raghuraman
Step by step guide to problem solving in programming especially for beginners.
9 Jun 2015 by loody
A quick tip about creating a custom view type for Odoo8
19 Aug 2020 by Tiago Cavalcante Trindade
How to put color in Python, C, C++, C#, Java and batch on the Windows console
16 Nov 2016 by BeemerWT
Provides a webserver solution for all operating systems without a boat-load of instruction or management
29 Sep 2014 by binit.ku.singh
The most advised way to use imports in django
12 Feb 2015 by FrostedSyntax
Regex patterns that will condense multiple spaces, tabs or line breaks into a single space, tab, or line break.
22 Apr 2016 by Marc Clifton
A short look into what you need to be aware of when using duck-typed languages
2 Nov 2014 by Dhruv Singh
Follow the tips below to write more beautiful and idiomatic Python code!
27 Oct 2023 by Alexey Shtykov
Python became a quite popular programming/scripting language recently. But, after some inspiring experience, I've got some open questions...
5 Sep 2015 by Thinira
In this tip, we will discuss how to setup Angular 2.0 in Visual Studio and write a very basic “Todo” application.
17 Apr 2016 by DataBytzAI
How to configure Visual Studio code to work with Python3
4 Nov 2018 by José Cintra
Simple algorithms to calculate convergent series in the Python language
3 Sep 2014 by milkboy31415
This code transforms rotations and vectors between reference frames such as Unreal, 3d Studio Max, etc.
7 Mar 2015 by SuperVessel
This article will teach users how to create a dedicated IPython + Notebook environment on cloud (SuperVessel cloud), in the most easy and free way. Users could try it at once !!
29 Jan 2024 by Ștefan-Mihai MOGA
Implementation of Producer-Consumer problem in C++ and Python
2 Jul 2014 by YvesDaoust
Computation of the Faulhaber polynomials coefficients
14 Oct 2012 by harold@talerian.com
C is still the best language for native-code development.
12 Feb 2019 by D4rkTrick
Code for a 4-bit encoder to store 15 different symbols with higher efficiency
5 Sep 2016 by Andrew Admire
Create a distributed P2P TMTO Hash database
21 Nov 2022 by Chris Maunder
Working through the combinations to get PaddlePaddle and PaddleOCR installed and working everywhere
28 Sep 2013 by Evan Zhao
ffpython is a C++ lib, which is to simplify tasks that embed Python and extend Python.
7 Aug 2018 by Leonid Fofanov
Raspberry PI implementation of binary counter originally developed for Arduino board.
17 May 2019 by Emrah Koçak
How to load a JSON file with array of objects without any information about the attributes into SQLite 3 database
31 May 2017 by BillMoore2017
Tkinter Command Window Here Launcher
15 Jan 2019 by Tareq_Gamal
This article describes how to send and receive data from RaspberryPi and use it as Server.
9 Jan 2019 by Tareq_Gamal
Control Anything from a web page using sockets and ports.
21 Aug 2016 by Zen_Z
Time from local to utc
11 May 2010 by Michael Safyan
If you've done a regular search for API reference documentation, most likely you've come across links to very old versions of the API (e.g. links to Java 1.4.2 instead of Java 5 or Java 6), or you've probably come across plenty of links that are completely unrelated to the actual search (getting...
5 Mar 2018 by Dharmateja Challa
This article is about generating random data using Trusted Platform Module in Windows 10 and testing its randomness using dieharder test suite.
1 Feb 2021 by jfriedman
When you need a janky [unsafe] way to generate communitive hash codes
8 May 2023 by Sam@112
Real-time push notifications for network connected distributed system
25 Aug 2021 by kosta2222
Create serializer and deserializer to save machine learning parameters
8 Jan 2013 by war10ck_prophet
Bare minimum code to monitor data files written by server processes.