Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 201275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:11:05+00:00 2026-05-11T17:11:05+00:00

I was learning python using the tutorial that comes with the standard python installation.

  • 0

I was learning python using the tutorial that comes with the standard python installation. One of the benefits that the author states about python is “maybe you’ve written a program that could use an extension language, and you don’t want to design and implement a whole new language for your application” – My question is how would i go about designing a program (using c#) that can be extended using Python interactively(for this to be possible, i would imagine that i would need to create some sort of a “shell” or “interactive” mode for the .net program) ?

Are there any pointers on how to design .NET programs that have an interactive shell. I would then like to use python script in the shell to “extend” or interact with the program.

EDIT: This question partly stems from the demo give by Miguel de Icaza during PDC 2008 where he showed the interactive csharp command prompt, C# 4.0 i think also has this “compiler as a service” feature. I looked at that and thought how cool would it be to design a windows or web program in .NET that had a interactive shell.. and a scripting language like python could be used to extend the features provided by the program.

Also, i started thinking about this kind of functionality after reading one of Steve Yegge’s essays where he talks about systems that live forever.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:11:06+00:00Added an answer on May 11, 2026 at 5:11 pm

    This sounds like a great use of IronPython.

    It’s fairly easy to set up a simple scripting host from C# to allow calls into IronPython scripts, as well as allowing IronPython to call into your C# code. There are samples and examples on the CodePlex site that show how to do this very thing.

    Another good site for examples and samples is ironpython.info

    And here is a page dedicated to an example answering your very question, albeit in a generic DLR-centric way — this would allow you to host IronPython, IronRuby, or whatever DLR languages you want to support.

    I’ve used these examples in the past to create an IronPython environment inside a private installation of ScrewTurn Wiki – it allowed me to create very expressive Wiki templates and proved to be very useful in general.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 91k
  • Answers 91k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The following project looks promising: http://www.chaosinmotion.com/wiki/index.php?title=ASN.1_Library It is provided under… May 11, 2026 at 6:17 pm
  • Editorial Team
    Editorial Team added an answer I definitely prefer a tooling option ReSharper over a standard… May 11, 2026 at 6:17 pm
  • Editorial Team
    Editorial Team added an answer You want the get Custom Attributes method Assembly ass =… May 11, 2026 at 6:17 pm

Related Questions

I've got some experience with Bash , which I don't mind, but now that
I was just reading through Learning Python by Mark Lutz and came across this
I've been learning python for a while now with some success. I even managed
I am trying to use Python's ctypes library to access some methods in the
<edit> Thanks to everyone who has answered so far. The zip and os.path.join are

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.