-
Posts
51 -
Joined
-
Last visited
Awards
This user doesn't have any awards
About TsmDan_YT
- Birthday Jul 16, 2007
Contact Methods
-
PlayStation Network
realTsmDan
-
Xbox Live
BedsideOne20714
Profile Information
-
Gender
Male
-
Location
Anywhere and Everywhere, mostly on a computer
-
Interests
Creating OSes, F*cking up computer components, gaming, building computers, repairing and refurbishing computers?
-
Biography
I make computers and sell them else I refurbish/repair computers
-
Occupation
Computer repair
System
-
CPU
air
-
Motherboard
air
-
RAM
air
-
GPU
air
-
Case
air
-
Storage
WD Blu... oh wait my sister DESTROYED that
-
PSU
air
-
Display(s)
air
-
Cooling
air
-
Keyboard
air
-
Mouse
air
-
Sound
air
-
Operating System
TornadoOS Beta using Hurricane OS Beta
-
Laptop
air
- PCPartPicker URL
Recent Profile Visitors
442 profile views
TsmDan_YT's Achievements
-
Banned for thinking I can show anything
-
Banned because I have no comeback to that
-
Banned for not subscribing to my channel
-
banned for reciting banned more than twice
-
Banned for reciting the other ban word that starts with P that no one is ethicially allowed to recite
-
I never thought I'd be posting my own program but here I am. Simple Notepad. Can create, edit, read, and delete files. Limited Functionality. 90 lines, even with redundant print commands and functions that could be implemented someway else import os import sys def NOTEPAD(): print('NOTEPAD.SYS allows you to create text files with ease. Just simply start\nby creating the name of the text file and your file will be created. After\nthat, start typing what you want. Current limitations make it so only one\nparagraph is creatable. After you are done press ENTER to either create a\nnew file or open another file. If you want to edit a pre-existing file,\nyou can do that too.\n') print('Use the command CREATE to create a new file, EDIT to edit an old file,\nREAD to read a file, and DELETE to delete an file forever.\n') print('Use QUIT to quit the application\n') command = input("$input<<") if (command == "CREATE"): CREATE() elif (command == "EDIT"): EDIT() elif (command == "READ"): READ() elif (command == "DELETE"): DELETE() elif (command == "QUIT"): QUIT() else: print("Invalid Command. Please try again.\n") NOTEPAD_COPY() def CREATE(): command = input('\nFile Name?\n$input<<') try: f = open(command + ".txt", "x") f.close() except FileExistsError: print("\nSorry, there was an error while trying to create your file. There is a file with the same name that exists\n") finally: NOTEPAD_COPY() def EDIT(): print("\nEnter the file you want to edit") command = input('\n$input<<') try: r = open(command + ".txt", "r") print("File Contents:\n") print(r.read()) r.close() with open(command + ".txt", "a") as f: f.write(input('\n$append<<')) except FileNotFoundError: print('\nSorry, there was an error while trying to edit your file. The file doesn\'t exist.\n') finally: NOTEPAD_COPY() def READ(): command = input('\nFile Name\n\n$input<<') try: f = open(command + ".txt", "r") print(f.read()) except FileNotFoundError: print('\nSorry, there was an error while trying to read your file. The file doesn\'t exist') finally: NOTEPAD_COPY() def DELETE(): command = input('\nFile Name\n$input<<') try: os.remove(command + ".txt") except FileNotFoundError: print('\nSorry, there was an error while trying to delete your file. The file doesn\'t exist') finally: NOTEPAD_COPY() def QUIT(): command = input('\nAre you sure? [Y] [N]\n$input<<') if (command == "Y"): sys.exit(0) else: NOTEPAD_COPY() def NOTEPAD_COPY(): print('Use the command CREATE to create a new file, EDIT to edit an old file,\nREAD to read a file, and DELETE to delete an file forever.\n') print('Use QUIT to quit the application\n') command = input("$input<<") if (command == "CREATE"): CREATE() elif (command == "EDIT"): EDIT() elif (command == "READ"): READ() elif (command == "DELETE"): DELETE() elif (command == "QUIT"): QUIT() else: print("Invalid Command. Please try again.\n") NOTEPAD_COPY() Original program if you want to check it out, this one is modified so that it is standalone, the other one below is not standalone:
-
Banned for noticing contradictions
-
Yes. You are correct. unless you are using something like Python
-
Question: if I bought a old HP Elite 7900, could I chuck in a RX 560 - 896 and a TP-Link Archer T4E into it and have those components work? also does the HP Elite 7900 come with a optical drive? https://www.amazon.com/dp/B07JWB2RZD/ref=psdc_13896597011_t1_B0176WQ792 PCPartPicker Part List Type Item Price Video Card XFX Radeon RX 560 - 896 4 GB Video Card $99.00 @ Amazon Wireless Network Adapter TP-Link Archer T4E PCIe x1 802.11a/b/g/n/ac Wi-Fi Adapter $26.99 @ Amazon Prices include shipping, taxes, rebates, and discounts Total $125.99 Generated by PCPartPicker 2020-01-31 15:33 EST-0500 also can it run minecraft?
-
banned for being correct
-
banned for delicious computer I'm looking at you, Ireland.
-
banned for misspelling potatoes(please correct that, it drives me nuts)
-
banned for inability to correct misspelled words (it's stupid not supid) exact same reason