Hi Everyone,
I am using the Wing IDE. It works great when developing applications,
but the workflow is like Visual Studio -- after you execute it or
debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE
to execute a boot script to initialize my environment and create some
basic data objects. And then I want to be able to type in command on
the command line using these objects. The IDLE that comes with Python
does this, but compared with Wing, it does not have a lot of the
convenient features.
I am wondering if there is anything more powerful than IDLE that can
do this.
Thanks,
Geoffrey 8 1167
On Aug 20, 12:50 pm, beginner <zyzhu2...@gmail.comwrote:
Hi Everyone,
I am using the Wing IDE. It works great when developing applications,
but the workflow is like Visual Studio -- after you execute it or
debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE
to execute a boot script to initialize my environment and create some
basic data objects. And then I want to be able to type in command on
the command line using these objects. The IDLE that comes with Python
does this, but compared with Wing, it does not have a lot of the
convenient features.
I am wondering if there is anything more powerful than IDLE that can
do this.
Thanks,
Geoffrey
If Wing could load my init script into a python session ONCE and then
run my code in another files MANY times, with or without the debugger,
without starting a new python session, that would be great.
On 8/20/07, beginner <zy*******@gmail.comwrote:
Hi Everyone,
I am using the Wing IDE. It works great when developing applications,
but the workflow is like Visual Studio -- after you execute it or
debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE
to execute a boot script to initialize my environment and create some
basic data objects. And then I want to be able to type in command on
the command line using these objects. The IDLE that comes with Python
does this, but compared with Wing, it does not have a lot of the
convenient features.
I am wondering if there is anything more powerful than IDLE that can
do this.
I use Wing IDE.
Place something like this on the bottom of your module you are debuging.
Place a stop point on the line you want then start your debug! Hope that helps.
def test():
c=MyClass
c.do_foobar()
if __name__ == '__main__':
test()
--
Later, Joe
On 8/20/07, JoeSox <jo****@gmail.comwrote:
On 8/20/07, beginner <zy*******@gmail.comwrote:
Hi Everyone,
I am using the Wing IDE. It works great when developing applications,
but the workflow is like Visual Studio -- after you execute it or
debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE
to execute a boot script to initialize my environment and create some
basic data objects. And then I want to be able to type in command on
the command line using these objects. The IDLE that comes with Python
does this, but compared with Wing, it does not have a lot of the
convenient features.
I am wondering if there is anything more powerful than IDLE that can
do this.
I use Wing IDE.
Place something like this on the bottom of your module you are debuging.
Place a stop point on the line you want then start your debug! Hope that helps.
def test():
c=MyClass
c.do_foobar()
if __name__ == '__main__':
test()
Just seeing if you all were paying attention :P
s/b...
c=MyClass()
--
Later, Joe
On Aug 20, 2:51 pm, JoeSox <joe...@gmail.comwrote:
On 8/20/07, beginner <zyzhu2...@gmail.comwrote:
Hi Everyone,
I am using the Wing IDE. It works great when developing applications,
but the workflow is like Visual Studio -- after you execute it or
debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE
to execute a boot script to initialize my environment and create some
basic data objects. And then I want to be able to type in command on
the command line using these objects. The IDLE that comes with Python
does this, but compared with Wing, it does not have a lot of the
convenient features.
I am wondering if there is anything more powerful than IDLE that can
do this.
I use Wing IDE.
Place something like this on the bottom of your module you are debuging.
Place a stop point on the line you want then start your debug! Hope that helps.
def test():
c=MyClass
c.do_foobar()
if __name__ == '__main__':
test()
--
Later, Joe
Thanks for your help.
Yes, this is what I always do. However, I want more than debugging
interactively. I am trying to use the python interperter as a
programmable application. Once I run my boot script, the python
interpreter should have all the right objects and libraries, and the
end user (who obviously knows python) can simply type in a few
commands, calling my functions, to achieve his purposes
interactively.
What I am doing right now is almost exactly what you prescribed. I put
a 'pass' statement at the end of my boot script and set a breakpoint
on it, so that once the debugger stops on the breakpoint, the user can
start typing in commands in the Debug Probe window. But this is by no
means a nice set up.
Thanks,
Geoffrey
On Aug 20, 2:39 pm, Jeff <jeffo...@gmail.comwrote:
python-mode in Emacs.
Yeah, but I don't know anything about Emacs and as far as I know it is
pretty complicated.
At 10:50 AM 8/20/2007, beginner wrote:
>Hi Everyone,
I am using the Wing IDE. It works great when developing applications, but the workflow is like Visual Studio -- after you execute it or debug it, the python script ends.
What I want is an interactive interpreting environment. I want the IDE to execute a boot script to initialize my environment and create some basic data objects. And then I want to be able to type in command on the command line using these objects. The IDLE that comes with Python does this, but compared with Wing, it does not have a lot of the convenient features.
I am wondering if there is anything more powerful than IDLE that can do this.
Are you sure you can't do this with Wing? Have you asked support,
<su*****@wingware.com>?
Dick Moores
======================================
Bagdad Weather
<http://weather.yahoo.com/forecast/IZXX0008_f.html> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: macgyver |
last post by:
This is a strange question, and I think the answer is NO, but I am
asking anyway.
I am a member of a website which allows us to alter our member
profiles. Using css in the middle of the profile...
|
by: Fabian |
last post by:
How can I read the object.style.display attribute? With teh following:
var x = object.style.display;
I always get a result of undefined. Solutions?
--
--
Fabian
|
by: lawrence |
last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in
IE???
<SCRIPT type='text/javascript'>
function makeVisible(nameOfDiv) {...
|
by: cedoucette |
last post by:
I just wrote code to support sortable columns in a datagrid.
It seems to work fine; but, it doesn't look right.
The problem is that I have a generic style for links
and a different style for the...
|
by: RonY |
last post by:
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working...
|
by: rongchaua |
last post by:
Hi all,
I want to change the style of a button. But I don't know how to do it.
For example, I have already a button OK on form. I want to add these styles
to this button (WS_CHILD || WS_VISIBLE ||...
|
by: Michellevt |
last post by:
Hi
I am working on a project (for college) and wondered if anyone can help me with my problem. In the project we are not allowed to make use of any "style" attributes but "class" attributes...
|
by: Claus Mygind |
last post by:
I want to move some style setting into a javaScript function so I can make them variable but I get "invalid assignment left-hand side" error?
see my question at the bottom of this message.
It...
|
by: Matthew Fitzgibbons |
last post by:
I've got a pretty complex interactive command line program. Instead of
writing my own REPL, I'm using the Python interpreter (an infinitely
better solution). This program has two threads, a...
|
by: Matthew Fitzgibbons |
last post by:
Matthew Fitzgibbons wrote:
Here's a modified example that _almost_ works:
#!/usr/bin/env python
import code
import time
import threading
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
| |