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
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Python
SQLite Database Connection Objects
Python
0
1
1128
Return the Sidereal Time (in hours) from Latitude and Longitude
Python
0
2
1007
Generator python-3
Python
0
1
1141
Hello World
Python
1
2
1070
Example use sentences if or elif and else
Python
0
2
1120
Example use sentences for and while (bucles)
Python
0
0
1029
Calculator
Python
0
1
1282
Visualize KDE
Python
2
0
1403
Connect to microsoft access database
Python
0
2
1223
Python XML parsing from website
Python
0
0
1137
Kill Proccess Linux with Python
Python
0
0
1190
python Simple HTTP Server
Python
0
1
1178
Algoritmo Genético simple
Python
0
2
3766
Analizador SPAM
Python
0
0
1261
Cubo con PyOpenGL
Python
0
0
1942
Cubo con Pygame
Python
0
0
1578
Tetris wxPython
Python
1
4
1319
Blender - Hair set start end simulation
Python
1
0
1251
Blender - Constrain_Location
Python
0
0
1210
Descomposición en valores singulares (SVD)
Python
0
2
2075