Advertisement
TorroesPrime

command.py

Aug 10th, 2020
1,537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. from abc import ABC, abstractmethod
  2.  
  3.  
  4. class Command(ABC):
  5.     commandString = ""
  6.    
  7.     def __init__(self,dir):
  8.         self.commandString = dir
  9.  
  10.     @abstractmethod
  11.     def execute(self):
  12.         pass            
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement