Read Share

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Subsciber123
    New Member
    • Nov 2006
    • 87

    #1

    Read Share

    In most programing languages, there is a way to read a file, but allow other programs to read or write to it at the same time. This is usually called something like ``ReadShare()'' or ``open("filenam e", "readshare" ).''

    Does anybody know if there is something like this in Python? If so, what is it (how do you use it {the name, the module, etc})
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by Subsciber123
    In most programing languages, there is a way to read a file, but allow other programs to read or write to it at the same time. This is usually called something like ``ReadShare()'' or ``open("filenam e", "readshare" ).''

    Does anybody know if there is something like this in Python? If so, what is it (how do you use it {the name, the module, etc})
    I beleive that wxPython has file objects that are aware of changes to file which it has open and can act accordingly. wxPython is a python wrapper for the GUI Toolkit called wxWidgets - cross platform, written in C++

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Also available is PythonWin which wraps most of the win32 API, so if it can be done with a windows file object, it can probably be done with these extensions.

      Comment

      • Subsciber123
        New Member
        • Nov 2006
        • 87

        #4
        Thanks, I'll look into those.

        Comment

        • bartonc
          Recognized Expert Expert
          • Sep 2006
          • 6478

          #5
          Originally posted by Subsciber123
          Thanks, I'll look into those.
          It's nice to have you back among us.

          Comment

          Working...