Thread: Import error
View Single Post
  #1  
Old 07-23-2019, 07:31 AM
ashwa ashwa is offline
Registered User
 
Join Date: Jul 2019
Posts: 1
Import error

import ctypes
from ctypes import wintypes
import time

user32 = ctypes.WinDLL('user32', use_last_error=True)

INPUT_MOUSE = 0
INPUT_KEYBOARD = 1
INPUT_HARDWARE = 2

KEYEVENTF_EXTENDEDKEY = 0x0001
KEYEVENTF_KEYUP = 0x0002
KEYEVENTF_UNICODE = 0x0004
KEYEVENTF_SCANCODE = 0x0008

MAPVK_VK_TO_VSC = 0


VK_TAB = 0x09
VK_MENU = 0x12



wintypes.ULONG_PTR = wintypes.WPARAM

GETTING IMOPRT CTYPES ERROR NO SUCH MODULE

SecureCRT
---------------------------
ImportError



Error: No module named _ctypes

Line: 16



import ctypes
Reply With Quote