Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Python snippets by S
String Masking
Python
0
0
635
Decending Number - Method 1
Python
0
0
511
Summarisation Series
Python
0
0
537
Check multiple character in a string
Python
0
0
896
Calculate number of X and O
Python
0
0
831
Euclidean distance with numpy
Python
0
0
1136
Set multiple variable from a List/Tuple value
Python
0
0
497
Measure Decimal number based on Range
Python
0
0
576
HOG Image Representation
Python
0
0
1111
Download Image from URL list inside Text File
Python
0
0
598
Decorator Functions in Python 3
Python
0
0
854
Python Emulation if-else with dictionary
Python
0
0
544
Generator function in Python with Exception
Python
0
0
693
Copy text from text file into another text file - Method 1
Python
0
0
472
Copy text from text file into another text file - Method 2
Python
0
0
471
Duplicate image file using python
Python
0
0
487
Decending Number - Method 2
Python
0
0
427
Getting Operating System name and IP Address using Python
Python
0
1
597
Toggle value between 1 and 0 in Python 3
Python
0
0
528
Plotly - Pie Chart
Python
0
0
499