Windows 10: Pulled out usb-stick, python file now empty?

Discus and support Pulled out usb-stick, python file now empty? in Windows 10 Ask Insider to solve the problem; Hello, my mother pulled out my usb stick from the pc without safely ejecting it, now my python file for my project is completly empty. Did anybody... Discussion in 'Windows 10 Ask Insider' started by /u/bettina-str33, Jun 15, 2020.

  1. Pulled out usb-stick, python file now empty?


    Hello,

    my mother pulled out my usb stick from the pc without safely ejecting it, now my python file for my project is completly empty. Did anybody know how I can get this file back? Is there any method to look if the chached file is on the maindrive?

    Thank you guys!

    submitted by /u/bettina-str33
    [link] [comments]

    :)
     
    /u/bettina-str33, Jun 15, 2020
    #1
  2. thraxed Win User

    Installing windows off of a USB stick

    Step By Step from vista:
    From admin cmd prompt

    1. diskpart
    1a. list disk
    2. select disk 1 (replace 1 with your usb drive)
    3. clean
    4. create partition primary
    5. select partition 1 (replace 1 with your usb drive)
    6. active
    7. format fs=fat32
    8. assign
    9. exit

    Copy Windows Vista's DVD ROM content to the Flash Drive

    xcopy d:\*.* /s/e/f e:\ (d being your vista cd and e being your usb stick)

    And that's it, boot off your usb disk
     
    thraxed, Jun 15, 2020
    #2
  3. Python, there a metacharacter for the statement to match anything?

    I want this python script to open a txt file which will likely have a changing timestamp as a name. so ultimately id like:

    file= open('*.txt', 'r')

    to work, but it doesnt, cause it looks at * as a character.

    Any suggestions
     
    Hybrid_theory, Jun 15, 2020
    #3
  4. NavyLCDR Win User

    Pulled out usb-stick, python file now empty?

    USB stick previously used as a boot stick for Killdisk not recognized

    Try method 2 under Windows 7 8 10 here:
    Free to Remove Readonly Attribute in Windows

    Method 2: Clear readonly status with Diskpart

    In Windows 10, 8, 7 OS, you are also able to run Diskpart in Command Prompt to clear read-only attribute on any partition on your computer. You can follow the tutorial below:

    Step 1. Open Command Line and type Diskpart
    Step 2. Type list disk
    Step 3. Type select disk (disk number)
    Step 4. Type attributes disk clear readonly


    Pulled out usb-stick, python file now empty? [​IMG]


    Then try Clean
     
    NavyLCDR, Jun 15, 2020
    #4
Thema:

Pulled out usb-stick, python file now empty?

Loading...
  1. Pulled out usb-stick, python file now empty? - Similar Threads - Pulled usb stick

  2. My USB stick is now locked

    in Windows 10 Drivers and Hardware
    My USB stick is now locked: My USB was fine last night was fine. I transferring some pdfs from a USB HDD to my new micro SD Card which was fine until some wouldn't transfer over so I simply transferred them to the stick then dongle them on the card via the Tablet that the Micro is used in all fine. Then...
  3. My USB stick is now locked

    in Windows 10 Gaming
    My USB stick is now locked: My USB was fine last night was fine. I transferring some pdfs from a USB HDD to my new micro SD Card which was fine until some wouldn't transfer over so I simply transferred them to the stick then dongle them on the card via the Tablet that the Micro is used in all fine. Then...
  4. My USB stick is now locked

    in Windows 10 Software and Apps
    My USB stick is now locked: My USB was fine last night was fine. I transferring some pdfs from a USB HDD to my new micro SD Card which was fine until some wouldn't transfer over so I simply transferred them to the stick then dongle them on the card via the Tablet that the Micro is used in all fine. Then...
  5. My USB stick is now locked

    in Windows 10 Network and Sharing
    My USB stick is now locked: My USB was fine last night was fine. I transferring some pdfs from a USB HDD to my new micro SD Card which was fine until some wouldn't transfer over so I simply transferred them to the stick then dongle them on the card via the Tablet that the Micro is used in all fine. Then...
  6. My USB stick now locked

    in Windows 10 Network and Sharing
    My USB stick now locked: My USB was fine last night was fine. I transferring some pdfs from a USB HDD to my new micro SD Card which was fine until some wouldn't transfer over so I simply transferred them to the stick then dongle them on the card via the Tablet that the Micro is used in all fine. Then...
  7. Is it allowed to simply pull out the USB stick or something like that nowadays?

    in Windows 10 BSOD Crashes and Debugging
    Is it allowed to simply pull out the USB stick or something like that nowadays?: Hello have read on ne page that it since 1809 now you can pull out without this *USB Was pulled out or similar kp as it is called in real * Anyway, are you asking me to?...
  8. Transfer files to USB stick

    in Windows 10 Network and Sharing
    Transfer files to USB stick: I am trying to copy a file from my computer to a flash drive usb stick to transfer the file to my laptop. My computer is using windows 10, nothing happens when I put the usb stick in the computer. I don't have a clue how to do this. Any help would be welcome....
  9. Inserted USB stick on Suspend; burned out USB

    in Windows 10 Drivers and Hardware
    Inserted USB stick on Suspend; burned out USB: I had a perfectly fine laptop in front of me. It fell asleep while I was doing something. Without thinking I inserted a usb stick and turned it back on. Touchpad gone. USB port gone. The USB ports on the other side of the unit are working. One is 3.0, one is 2.0. I tried...
  10. if I download from usb stick will it be empty ?

    in Windows 10 Support
    if I download from usb stick will it be empty ?: I'm an ESL teacher. Some months ago I had someone download some books I had on a USB stick onto a computer I using at that time. Yesterday I tried to download the books onto another computer and was told that there is nothing on it. It is empty ! We tried it on 2 other...