Jump to content

TheSnowman37

Member
  • Posts

    47
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About TheSnowman37

  • Birthday Apr 20, 1969

Recent Profile Visitors

993 profile views

TheSnowman37's Achievements

  1. I was transferring files from my phone to my computer and I accidentally started cutting one of the folders to the computer. I stopped this as I wanted to maintain the file structure there and I was unsure if the phone would run correctly without it. The only other thing that happened apart from that, was when I clicked on new folder in the hard drive folder, a new one was made in the phone and, the folder that had its files disappear, put me into the renaming box. I forget what the circumstances are for this, but I did check recycle bin and none of the files were there. After this, I emptied the recycling bin so that if anything happened, I could find files quicker. I checked around and now neither my hard drive or the phone is showing that the files exist and neither of them show an increased file size either. I don't think the files were deleted since it 16 GB worth of animal pictures and memes and the time between movement of and search for the files was less than a minute. If you have any suggestions on how to find the files, your advice is welcome. The phone in question is a Samsung and I was routing it through a USB 3.2 header on my computer.
  2. import os import tkinter as tk root= tk.Tk() canvas1 = tk.Canvas(root, width = 300, height = 300, bg = 'gray90', relief = 'raised') canvas1.pack() label1 = tk.Label(root, text='Drive:') label1.config(font=('helvetica', 9)) label2 = tk.Label(root, text='Filepath:') label2.config(font=('helvetica', 9)) entry1 = tk.Entry (root) entry2 = tk.Entry (root) def close_window(): root.destroy() def command_1(x): x = x os.system(str(x)) def command_2(y): os.system("cd " + str(y)) os.system("dir > DirOutput.txt") button1 = tk.Button(text=' Run Command ', command=command_1(entry1), bg='black', fg='green', font=('helvetica', 12, 'bold')) button2 = tk.Button(text=' Run Command ', command=command_2(entry2), bg='black', fg='green', font=('helvetica', 12, 'bold')) button3 = tk.Button(text=' Kill Program ', command=close_window, bg='black', fg='Red', font=('helvetica', 12, 'bold')) canvas1.create_window(150, 60, window=button1) #Button One canvas1.create_window(50, 20, window=label1) #Top Label canvas1.create_window(150, 20, window=entry1) #Top Entry canvas1.create_window(150, 140, window=button2) #Button Two canvas1.create_window(50, 100, window=label2) #Bottom Label canvas1.create_window(150, 100, window=entry2) #Bottom Entry canvas1.create_window(150, 250, window=button3) #Kill root.mainloop()
  3. I'm trying to use the os.system command to instert a command in to the command console to output a text file that is a list of the directory. I'm trying to take inputs from these entry boxes and put them into that os.system command. I also seem to be getting this problem where it bypasses the entry boxes and uses the folder that the file is currentally in.
  4. I keep getting this error: "'.!entry' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified." I don't know how to get rid of this. I've tried the "adding python to environments" thing and it does nothing for it. Can someone send me in the right direction. If you need anymore information just ask.
  5. That worked, thank you. I glad that I could find a good source of information.
  6. I have been looking thourgh the internet for close to an hour and a half, and have yet to find some that A) Works, B) Is Simple to understand so that I can replicate it, and C) Is actually what I'm looking for. All I want to do is just simply remove a line. I'm not looking to remove a specific line with specific text, just a line in a .txt file. Ex: (The Numbers Just represent the line #, not written to file) 1: A 2: C 3: D 4: T 5: X delete line 2-4 1: A 2: X The lines won't always have the same text, so I can't just delete that. I'm not going the share the real code as it is all just opening the document, printing it, and closing it. Reply if you need anymore information.
  7. I know enough to get myself out of trouble but don't know that much nor do I posses two unused jump drives.
  8. I've plugged three keyboards (1 PS/2, 2 USB) and two Mice (Both USB) and none work. I even tried to use a usb hub I had plugged the last time I used. I've used all usb ports, including the two USB 3s and checked the connection, then tried to connect a card reader's USB 3s and it didn't work.
  9. I need to get something off another computer's hard drive but no input devices work, I've tried. So I'm wondering if putting an HDD with a version of windows on it into a copmuter that already has windows will affect it.
  10. I'm trying to grab something off a hard drive of one computer but it won't recognize anything pluged into the USB ports. A USB hub I have will light up but nothing else. I've tried two keyboards.
  11. I've had a windows update for a few months that refuses to install despite multiple restarts. Does anyone know any solutions. I don't care if the update installs, I'm just tired of waking up in a 80 degree room.
  12. I'm just wondering if I set my videos, all of which are privated, to 18+ will it get snatched or what? Also, I've heard of a "fine" for incorrectly marked videos, whats that about?
  13. This showed up and I just want to know what glitch makes this happen. I've run this before, probably within 1-2 years ago, and it says the same thing. Just want to know.
×