Hey guys! sorry for the bad grammar or some vocabulary mistakes in the video, that was my first video and also English is my second language, and I'm not that good at it. sorry❤ I'll try my best next time to avoid these mistakes.
❤❤thank you and also just a real quick question.... Are you interested in flutter? If not, what are you interested the most in the programming world? should I swich the channels topic to flutter and android development or keep uploading python/general programming videos?
This is for some other script but what does Traceback (most recent call last): File "source_file.py", line 3, in os.startfile(_file_) AttributeError: 'module' object has no attribute 'startfile' Process finished with exit code 1.
bro wth there is no startfile inside os module so recheck everything is correct use the open() os.open() The open() method takes two arguments as input. The first argument is the filename which needs to be opened and the second argument is the mode in which the file has to be opened and if you want to open the file lets say an exe program you can use the system() os.system(r"explorer.exe") or os.system(r"start chrome.exe")
With the first one, I always get this error message when I try to run it: ModuleNotFoundError: No module named 'win32api' But I also can't install that module with pip
srry for late response but what you need to do is open the python setup app and click modify then add python to environment variables and everything else and that should fix it (then install it again with pip)
from turtle import * import turtle speed(1000) color('cyan') bgcolor('black') b = 200 while b > 0: left(b) forward(b * 3) b = b - 1 turtle.exitonclick()
I have a Problem. Traceback (most recent call last): File "C:\Users\user\FirstVirus otate.py", line 1, in import time, rotatescreen as rs ModuleNotFoundError: No module named 'rotatescreen'
@@HoveredCubeOfficial I did everything right and I've tried but I get the error message ModuleNotFoundError: No module named 'rotatescreen' how can I fix this?
❤❤thank you and also just a real quick question.... Are you interested in flutter? If not, what are you interested the most in the programming world? should I swich the channels topic to flutter and android development or keep uploading python/general programming videos? your opinion is important to me!
Can i ask? How do i send the virus to anyone without them having the access to edit the file and instead of having a access to that file when they download the file the code inside the file just automatically run and destroy their pc or whatever devices they are using
yes you're absolutely right! but the virus word has better impression so i included it in my title, they mostly to have some fun and practice python skills.
@@villocity5794 Wikipedia definition "A computer virus[1] is a type of computer program that, when executed, replicates itself by modifying other computer programs and inserting its own code.[2] If this replication succeeds, the affected areas are then said to be "infected" with a computer virus, a metaphor derived from biological viruses. [3]"
Your right, it's even hard to make it executable. but this is not why I made this video, it's just for fun and learn something new in python, something cool that motivates beginners. Don't Try to Annoy anyone with these.
i could be wrong im quite new but i think you can use pyinstaller which will create a .exe file and if the run that they shouldnt need anything installed
for the first "virus" I think a nested loop is unnecessary we could do it this way i = 1 while i > 0: time.sleep(0.5) pd.rotate_to(90*i//90) i = i + 1 This could be wrong tho, Im new to python *WARNING* If this code does work it will rotate your screen infinite times
i'm quite new to programming too :) but i'm pretty sure both methods are applicable, and the nested loop is not "unnecessary". the creator intended for the program to run for *n* number of times, while yours runs for how long the program can handle. your code however, is just the less conventional way of "while True:" as digits cannot run infinite number of times if you just increment it by 1 due to overflow. i'm pretty sure you know it by now, since you made this comment a month ago, i hope you're doing well! goodluck to you
You can convert it to exe, I've uploaded a video about that, however, python is not the best way to make computer viruses and this video is only for knowledge purposes.
first of all, i dont suggest you to annoy others, and the video was only for practice and master your python skills, how every there are many ways such as converting it to an .exe file you even use telegram to remotely command it!
in the video i limited it with for loops, if you use a while loop, it's even hard to stop the program or kill it via the task manager, so just shutdown your pc and turn it on again.