Second Commit
This commit is contained in:
		
							parent
							
								
									8fb01a2eff
								
							
						
					
					
						commit
						a33e9c3a88
					
				|  | @ -0,0 +1,11 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <module type="PYTHON_MODULE" version="4"> | ||||||
|  |   <component name="NewModuleRootManager"> | ||||||
|  |     <content url="file://$MODULE_DIR$" /> | ||||||
|  |     <orderEntry type="inheritedJdk" /> | ||||||
|  |     <orderEntry type="sourceFolder" forTests="false" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="TestRunnerService"> | ||||||
|  |     <option name="PROJECT_TEST_RUNNER" value="Unittests" /> | ||||||
|  |   </component> | ||||||
|  | </module> | ||||||
|  | @ -0,0 +1,4 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" /> | ||||||
|  | </project> | ||||||
|  | @ -0,0 +1,8 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="ProjectModuleManager"> | ||||||
|  |     <modules> | ||||||
|  |       <module fileurl="file://$PROJECT_DIR$/.idea/MSSWY.iml" filepath="$PROJECT_DIR$/.idea/MSSWY.iml" /> | ||||||
|  |     </modules> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
|  | @ -0,0 +1,6 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="VcsDirectoryMappings"> | ||||||
|  |     <mapping directory="$PROJECT_DIR$" vcs="Git" /> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										20
									
								
								main.py
								
								
								
								
							
							
						
						
									
										20
									
								
								main.py
								
								
								
								
							|  | @ -1,5 +1,19 @@ | ||||||
| import os |  | ||||||
| import src.monitor as monitor | import src.monitor as monitor | ||||||
| 
 | 
 | ||||||
| monitor.test() | from colorama import Style, Fore, Back, init | ||||||
| os.system("PAUSE>NUL") | 
 | ||||||
|  | if __name__ == "__main__": | ||||||
|  | 
 | ||||||
|  |     spacer = "===========================================================================" | ||||||
|  |     url = "https://www.nike.com/de/launch?s=upcoming" | ||||||
|  |     num_monitors = 10 | ||||||
|  | 
 | ||||||
|  |     init(autoreset=True) | ||||||
|  | 
 | ||||||
|  |     print(f"Creating {num_monitors} new Monitors...\n{spacer}") | ||||||
|  |     for i in range(0, num_monitors): | ||||||
|  |         mon = monitor.Monitor() | ||||||
|  |         mon.name = f"Monitor {i}" | ||||||
|  |         mon.url = url | ||||||
|  |         print(f"{Fore.MAGENTA}{mon.name}") | ||||||
|  |     print(spacer) | ||||||
|  |  | ||||||
|  | @ -1,2 +1,5 @@ | ||||||
| def test(): | class Monitor: | ||||||
| 	print("Lmao") | 
 | ||||||
|  |     def __init__(self): | ||||||
|  |         self.url = None | ||||||
|  |         self.name = None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue