IronPythonDemo
所属分类:C#编程
开发工具:C#
文件大小:9789KB
下载次数:18
上传日期:2018-07-30 09:24:25
上 传 者:
虫子666666
说明: C#平台调用Python脚本,可设置参数,返回特定变量。
(The C# platform calls the Python script)
文件列表:
IronPythonDemo\.vs\IronPythonDemo\v14\.suo (51200, 2018-07-30)
IronPythonDemo\IronPythonDemo\App.config (564, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\add.py.bak (0, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.dll (1801216, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.Modules.dll (705536, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.Modules.xml (126473, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.SQLite.dll (637440, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.SQLite.xml (1514, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.Wpf.dll (7168, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.Wpf.xml (3006, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPython.xml (413265, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.exe (10752, 2018-07-30)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.exe.config (564, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.pdb (19968, 2018-07-30)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.py (164, 2018-07-24)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.py.bak (256, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.vshost.exe (22696, 2018-07-30)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.vshost.exe.config (564, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\IronPythonDemo.vshost.exe.manifest (490, 2014-01-14)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Dynamic.dll (1069568, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Dynamic.xml (480806, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Scripting.dll (140800, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Scripting.Metadata.dll (89600, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Scripting.Metadata.xml (17098, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.Scripting.xml (207767, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\Microsoft.VisualStudio.CodeCoverage.Shim.dll (23336, 2018-07-23)
IronPythonDemo\IronPythonDemo\bin\Debug\脚本.txt.bak (2578, 2018-07-23)
IronPythonDemo\IronPythonDemo\Form1.cs (1427, 2018-07-25)
IronPythonDemo\IronPythonDemo\Form1.Designer.cs (4377, 2018-07-24)
IronPythonDemo\IronPythonDemo\Form1.resx (5817, 2018-07-24)
IronPythonDemo\IronPythonDemo\IronPythonDemo.csproj (6228, 2018-07-24)
IronPythonDemo\IronPythonDemo\obj\Debug\DesignTimeResolveAssemblyReferences.cache (1308, 2018-07-23)
IronPythonDemo\IronPythonDemo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache (7986, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.csproj.FileListAbsolute.txt (2101, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.csproj.GenerateResource.Cache (1012, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.csprojResolveAssemblyReference.cache (51746, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.exe (10752, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.Form1.resources (180, 2018-07-24)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.pdb (19968, 2018-07-30)
IronPythonDemo\IronPythonDemo\obj\Debug\IronPythonDemo.Properties.Resources.resources (180, 2018-07-24)
... ...
IronPython
===
[![Linux/OSX Build Status](https://travis-ci.org/IronLanguages/ironpython2.svg?branch=master)](https://travis-ci.org/IronLanguages/ironpython2)
[![Windows Build status](https://ci.appveyor.com/api/projects/status/53h9jt1bym8wunh1?svg=true)](https://ci.appveyor.com/project/AlexEarl/ironpython2)
[![Gitter chat](https://badges.gitter.im/IronLanguages/ironpython.png)](https://gitter.im/IronLanguages/ironpython)
IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.
IronPython can be obtained at [http://ironpython.net/](http://ironpython.net/).
Comparison of IronPython vs. C# for 'Hello World'
c#:
```cs
using System;
class Hello
{
static void Main()
{
Console.WriteLine("Hello World");
}
}
```
IronPython:
```py
print "Hello World"
```
IronPython is a Dynamic Language that runs on the .NET DLR ([Dynamic Language Runtime](http://en.wikipedia.org/wiki/Dynamic_Language_Runtime)) in contrast with VB.NET and C# which are [static languages](http://en.wikipedia.org/wiki/Type_system).
Iron Python can also import DLL files compiled in other languages and use functions defined therein. For example:
```py
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import *
```
# Documentation
Documentation can be found here: http://ironpython.net/documentation/dotnet/
## Additional information
Please see http://wiki.github.com/IronLanguages/main for information on:
- Setting up a development environment with easy access to utility scripts
- Building
- Running test
## Chat/Communication
Join our Gitter-Chat under: https://gitter.im/IronLanguages/ironpython
近期下载者:
相关文件:
收藏者: