which reg values modified my python installer under windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philippe C. Martin

    #1

    which reg values modified my python installer under windows

    Hi,

    I am looking for the reg path that is modified/created by the pyton
    installer to associate *.pyc with python.exe as I wish to associate *.pyc
    with pythonw.exe

    Regards,


    Philippe

  • keirr

    #2
    Re: which reg values modified my python installer under windows

    Philippe,

    You wrote: I wish to associate *.pyc with pythonw.exe

    is there some reason why Tools->Folder Options->File Types (from a
    Windows Explorer menu) won't work?

    You could do it from a cmd prompt with assoc and ftype if you needed to
    script it.

    All the best,

    Keir.

    Comment

    • Philippe C. Martin

      #3
      Re: which reg values modified my python installer under windows

      Keir,

      I forgot to mention that I want to do it automatically from my application's
      installer.

      Regards,

      Philippe



      keirr wrote:
      [color=blue]
      > Philippe,
      >
      > You wrote: I wish to associate *.pyc with pythonw.exe
      >
      > is there some reason why Tools->Folder Options->File Types (from a
      > Windows Explorer menu) won't work?
      >
      > You could do it from a cmd prompt with assoc and ftype if you needed to
      > script it.
      >
      > All the best,
      >
      > Keir.[/color]

      Comment

      • keirr

        #4
        Re: which reg values modified my python installer under windows

        Philippe,

        Windows file associations are in
        HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Explorer\FileEx ts

        Hope that helps you.

        All the best,

        Keir.

        Comment

        • Philippe C. Martin

          #5
          Re: which reg values modified my python installer under windows

          Yes Keir, Thanks a lot.

          Regards;

          Philippe



          keirr wrote:
          [color=blue]
          > Philippe,
          >
          > Windows file associations are in
          >[/color]
          HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Explorer\FileEx ts[color=blue]
          >
          > Hope that helps you.
          >
          > All the best,
          >
          > Keir.[/color]

          Comment

          • Peter Hansen

            #6
            Re: which reg values modified my python installer under windows

            Philippe C. Martin wrote:[color=blue]
            > I forgot to mention that I want to do it automatically from my application's
            > installer.[/color]

            Calling the "assoc" and "ftype" commands is one approach. Try them with
            the existing settings to see how standard Python sets them up:

            c:\> assoc .py
            ..py=Python.Fil e

            c:\> ftype Python.File
            ....

            Use "assoc /?" or "ftype /?" for help.

            -Peter

            Comment

            Working...