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
1443
Return the Sidereal Time (in hours) from Latitude and Longitude
Python
0
2
1326
Generator python-3
Python
0
1
1457
Hello World
Python
1
2
1361
Example use sentences if or elif and else
Python
0
2
1432
Example use sentences for and while (bucles)
Python
0
0
1324
Calculator
Python
0
1
1615
Visualize KDE
Python
2
0
1871
Connect to microsoft access database
Python
0
2
1559
Python XML parsing from website
Python
0
0
1418
Kill Proccess Linux with Python
Python
0
0
1505
python Simple HTTP Server
Python
0
1
1502
Algoritmo Genético simple
Python
0
2
4229
Analizador SPAM
Python
0
0
1614
Cubo con PyOpenGL
Python
0
0
2609
Cubo con Pygame
Python
0
0
2157
Tetris wxPython
Python
1
4
1661
Blender - Hair set start end simulation
Python
1
0
1590
Blender - Constrain_Location
Python
0
0
1538
Descomposición en valores singulares (SVD)
Python
0
2
2466