473,662 Members | 2,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Graphical object browser

Hi,

I've spent all day looking for a graphical object browser for Python
2.5 under Debian GNU/Linux, ie. something I can just drop into my code
with an import and a "browse(my_obje ct)" statement. So far I've only
found intractable GUI toolkits or obsolete, non-functional scripts.

I was wondering if there is a simple tool like this out there
somewhere. Preferably one that doesn't involve me installing a massive
IDE, but I can't really be picky.

Cheers,
Jason
Oct 29 '08 #1
5 2015
Hooray! I discovered PyCrust. I made this script (for Linux - under
Win, you could just have all but the first line as a python file and
run it directly):

#!/usr/bin/python
import wx
import wx.py.PyCrust

if __name__ == '__main__' :
app = wx.App()
pc = wx.py.PyCrust.A pp(app)
pc.MainLoop()

Run it from the working dir and tinker from there.
Oct 30 '08 #2
On Oct 30, 2:10*am, Jason <jason.hee...@g mail.comwrote:
Hooray! I discovered PyCrust. I made this script (for Linux - under
Win, you could just have all but the first line as a python file and
run it directly):

#!/usr/bin/python
import wx
import wx.py.PyCrust

if __name__ == '__main__' :
* * app = wx.App()
* * pc = wx.py.PyCrust.A pp(app)
* * pc.MainLoop()

Run it from the working dir and tinker from there.
Hello,
is it still possible to run PyCrust with Python 2.2? I see no
installer for it anywhere...
Cheers,
Propad
Oct 30 '08 #3
On Oct 30, 8:33*am, Propad <npropado...@go oglemail.comwro te:
On Oct 30, 2:10*am, Jason <jason.hee...@g mail.comwrote:
Hooray! I discovered PyCrust. I made this script (for Linux - under
Win, you could just have all but the first line as a python file and
run it directly):
#!/usr/bin/python
import wx
import wx.py.PyCrust
if __name__ == '__main__' :
* * app = wx.App()
* * pc = wx.py.PyCrust.A pp(app)
* * pc.MainLoop()
Run it from the working dir and tinker from there.

Hello,
is it still possible to run PyCrust with Python 2.2? I see no
installer for it anywhere...
Cheers,
Propad
PyCrust is part of wxPython now (I think). But I'm not sure how long
it's been a part of that package. You can try downloading one of the
really old wxPython versions and see if it's included:

http://sourceforge.net/project/showf...ckage_id=10559

Mike
Oct 30 '08 #4
Yeah, PyCrust is in wxPython now. But I take back my initial
excitement — it's freaking hard to use, despite its provision of a
"pywrap" script (batch file under Windows). You certainly can't just
replace "python /path/to/blah.py" with "pywrap /path/to/blah.py",
especially if your script requires knowledge of where it is. (It also
seems to freeze an awful lot under my Windows testing environment.)
Oct 30 '08 #5
Yeah, PyCrust is in wxPython now. But I take back my initial
excitement — it's freaking hard to use, despite its provision of a
"pywrap" script (batch file under Windows). You certainly can't just
replace "python /path/to/blah.py" with "pywrap /path/to/blah.py",
especially if your script requires knowledge of where it is. (It also
seems to freeze an awful lot under my Windows testing environment.)
Oct 30 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1836
by: Marc te Vruchte | last post by:
Over the past years i've been in contact with the same problem a number of times, creating a graphical user interface on complex XML documents. Personally these solutions have never been satisfactory to me as a developer. I am not sure if this is caused by the way i've approached the problem or that it is the maturity of current day XML technologies. Let's say we are developing Form interfaces on complex XML documents which have a...
2
1451
by: giangiammy | last post by:
hi all, I need a web page showing a graphical map whose informations are rapresented by various icons and are updated depending on informations present in the server. the page should show and update the status in realtime, without user pressing any key
9
2041
by: Bryan Olson | last post by:
Here's a module to show stderr output from console-less Python apps, and stay out of the way otherwise. I plan to make a ASPN recipe of it, but I thought I'd run it by this group first. To use it, import the module. That's it. Upon import it will assign sys.stderr. In the normal case, your code is perfect so nothing ever gets written to stderr, and the module won't do much of anything. Upon the first write to stderr, if any, the...
10
2098
by: William Gill | last post by:
Being somewhat new to Python, and having a tendency to over complicate things in my class design, I was wondering if anyone can suggest a simple graphical or flowcharting tool that they use to organize their class and program design? Because of a 55 mph head-on accident a few years back, I have short term memory problems, so flipping back and forth between pages of code is next to impossible for me to keep straight. A simple graphical...
0
240
by: simsimlhr | last post by:
What i want to do is given below. I have put whole form in region class. Now i want to exclude some independent points from that region I will probably use region.Exclude(graphicalpath) ,will probably add independent point in graphicalpath class to be excluded from the region. I cannot make different graphical path objects and add a rectangle around one point to each graphical object for each point and exclude from the region.If we...
2
1297
by: Jens Theisen | last post by:
Hello, as it would be so obviously a good thing to have a graphical (or maybe curses-base) browser through the dynamic state of a Python program, it's probably there. Can someone point me to something? Cheers,
1
2690
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hello everyone: I'm trying to teach myself Visual Basic 2005 .NET and the best way I have found is to create a project in Visual Basic 2005 .NET. The project concept is: I want to create a 'canvas' upon a form. On the 'Canvas' object I want to place smaller rectangular objects. The 'Canvas' area is the area I'm limited too. In other words, I can only have objects placed on the canvas. How can I create a graphical object(The canvas)...
9
5977
by: Mel | last post by:
I have some Asp.net 2.0/vb.net code that creates a gantt chart with some dependencies as a new MS Project (.mpp) file. How would I show this resulting .mpp file on an Asp.net webpage? I want to show the Gantt Chart as a graphical object on my webpage and display it as read only.
8
6605
by: r0g | last post by:
Hi There, I'm trying to migrate a locally hosted page from windows to a private Ubuntu development server and one of the key bits of functionality (which used to work fine in Windows) was the ability for the page to start a file browser via PHP's exec() function. I can't get this working under Ubuntu though e.g. <?php exec('nautilus /var/www'); ?>
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8547
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7368
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.