목록Python (2)
JS Coding
import sys from PyQt5 import uic, QtGui from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.Qt import QPushButton, QSize, QMessageBox form_class = uic.loadUiType("omok03_19.ui")[0] class MainClass(QMainWindow, form_class): def __init__(self) : QMainWindow.__init__(self) self.setupUi(self) self.flag_wb = True self.flag_over = False self.arr2D = [ [0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0..
import sys from PyQt5.QtWidgets import * from PyQt5 import uic, QtGui from PyQt5.QtGui import QPixmap, QIcon from PyQt5.Qt import QMainWindow, QLabel, Qt, QTimer from random import random from conda.common._logic import FALSE, TRUE class Block: def __init__(self): self.i = 2 self.j = 5 self.type = int(random()*7)+1 self.status = 0 def __str__(self): return "{}:{}:{}:{}".format(self.i,self.j,self..