Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using Stata commands in Python

    Hello, can I use any/all Stata commands and dta files on Python by invoking its environment. Please note that my Stata license has expired so cannot access its files. However, I could have access to Python.

  • #2
    I don't know, but I strongly suspect that if you have an invalid license, and the DRM is stopping you from using the software, you won't be able to use it through python. Remember, python is really just an interface you can use to access your Stata instillation. The python Stata library does not have a full version of Stata available for you to use for free.

    I also do not think you will find someone on this forum who is willing to help you circumvent the digital rights management for your expired license. The software is expensive, but whatever institution you work for should provide you with a valid license.

    Comment


    • #3
      Thanks Daniel Schaefer - thought so

      Comment


      • #4
        I would only add that there are free ways to pull the .dta files into Python: https://pandas.pydata.org/docs/refer...ead_stata.html But then you'll have to use Python to work with that data going forward rather than Stata commands.

        Comment

        Working...
        X