Search results

View (previous 20 | ) (20 | 50 | 100 | 250 | 500)
  • from ctypes import * ...
    14 KB (1,695 words) - 09:30, 8 January 2024
  • {{libheader|ctypes}} This uses the [http://python.net/crew/theller/ctypes/ ctypes library] in order to get the console dimensions on Windows. This code is a ...
    35 KB (4,477 words) - 11:56, 13 February 2024
  • The ctypes module is meant for calling existing native code from Python, but you can g <syntaxhighlight lang="python">import ctypes ...
    68 KB (9,334 words) - 14:47, 27 March 2024
  • === ctypes === <syntaxhighlight lang="python">import ctypes ...
    82 KB (10,773 words) - 11:55, 17 November 2023
  • <syntaxhighlight lang="python">from ctypes import * ...
    27 KB (3,183 words) - 11:50, 13 February 2024
  • ...[http://docs.python.org/library/ctypes.html?highlight=ctypes#module-ctypes ctypes module] has functions that map data types and sizes between Python and C: <th class="head">ctypes type</th> ...
    61 KB (9,327 words) - 10:07, 16 February 2024
  • ...C and python datatypes. Within Structures, [http://docs.python.org/library/ctypes.html#bit-fields-in-structures-and-unions bit fields] can be created. <syntaxhighlight lang="python">from ctypes import Structure, c_int ...
    66 KB (9,019 words) - 10:14, 3 January 2024
  • IMPORT IO, Ctypes, Cstring, M3toC; VAR string1, string2: Ctypes.const_char_star; ...
    124 KB (17,333 words) - 17:35, 21 April 2024
  • {{libheader|xLib, x ,ctypes}} xlib, x, ctypes; ...
    85 KB (9,116 words) - 23:56, 9 March 2024
  • <syntaxhighlight lang="python">import ctypes ctypes.windll.user32.mouse_event(0x2, 0,0,0,0) # Mouse LClick Down, relative co ...
    55 KB (6,759 words) - 11:16, 6 February 2024
  • var ctypes = []string{ temp := make([]string, len(ctypes)-1) ...
    326 KB (29,105 words) - 21:44, 4 June 2024
  • <syntaxhighlight lang="python">from ctypes import * ...
    46 KB (5,454 words) - 11:44, 13 February 2024
  • const Ctypes = {8: "cuchar", 16: "cushort", 32: "cuint", 64: "culong"}.toTable let ctype = Ctypes[struct.size] ...
    192 KB (23,150 words) - 09:14, 7 November 2023
  • ...with python3. It's easier to call a dynamic library from python using the ctypes module. Consider using <tt>PyRun_SimpleString</tt> to have main.c call pyt ...
    71 KB (10,007 words) - 12:02, 15 February 2024
  • from ctypes import * ...
    73 KB (8,824 words) - 11:46, 13 February 2024
  • import ctypes sound_buffer = (ctypes.c_ubyte * length).from_buffer_copy(wave) ...
    72 KB (8,451 words) - 13:07, 26 May 2024
  • ctypes, ...
    110 KB (12,790 words) - 10:02, 8 January 2024
  • ...dress operations on C-type objects (see [http://docs.python.org/lib/ctypes-ctypes-reference.html C-types Reference] for details). ...
    97 KB (14,602 words) - 08:03, 18 May 2024
  • /* could use ctypes, but then they pretty much do the same thing */ ...
    89 KB (10,549 words) - 16:25, 10 February 2024
  • cTypes, ...
    180 KB (21,819 words) - 14:23, 19 February 2024
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)