Results 1 to 2 of 2

Thread: Python script file (*.py) on USB drive

  1. #1
    Join Date
    Aug 2012
    Location
    Austria
    Beans
    62
    Distro
    Lubuntu

    Python script file (*.py) on USB drive

    I have a Python script program on the harddrive. Executing works, program starts. OK





    Copying the same program to an USB stick, Execution don't work. --> Why ?
    (but I also did
    Code:
    chmod +x keryx


    .. That's in the LXTerminal 0.1.11 of Lubuntu. I don't know yet why colors are different handled...
    must not because keryx is not executeable.. the AUTHORS and COPYING for example are also not green on the USB drive)





    thx for your answers
    THX for your answers

  2. #2
    Join Date
    Apr 2012
    Beans
    5,430

    Re: Python script file (*.py) on USB drive

    Probably because the USB drive is formated with a filesystem (FAT / NTFS etc.) that doesn't support Unix-style permission bits. You should still be able to execute it by specifying the python interpreter on the command line i.e.

    Code:
    python keryx

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •