# Ctypes
{id: ctypes}

## ctypes - hello
{id: ctypes-hello}
{i: ctypes}

![](examples/c/hello.c)

```
gcc -o hello hello.c
gcc -o hello.so -shared -fPIC hello.c
```

![](examples/c/hello.py)


## concat
{id: ctypes-concat}

![](examples/c/more.c)
![](examples/c/more.py)



## links
{id: ctypes-links}

* [ctypes](http://docs.python.org/library/ctypes.html)
* [Python Ctypes Tutorial](http://jjd-comp.che.wisc.edu/index.php/PythonCtypesTutorial)






