This file contains 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
#!/usr/bin/env python | |
#-*-coding:utf-8-*- | |
import socket | |
import subprocess | |
import sys | |
from datetime import datetime | |
subprocess.call('clear', shell=True)#Ekranı Temizle | |
try: | |
remoteServer = raw_input("Tarama yapılacak siteyi veya İp Adresini Giriniz: ")# Girdi Al |
This file contains 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
# -*- coding: utf-8 -*- | |
# Form implementation generated from reading ui file 'image_processing.ui' | |
# | |
# Created by: PyQt5 UI code generator 5.5.1 | |
# | |
# WARNING! All changes made in this file will be lost! | |
from PyQt5 import QtCore, QtGui, QtWidgets | |
from PIL import Image,ImageFilter |
This file contains 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
public String getFileSize(long size, int round) { | |
if (size <= 0) | |
return "0"; | |
final String[] units = new String[]{"B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"}; | |
int digitGroups = (int) (Math.log10(size) / Math.log10(1024)); | |
return String.format("%." + round + "f", size / Math.pow(1024, digitGroups)) + " " + units[digitGroups]; | |
} |