Re: X/Linux mouse_event (like in win32api)

2008-01-14 Thread Atila Olah
Thank you Jorgen. Your answer helped me a lot. -- http://mail.python.org/mailman/listinfo/python-list

Re: Determine whether program was started by clicking icon or command line

2007-11-29 Thread Atila Olah
On Nov 29, 9:51 am, Benjamin Hell <[EMAIL PROTECTED]> wrote: > Hi! > > I wonder whether there might be a way to find out how a Python > program was started (in my case in Windows): By double clicking the > file or by calling it on the "DOS" command line prompt. I think it's not possible (or very t

X/Linux mouse_event (like in win32api)

2007-11-29 Thread Atila Olah
Hello everyone. I would like to be able to emit a mouse click on my xgl/compiz desktop, like I used to do in Windows: win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y, 0) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y, 0) I installed Python and pywin32 in wine and they both work,

Re: Python and SMB, again...

2005-09-14 Thread Atila Olah
Thank you, Larry, I'm figuring out the things right now. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SMB, again...

2005-09-14 Thread Atila Olah
Thank you, Larry, I'm figuring out things right now. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and SMB, again...

2005-09-12 Thread Atila Olah
Oops, I forgot to look at my old topic. Some of you mentioned CIFS. I was away from home for a while and now I'm on my job, again. Soth the Network Neighborhood thing isn't a problem. Now I know, that probably it would be better to use CIFS rather than a virtual filesystem. I just need to read thro

Python and SMB, again...

2005-09-12 Thread Atila Olah
On 1997/06/05 Peter Henning wrote: >SMB, ldap, imap4rev1 > >Is there an SMB library? I want to be able to access SMB shares >from python, or publish shares onto a network neighbourhood from >a python server. If anyone has implemented SMB in python, could >you point me to the code? Otherwise, would

Re: Some newbie cgi form questions...

2005-08-07 Thread Atila Olah
>for key in form.keys(): >if not form.has_key(key): # it will always be True try this: for key in form.keys(): if not form.keys()[key]: # True if it's a value is None Well, I don't exactly know the methods of the CGI module, but there are ways to access form data in Apache's mod_python m

Re: ANN : dxPython 0.3.0

2005-08-05 Thread Atila Olah
In my opinion, you shoud make an (100%) English version of the site, if you want more developers to join worldwide. -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacement for keyword 'global' good idea? (e.g. 'modulescope' or 'module' better?)

2005-08-05 Thread Atila Olah
I think D H is right. Or even if you'd find out that most of the people would better like 'modulescope' or 'module', (what is, i think, imposible), you'd destroy the backward-compatibility with older versions of Puthon if you implement it. But it won't be implemented. Trust me. -- http://mail.pyt

Creating a virtual file system

2005-08-05 Thread Atila Olah
I'm working on a project to implement a simple cross-platform file sharing protocol (using Python) that is similar to HTTP, and I have to write a GUI for Windows and Linux. But let's start with the harder one: Windows. My question is: How do I implement a virtual partition that acts like a real fi