Eclipse Pydev update error ?

2009-07-24 Thread Linuxguy123
Does anyone know why this error is occurring in my Eclipse Pydev update ? An error occurred while collecting items to be installed No repository found containing: org.python.pydev/osgi.bundle/1.4.7.2843 No repository found containing: org.python.pydev.ast/osgi.bundle/1.4.7.2843 No

Re: Eclipse Pydev update error ?

2009-07-24 Thread Linuxguy123
On Fri, 2009-07-24 at 16:43 -0300, Fabio Zadrozny wrote: On Fri, Jul 24, 2009 at 4:17 PM, Linuxguy123linuxguy...@gmail.com wrote: Does anyone know why this error is occurring in my Eclipse Pydev update ? An error occurred while collecting items to be installed No repository found

Re: Python servlet for Java applet ?

2009-05-01 Thread Linuxguy123
On Thu, 2009-04-30 at 14:06 +0200, Piet van Oostrum wrote: Well, for a start, in the Python world the word 'servlet' isn't used much. So I assume it comes from your Java legacy and you actually mean 'any server-side python script' (in webware they use the term 'servlet', however). snip I

Re: Python servlet for Java applet ?

2009-04-30 Thread Linuxguy123
On Wed, 2009-04-29 at 15:37 +0200, Marco Bizzarri wrote: On Wed, Apr 29, 2009 at 3:14 PM, Linuxguy123 linuxguy...@gmail.com wrote: How does one connect the servlet to the applet ? Does anyone know of an example program that demonstrates a Python servlet with a Java applet ? Thanks

Re: Python servlet for Java applet ?

2009-04-29 Thread Linuxguy123
On Sat, 2009-04-25 at 02:00 +0200, Piet van Oostrum wrote: Linuxguy123 linuxguy...@gmail.com (L) wrote: L Hi guys. L Is there a way to use a python application as the back end (ie rpc) for L a Java based applet ? Yes, you can use Corba, XMLRPC, SOAP, JSON-RPC. Corba probably will have

Python servlet for Java applet ?

2009-04-24 Thread Linuxguy123
Hi guys. Is there a way to use a python application as the back end (ie rpc) for a Java based applet ? How does it work compared to a Java servlet with a Java applet ? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Why doesn't this work ? For loop variable scoping ?

2009-03-19 Thread Linuxguy123
Hi people. I've got a small piece of code that I don't understand. Basically, a variable inside an if statement inside a for loop doesn't seem to be updating. Is this a scope issue ? Thanks Code segment: snip # run through the cycle and calculate the temperature and pressure at each

How do I declare global vars or class vars in Python ?

2009-02-17 Thread Linuxguy123
How do I do this in Python ? # declare A,B function getA return A function getB return B function setA(value) A = value function setB(value) B = value main() getA getB dosomething setA(aValue) setB(aValue)

Function name limit in Python ?

2009-02-14 Thread Linuxguy123
Excuse my ignorance, but is there a limit to the size of function names in Python ? I named a function getSynclientVersion() and I got an error when I called it. I renamed the same function to getSCVersion() and it called fine. Why ? Thanks --

Object explorer for python ?

2009-02-06 Thread Linuxguy123
Is there a (stand alone ?) object explorer for python objects such as the PyQt4 collection ? How else could I find out what is in PyQt4.QtCore, .QtGui and .QtWebKit ? Thanks -- http://mail.python.org/mailman/listinfo/python-list

HOWTO for setting up a PyQt project in Eclipse ?

2009-02-05 Thread Linuxguy123
Does anyone know of a HOWTO for setting up a PyQt project in Eclipse ? I know about setting up a PyDev project, just wondering how to integrate the QtDesigner parts. For example, should I save the QtDesigner project in the root PyDev directory ? Thanks --

Why doesn't this work in Eclipse ? (Simple pexpect code that works in bash)

2009-01-30 Thread Linuxguy123
I'm trying to build a small Python app in Eclipse under Fedora 10. I have the following code: import os import sys import pexpect child = pexpect.spawn('/bin/bash') child.interact() When I run it in Eclipse, I get: Traceback (most recent call last): File

libsudo ?

2009-01-29 Thread Linuxguy123
Does anyone know where I would find libsudo ? If you had the choice of using pexpect or libsudo, which would you use ? Thanks -- http://mail.python.org/mailman/listinfo/python-list

How do I get my python program to get the root password ?

2009-01-23 Thread Linuxguy123
I want to make a python program that I can run as a normal user that changes the permission on some device files. It will need to ask me for the root password and then run chown as root in order to do this. How do I accomplish this (easily) ? Thanks --

I'm a python addict !

2009-01-23 Thread Linuxguy123
I just started using python last week and I'm addicted. I hate Perl. I never did learn to use it with any competence. I has to be the most obfuscated, cryptic language I've ever seen. Making it object oriented only makes it worse ! While I am at it, I dislike bash shell programming too.

PyQt4 on Windows ?

2009-01-19 Thread Linuxguy123
What does it take to get a PyQt4 application running on a Windows machine ? I'm sorry if this is a redundant question, but I've searched this and I am not finding a comprehensive answer. If anyone is running a PyQt4 application on a Windows (XP or Vista) machine, I'd love to know how it works