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 1177
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |