This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import time | |
| from PyQt4 import QtGui as _qg | |
| from PyQt4 import QtCore as _qc | |
| ''' | |
| esta class é a classe da thread que vai rodar paralelamente | |
| a thread principal da aplicação |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| abstract class Product { | |
| public $id = 0; | |
| public $qty = 1; | |
| public $name = ""; // it needs for using search! | |
| public $price = 0.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| /* | |
| esta classe abstrata devera estar inclusa na sua classe customizda para produtos | |
| os atributos id e name sao usado para buscas por isso é obrigatorio te-los na assinatura da classe | |
| */ | |
| abstract class Product { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import re | |
| import random | |
| import utils | |
| from colorama import Back, Fore, Style, init | |
| from utils import term | |
| init(autoreset=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import os | |
| import blessings | |
| import time | |
| from blessings import Terminal | |
| term = Terminal() |
NewerOlder