first commit
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								9bac9b85-da81-4458-9e89-2fe5fa4afaec.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								9bac9b85-da81-4458-9e89-2fe5fa4afaec.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								b4b5ce38-37ba-4bae-9454-42b3fbf9369a.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								b4b5ce38-37ba-4bae-9454-42b3fbf9369a.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								d73a7703-bbfd-4089-83d8-8be2f0f10ed5.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								d73a7703-bbfd-4089-83d8-8be2f0f10ed5.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										25
									
								
								main.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								main.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| import uuid | ||||
| import qrcode | ||||
| import time | ||||
| import os | ||||
|  | ||||
| os.system("clear") | ||||
| # Questionig to where to put the payment | ||||
| amount=float(input("Please enter the amount which you like to send in EURO: ")) | ||||
| receiver=input("Who is the receiver: ") | ||||
| bic=input("Please Input the BIC of the receiver(optional): ") | ||||
| iban=input("Please also input the IBAN of the receiver: ") | ||||
| usecase=input("Please input what the money will be used for: ") | ||||
| char=input("Please input the char reference-char(optional): ") | ||||
| reference=input("Please input the reference-number(optional): ") | ||||
|  | ||||
| # Processing | ||||
| localtime1=time.localtime() | ||||
| qrcodedata = ("BCD\n002\n1\nSCT\n%s\n%s\n%s\nEUR%s\n%s\n%s\n%s %s.%s.%s %s:%s:%s"%(bic,receiver,iban,amount,char,reference,usecase,localtime1.tm_mday,localtime1.tm_mon,localtime1.tm_year,localtime1.tm_hour,localtime1.tm_min,localtime1.tm_sec)) | ||||
|  | ||||
| img = qrcode.make(qrcodedata) | ||||
|  | ||||
| qruuid=uuid.uuid4() | ||||
| img.save("%s.png"%(qruuid)) | ||||
| os.system("clear") | ||||
| print ("%s.png"%(qruuid)) | ||||
							
								
								
									
										3
									
								
								requirments.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								requirments.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| qrcode | ||||
| image | ||||
| uuid | ||||
		Reference in New Issue
	
	Block a user