From e776e810c16e0078088126775d4a2deb31ea6899 Mon Sep 17 00:00:00 2001 From: bagushehe Date: Fri, 26 Oct 2018 10:07:15 +0800 Subject: [PATCH] Upload files to 'perintah_linux' --- perintah_linux/perintah_linux.py | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 perintah_linux/perintah_linux.py diff --git a/perintah_linux/perintah_linux.py b/perintah_linux/perintah_linux.py new file mode 100644 index 0000000..da73089 --- /dev/null +++ b/perintah_linux/perintah_linux.py @@ -0,0 +1,41 @@ +#!/usr/bin/python + +import sys +import os + +class Unbuffered(object): + def __init__(self, stream): + self.stream = stream + def write(self, data): + self.stream.write(data) + self.stream.flush() + def writelines(self, datas): + self.stream.writelines(datas) + self.stream.flush() + def __getattr__(self, attr): + return getattr(self.stream, attr) + +sys.stdout = Unbuffered(sys.stdout) +print" /$$ /$$ /$$$$$$ /$$ /$$$$$$$ /$$ /$$ /$$ /$$" +print" | $$ /$$/ /$$__ $$| $$ | $$__ $$| $$ /$ | $$| $$$ | $$" +print" | $$ /$$/ | $$ \__/| $$ | $$ \ $$| $$ /$$$| $$| $$$$| $$" +print" | $$$$$/ | $$$$$$ | $$ | $$$$$$$/| $$/$$ $$ $$| $$ $$ $$" +print" | $$ $$ \____ $$| $$ | $$____/ | $$$$_ $$$$| $$ $$$$" +print" | $$\ $$ /$$ \ $$| $$ | $$ | $$$/ \ $$$| $$\ $$$" +print" | $$ \ $$| $$$$$$/| $$$$$$$$ | $$ | $$/ \ $$| $$ \ $$" +print" |__/ \__/ \______/ |________/ |__/ |__/ \__/|__/ \__/" +print" Author : Bagus Widhyasmara" +print "<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>" +print" " +print "clue --> The 3rd answer can be read use indonesian and english language !" +print" " +name = raw_input("Masukan nama anda : ") +print("Selamat datang "+name) +while True: + x = raw_input("enter your born place ") + y = input("enter your born year ") + z = input("how many letters 'o' on born ? ") + if z == 1: + perlin = raw_input("silahkan ketik perintah linux apapun! ") + os.system(perlin) +