コード例 #1
0
        public string getStandardLibraryPath()
        {
            string standardLibraryPath = "";
            
            if (Os.FileExists(this.location))
            {
                string pluginDirectory = Os.GetDirectoryName(this.location);
                standardLibraryPath = Os.Combine(pluginDirectory, "IronPython.zip");

                if (!Os.FileExists(standardLibraryPath))
                {
                    Program.log.Write("ScriptPlugim: standard python librar IronPython.zip not exist");
                    return null;
                }

            }

            return standardLibraryPath;
        }