瀏覽代碼

Upload files to 'perintah_linux'

master
bagushehe 6 年之前
父節點
當前提交
d87a19ce85
共有 1 個文件被更改,包括 41 次插入0 次删除
  1. +41
    -0
      perintah_linux/aa.py

+ 41
- 0
perintah_linux/aa.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 !"
name = raw_input("Masukan nama anda : ")
print("Selamat datang "+name)
while True:
x = raw_input("enter your born place ")
y = input("enter your bornn year ")
z = input("how many letters o on born ? ")
if z == 1:
perlin = raw_input("silahkan ketik perintah linux apapun! ")
os.system(perlin)
exit(0)

Loading…
取消
儲存