Re: [Tutor] experience/opinions with deploying python GUI app to Linux, Win32, and Mac OS X

2008-11-12 Thread W W
On Wed, Nov 12, 2008 at 9:03 PM, greg whittier <[EMAIL PROTECTED]>wrote: > - web app running locally -- no experience with this, but everybody > has a web browser and there are frameworks like django I could use > - curses -- probably not as pretty as mac/windows users would expect > I'd probably

[Tutor] experience/opinions with deploying python GUI app to Linux, Win32, and Mac OS X

2008-11-12 Thread greg whittier
Hi gang, I know this is probably like asking whether vi or emacs is better, but I'm looking for the best cross-platform (linux, windows, mac os x) user interface toolkit. Since the users won't be programmers, I'd like it to feel as much like a native app as possible in terms of installation. It

Re: [Tutor] A tutorial for Python and QT4

2008-11-12 Thread Timothy Grant
On Wed, Nov 12, 2008 at 6:50 AM, Robert Berman <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a tutorial teaching how to use QT4 Designer with Python. > There are a number of very good tutorials for QT3, but I do not want to drop > back from QT4.I have no problem designing the form(s) using

Re: [Tutor] Documentation on how to run complete R scripts from Pythoninterpreter

2008-11-12 Thread Kent Johnson
On Wed, Nov 12, 2008 at 6:07 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > "Judith Flores" <[EMAIL PROTECTED]> wrote >> >> I am very new to Python and I have long R scripts that I would like to >> run under the Python Interpreter. > But I'd like to thank you for pointing me at R! R is very powerfu

Re: [Tutor] Documentation on how to run complete R scripts from Pythoninterpreter

2008-11-12 Thread Alan Gauld
"Judith Flores" <[EMAIL PROTECTED]> wrote I am very new to Python and I have long R scripts that I would like to run under the Python Interpreter. I'm sorry I can't help for reasons that will become apparent. But I'd like to thank you for pointing me at R! I've just bought a commercial sta

[Tutor] Documentation on how to run complete R scripts from Python interpreter

2008-11-12 Thread Judith Flores
Hello, I am very new to Python and I have long R scripts that I would like to run under the Python Interpreter. The reason for this is because I will try to construct a GUI using 'easygui' in Python. I read some of the the documentation regarding the RPy module, but it implies to add a 'r' a

Re: [Tutor] get a module's own (top_level) dict?

2008-11-12 Thread Emile van Sebille
spir wrote: Hello pyhonistas, Example: === module content === a = 1 b = 2 == I'm looking for a way to get something like {'a':a, b':2}. Maybe this will get you started: [EMAIL PROTECTED] root]# cat > testmod.py a=1 b=2 [EMAIL PROTECTED] root]# python Python 2.5 (r25:5190

Re: [Tutor] Running a script from another folder

2008-11-12 Thread Shawn Milochik
On Wed, Nov 12, 2008 at 12:58 PM, greg whittier <[EMAIL PROTECTED]> wrote: >> it looks like you're on linux - so at the beginning of your script put >> #!/usr/bin/env python (I believe) and then chmod +x myscript.py >> >> then you can call it from the command line. >> > > You'll also need to make s

[Tutor] Python and Abaqus

2008-11-12 Thread iSinhCanon
It would be simply if you can use Python to explorer your file .odb for yours databases for exemples: displacements and stresses at node etc... I have a lot of exemples by using Python for file .odb, if you want i can send it to you. Sinh. Hello folks, This is something that must have been a

Re: [Tutor] Running a script from another folder

2008-11-12 Thread greg whittier
> it looks like you're on linux - so at the beginning of your script put > #!/usr/bin/env python (I believe) and then chmod +x myscript.py > > then you can call it from the command line. > You'll also need to make sure ~myID/bin is in your PATH. ___ Tuto

Re: [Tutor] Running a script from another folder

2008-11-12 Thread W W
On Wed, Nov 12, 2008 at 10:27 AM, <[EMAIL PROTECTED]> wrote: > Suppose I have a python script in /usr1/myID/bin and I want to run it from > another folder. If I enter > > python ~myID/bin/myscript > > that works. Is there a way to get by with > > python myscript > > or even > > myscript.py > > I'v

[Tutor] Running a script from another folder

2008-11-12 Thread ycbh7f302
Suppose I have a python script in /usr1/myID/bin and I want to run it from another folder. If I enter python ~myID/bin/myscript that works. Is there a way to get by with python myscript or even myscript.py I've tried specifying the PYTHONPATH environmental variable but it seems to be used

[Tutor] A tutorial for Python and QT4

2008-11-12 Thread Robert Berman
Hi, I am looking for a tutorial teaching how to use QT4 Designer with Python. There are a number of very good tutorials for QT3, but I do not want to drop back from QT4.I have no problem designing the form(s) using QT4 designer; including signals and slots; but..I am not even certain why t