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
1300
Return the Sidereal Time (in hours) from Latitude and Longitude
Python
0
2
1180
Generator python-3
Python
0
1
1313
Hello World
Python
1
2
1236
Example use sentences if or elif and else
Python
0
2
1288
Example use sentences for and while (bucles)
Python
0
0
1185
Calculator
Python
0
1
1474
Visualize KDE
Python
2
0
1659
Connect to microsoft access database
Python
0
2
1408
Python XML parsing from website
Python
0
0
1292
Kill Proccess Linux with Python
Python
0
0
1371
python Simple HTTP Server
Python
0
1
1352
Algoritmo Genético simple
Python
0
2
4015
Analizador SPAM
Python
0
0
1470
Cubo con PyOpenGL
Python
0
0
2331
Cubo con Pygame
Python
0
0
1882
Tetris wxPython
Python
1
4
1522
Blender - Hair set start end simulation
Python
1
0
1453
Blender - Constrain_Location
Python
0
0
1398
Descomposición en valores singulares (SVD)
Python
0
2
2298