Posted
over 14 years
ago
by
mandel
A while back I posted an example of how to create a rounded rectangle actor with clutter using the Python bindings. Last night I started to write a small UI in which I’m using Clutter and wanted to get the same effect but this time I used gobject introspection. The differences are not huge but [...]
|
Posted
over 14 years
ago
by
mandel
The following bug I have been faced with has made me loose more time that I would have expected and therefore I think is a good idea to describe it so that the rest of the internet can take advantage of my wasted time and also to keep a record of my stupidity. After building [...]
|
Posted
over 14 years
ago
by
mandel
One of the things we wanted to achieve for the Windows port of Ubuntu One was to deploy to the users systems .exe files rather than requiring them to have python and all the different dependencies installed in their machine. There are different reasons we wanted to do this, but this post is not related [...]
|
Posted
over 14 years
ago
by
mandel
Sometimes the Moirae (lovely three women, aren’t they?) decide that your project is going to have a complicated live, and this is what I have been facing so far with the port of Ubuntu One to Windows. This means that things that I do not anticipate to go wrong will go wrong. As an example [...]
|
Posted
over 14 years
ago
by
mandel
In some cases you might find yourself in the situation of wanting to use gettext in a PyQt project in which you have .ui files generated using QtDesigner. For those kind of situations is a good idea to extend the uic compiler form PyQt. he following example shows how to do so in a distutils [...]
|
Posted
over 14 years
ago
by
mandel
For those that do not what is the keyring module here is the official description: The Python keyring lib provides a easy way to access the system keyring service from python. It can be used in any application that needs safe password storage. The module is a very nice idea and has been rather useful [...]
|
Posted
over 14 years
ago
by
mandel
Some of you might know that I’m a rugby nutter. I love watching it, playing it, training… this has had the following consequence: Unfortunately this will slow me down the following 4 weeks which will affect those people that wanted to see the new code coming to Ubuntu One on Windows. Sorry for that, I [...]
|
Posted
over 14 years
ago
by
mandel
Before I introduce the code, let me say that this is not a 100% exact implementation of the interfaces that can be found in pyinotify but the implementation of a subset that matches my needs. The main idea of creating this post is to give an example of the implementation of such a library for [...]
|
Posted
over 14 years
ago
by
mandel
Yet again Windows has presented me a challenge when trying to work with its file system, this time in the form of lock files. The Ubuntu One client on linux uses pyinotify to be able to listen to the file system events this, for example, allows the daemon to be updating your files when a [...]
|
Posted
over 14 years
ago
by
mandel
In the last post I explained how to set the security attributes of a file on Windows. What naturally follows such a post is explaining how to implement the os.access method that takes into account such settings because the default implementation of python will ignore them. Lets first define when does a user have read [...]
|