My understanding is that ctypes is a package that provides foreign function library for CPython.
No it is not possible to use this package from PyMite.
Based on this question and your previous questions, I feel I should help you adjust your expectations of p14p and PyMite.
1) The PyMite vm is not a scaled down version of CPython. PyMite is written from scratch to be as small as possible.
2) To fit in tiny RAM, PyMite is minimalist in what it supports. We only have a basic set of builtin functions and a tiny standard library.
From this perspective, the p14p programmer must realize that there is very little possibility of using code written for the desktop on a microcontroller with around 32K of RAM.
!!Dean
On Jan 1, 2014, at 12:03 AM, Nilesh Vora wrote:
> Is it possible to use ctype function from pymite?
> Have anyone done it before?
>
> --
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google Group.
> Site:
http://groups.google.com/group/python-on-a-chip
>
> ---
> You received this message because you are subscribed to the Google Groups "python-on-a-chip" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
python-on-a-ch...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.