Skip to content

nicky-suss/Py-sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySharp

NuGet Version NuGet Downloads

🐍 This library allows you to use Python methods such as print, input and more in C#!

Installation

  • type this command:
dotnet add package Py-Sharp

Alternative

  • Go to Releases or NuGet and install the latest .nupkg file.
  • put the .nupkg in any folder in your project (e.g. /libs, it doesn't matter)
  • type this command:
dotnet add package Py-Sharp -s ./

How to use

  • type this to use PySharp methods:
  • using PySharp;

Example:

color.fore.yellow();
int numtofind = Int(input("type first number: "));
print();
int num2tofind = Int(input("type second number: "));
color.reset();
print("Calculating...");
time.sleep(2);
int result = numtofind + num2tofind;
print("Result:", result);

XML hints

  • When pointing to a method from this library, you can see an XML hint.
  • It explains what this method is for

XML Hints

Packages

 
 
 

Contributors

Languages