Import Python lib in C# [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
There is an existing python lib which i have to instantiate in my C# code.
Which is the best possible way to do so? And how?
I am not much familiar with python, so IronPython, py2exe confused me big time.
Please Help.

You'll almost certainly be better off finding a C#/.NET alternative to that library. What is it?
If you do really need to do this your best option will be IronPython. There are a few guides to embedding IronPython code in C#, such as this one.

Related

How to convert c# DLL to vb DLL [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Please, can I convert a c# DLL to vb DLL, My problem is when I try to use svg.dll written in c# with a vb Code, Single and Float Types don't much, Any Help or suggestion !
Good news: There is no need to convert! A .NET DLL is neither a C# DLL nor a VB.NET DLL, it's simply a .NET DLL. You can use DLLs created with C# in VB.NET and vice-versa.
(Apparently, you have some specific issue using a third-party DLL. Now that you know that "the language of the DLL" is not the problem, I suggest that you start a new question about that and explain the problems you are having in detail. Beware of the XY problem!)

.net framework with scrapy python [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to use .NET framework with the Python scrapy framework to scrape data from different sites?
I am working on my final year project in which I want to use C# as front end language and Python for scraping the data.
I don't think it is possible, because Scrapy uses twisted networking engine which can not run on IronPython
Alternatively, you may start your spider/crawler through command line using C# and then interact with it using JSON API
Take a look at ScrapySharp, also described on this blog, which is the C# version of python's Scrapy.

How to program in C# using SFML.NET? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have an understanding of C++ and C#, I just don't understand how to use SFML.NET without any documentation. I know that the API is almost exactly the same, I just don't understand bindings fully.
The API is indeed similar. Have a look at the examples (online here or with the SDK). You should be able to figure it out quite easily once your have read the C++ tutorials and those examples.

Create Sandbox C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
are there any tutorials out there on how to create a sandbox using C#?
I would like to personalize my own one, thanks
Study up on using AppDomains. Here's some code examples.
We just recently used the MonoSandbox for Security reasons.
I don't know if it works with standard Microsoft's CLR, or if it is specific to the Mono implementation, but I think it works better than just a custom sanbdbox using AppDomains, and since the source code is open you can probably find a way to make it work for you.
The best documentation I have found for the MonoSandbox is here: http://www.mono-project.com/MonoSandbox
I would start by looking at Code Access Security.

Has anyone used C# with a Sales Logix database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Has anyone used C# with a Sales Logix database?
Yes. I rewrote a History tab that worked better and faster than the original Best/Sage built-in tab version using datagridviews in C#. It was a .NET plugin and I used Ryan Farley's instructions for getting it to work in SLX 6.x. In SLX 7.x you can use C# and VB.NET natively for building plug in components.
Yes. I have.
(Not the most interesting answer on SOB today, but that's what the question asked...)

Categories