[Python] Tensorflow 2 개발환경 셋팅 on Windows 11
·
Language/Python
PS C:\Users\aaa> python Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >>> print(struct.calcsize("P")*8) 64 PS C:\Users\aaa> choco install cuda Chocolatey v1.2.1 Installing the following packages: cuda By installing, you accept licenses for the packages. Progress: Downloadin..
[Python] 논리회로 구현하기
·
Language/Python
import numpy as np def commonCompare(tmp): if tmp
[Python] 안드로이드 마우스탭 이벤트
·
Language/Python
ppadb와 pynput을 활용했습니다. 디바이스 키값은 adb devices를 통해 얻어낼 수 있습니다. from ppadb.client import Client as AdbClient from pynput.keyboard import Key, Listener import time # Default is "127.0.0.1" and 5037 client = AdbClient(host="127.0.0.1", port=5037) device = client.device("ce0*******642702") # device.shell("logcat", handler=dump_logcat) isNotPressRight = True isNotPressLeft = True isNotPressUp = True isN..