Re: Changing default key

Frederic Gobry <[email protected]>
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
> Some other people had already answered some topics, but as I don't know 
> anything about the python language, I have some doubts regarding the 
> changed that are requested to create a new type of key.

Well, a good thing would be to collect existing functions for their
inclusion in the official distribution. 

So if you've written a function, please consider sending it along with a
description of how it formats the key :-)

> 1. We define a new type of entry code in 
> /usr/share/pybliographer/Pyblio/Utils.py including the statement 
> Autoload.register ("key", "MyKey", generate_my_key)

Alternatively, you can write this function in ~/.pybrc.py, which has the
advantage of not being overwritten when you install a new version of
pyblio.

> 2. After this, we need to run pybliographic in order to change the 
> desired new key under the preference menu.

Right.

> As I know, python is a scripting language (please correct me if I am 
> wrong) but I saw some .py.c and .py.o files. It is necessary to perform 
> some kind of compilation onder Utils.py after changes?

These files are automatically generated by pyblio when needed. They are
here to improve the startup time, but you can safely ignore them and
consider python as a scripting language.

Frédéric
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBnIFTFjQHpltE9KURAuXNAKCEru5ztI6b1nKF3nJh5OivnDUg7QCffHTR
y6UHD2YedarLDAv3H+B/zec=
=LNNk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.