interactive

How can I insert an ironpython console into my form?

I want to make a winform by C#, and add a ironpython console window in it, like a multiline textbox. So I can write python program into it to do some operations in my Winform software. How can I do that? Thanks. affixture: I created a opensource project IpyIF, Ironpython Interactive Window.http://ipyiw.codeplex.com/ ...

ruby ssh: interactive command "su": How further after successfull logged in?

Hi I want work on a remote maschine within an ssh session: login on the remote server su make my work With my script a can do step 1 and 2 works. While executing the su command, I can send the password, and got the answer I'm expecting ( on_data: data = gis@v04ree:~> got gis@v04ree:~> But then, what should I do? I'm sitting ...

How can I use –X:Frames in Ironpython?

Visual Studio 2010 + Ironpython for .net4 I want to use numpy in ironpython, and they said I must use frames support. So, I should running ipy with -X:Frames or -X:FullFrames on the command line. But, I have two questions: 1.how can i use -X:Frames or -X:FullFrames in Ironpython Interactive console? 2.If I use C# 4 to load py which ...

interactive console for my mainloop app

I have an little script which logs users that login to my Pidgin/MSN account #!/usr/bin/env python def log_names(buddy): name = str(purple.PurpleBuddyGetName(buddy)) account = purple.PurpleAccountGetUsername(purple.PurpleBuddyGetAccount(buddy)) if account == u'[email protected]': try: log[name] += 1 ...

How to start a linux shell as from /etc/inittab

We used to have two entries in our /etc/inittab: ::sysinit:/etc/init.d/rcS ttyS0::respawn:-/bin/sh rcS is a shell script which normally starts our application, but in a special case we called "return" to terminate it which apparently lets the /bin/sh take over the tty as we got a shell prompt where we could do some maintenance. Now t...

What's a good way to run Javascript Interactively?

For Ruby, we have irb. For Python, we have IDLE. For Javascrpt, is Firebug or Chrome on a blank page the best way to run or test Javascript interactively? ...

How does sympy work? How does it interact with the interactive Python shell, and how does the interactive Python shell work?

What happens internally when I press Enter? My motivation for asking, besides plain curiosity, is to figure out what happens when you from sympy import * and enter an expression. How does it go from Enter to calling __sympifyit_wrapper(a,b) in sympy.core.decorators? (That's the first place winpdb took me when I tried inspecting an...

Haskell: How to write interactive interpreter on top of a State monad?

We're working on a model filesystem that uses a state monad internally. We have a type class with operations like these: class Monad m => FS m where isDirectory :: Path -> m Bool children :: Path -> m [Path] ... We're working on a little interactive interpreter that will offer commands like cd, ls, cat, and so on. An oper...

Interactive Stacked Bar Chart using MatplotLib python

Dear All, I need to create a stacked bar chart using matplotlib. Each bar should be a stack of the parameters I am measuring. However, I want it to be interactive or dynamic so as when I click on one of the parameters (A,B,C) for example in the legend, it should make that parameter at the bottom of the stack so as we could have a better...

How can I tell from a within a shell script if the shell that invoked it is an interactive shell?

I'm trying to set up a shell script that will start a screen session (or rejoin an existing one) only if it is invoked from an interactive shell. The solution I have seen is to check if $- contains the letter "i": #!/bin/sh -e echo "Testing interactivity..." echo 'Current value of $- = '"$-" if [ `echo \$- | grep -qs i` ]; then echo ...

How to create logic bricks programmatically in Blender?

I would like to let my initializing script to create additional sensors/controller/actuators necessary for an interactive Blender application (not necessarily a game). This is preferable for two reasons: I can use this script in multiple applications. Creating common logic over and over again is tedious. And there is no other way to im...

Timed animation with jQuery

Is this possible via jQuery ? Basically as shown in above image , I have blue background , map image and text images. I want to achieve this kind of animation at the page load or whenver this image is loaded. ...

Interactive 3D Model in HTML5

Hi, does anybody know if its possible to get a 3D model of a building made in 3ds Max for example, onto an HTML5 web-page and make it interactive, for example pans and zooms,maybe even use it for navigation through a site? If this is not possible in HTML 5 or with such a detailed model does anyone have any recommendations for achieving ...

git add --interactive "Your edited hunk does not apply"

I'm trying to use git add --interactive to selectively add some changes to my index, but I continually receive the "Your edited hunk does not apply. Edit again..." message. I get this message even if I choose the [e]dit option, and immediately save/close my editor. In other words, without editing the hunk at all, the patch doesn't appl...

Interactive Graphs in R using rggobi

From the following xml code: <?xml version = "1.0"?> <Company > <shareprice> <timeStamp> 12:00:00.01</timeStamp> <Price> 25.02</Price> </shareprice> <shareprice> <timeStamp> 12:00:00.02</timeStamp> <Price> 15</Price> </shareprice> <shareprice> <timeStamp> 12:00:01.025</timeStamp> <Price> 15.0...

Multi-user realtime drawing in iPhone

Hi everybody, Im going to create an applicaition for i-phone as a multi-user ineractive drawing. what i mean is some thing like YM functionality that 2 or mutiple user can draw at the same time together and. do you have any idea or clue for me to how to start? I have some methods in my mind , like making an webview and my drawing pad b...

Android - How to prevent a user interacting with Gallery.

OK, I know this questions sounds weird at first, as GALLERY is designed to be user interactive, but, I like the Gallery functionality, as it suits a lot of my needs. i.e. I can give it a number of pictures, move the whole of them from right to left, or left to right and get them an animate (in my case, zoom) when one of them is selected....

How can try python working in WPF?

Try Python is An interactive Python tutorial running in the browser. http://www.trypython.org/ But, I want to run it in my Winform or WPF application. How can I do that? I konw WPF support WebBrowser, could I use try python by it? I want to add a iteractive window in my application, not only run ironpython in it. ...

Interactive Report

Hi All I am attempting to create interactive report within Visual Studio 2005 to deploy on a Report Server. Does anyone know or can point me in the direction of tutorials on how to make the report interactive? Thanks ...

How to combine Cmd and Matplotlib in python

Hi there, I'd like to combine interactive plotting in Matplotlib and the Command line interface Cmd in python. How can I do this? Can I use threading? I tried the following: from cmd import Cmd import matplotlib.pylab as plt from threading import Thread class MyCmd(Cmd): def __init__(self): Cmd.__init__(self) self...