Skip to content

OblivCode/pycs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pycs

python functions in c#, net 6.0
Current Version: 0.14.0

Nuget page: https://www.nuget.org/packages/pycs/

Install with .NET CLI:
dotnet add package pycs --version [version]

See Example folders for demonstrations.

Simple usage:

using static pycs.pycs;
using pycs.modules;
using pycs.modules.datetime;

namespace my_app
{
    class Program
    {
        static void Main(string[] args)
        {
            //print working directory
            string dir = os.getcwd();
            print(dir);
            //print date and time
            var now = datetime.now();
            print(now.strftime("%m/%d/%Y, %H:%M:%S"));

        }

    }
}