I'm totally new to python. I would like to know, how can I copy files
using regular expressions (the equivalent in python to unix "cp
/home/mycount/*partialname* /home/mycount/directory/").
__
LLama Gratis a cualquier PC del Mundo.
L
Hi,
I'm starting with python on linux. I would like to make gtk user
interfaces. Wich is the best option to do that? gtk-bindings, glade? If
I want to port a program with gtk interface to windows, what should I use?
Thank you very much for your attention.
_
I'm writing a script to retrieve and print some links of a page. These
links begin wiht "/dog/", so I use a regular expresion to try to find
them. The problem is that the script only retrieves a link per line in
the page. I mean, if the line hat several links, the script only reports
the first.
Kent Johnson wrote:
> Alfonso wrote:
>
>> I'm writing a script to retrieve and print some links of a page. These
>> links begin wiht "/dog/", so I use a regular expresion to try to find
>> them. The problem is that the script only retrieves a link per li
I would like to experiment with web interfaces and python. After some googling,
I'm quite confused, does somebody know of a good link about this topic / what
do you think that is the best software option to design web user intefaces with
python? I mean web interfaces for common programms (so it
sure to use an alternate
> port number like 11224, or something.
>
> HTH
> Best of Luck.
>
> On 5/6/06, Alfonso <[EMAIL PROTECTED]> wrote:
>> I would like to experiment with web interfaces and python. After some
>> googling, I'm quite confused, does someb
thon.org/lib/module-CGIHTTPServer.html_
>
> If you do this as a personal app I would make sure to use an alternate
> port number like 11224, or something.
>
> HTH
> Best of Luck.
>
> On 5/6/06, Alfonso <_ [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>_ > wrote:
>
Hi,
I'm trying to learn to use python with glade. As start I have tried to
run a program from a tutorial, but when I run it I become this
exception: class GladeXML(_gtk.GtkData): AttributeError: 'module'
object has no attribute 'GtkData'
This ist the program:
import pygtk
pygtk.require('2.0')
i
Sorry for the too obvious question. I'm new to python and have no idea
how can I make execute a compiled .pyc with a double click in linux,
with gnome. Trying to double click in a .py gives allways the question
wether I want to execute the text file, or read it. (This behaviour can
be changed w
Trying to copy or move files -I do it with move or copyfile- between
directories, with characters of the spanish language gives me this
error: not such file or directory. I suppose this is related with
unicode, any idea how can I handle it?
Thank you very much, in advance.
(My system is in spa
Jonathon Sisson escribió:
> Alfonso wrote:
>
>> Sorry for the too obvious question. I'm new to python and have no idea
>> how can I make execute a compiled .pyc with a double click in linux,
>> with gnome. Trying to double click in a .py gives allways the question
Thank you for your answer, Jonathon.
I have found that the problem ocurs only with programs that make use of
glade files for the interface. With pure pygtk programs without using
glade files, making a launcher with a simple double click works
perfectly. But if the program builds his interface b
Is there an alternative in python to use shutil.move()?
It copies the files and then removes the source file insted of just
moving directly the file (don't know much about file systems, but I
suppose that when you move using the shell, if both source and
destination are in the same partition, i
Chris Lasher escribió:
> How about os.rename
>
> http://docs.python.org/lib/os-file-dir.html
>
> On 10/15/06, Alfonso <[EMAIL PROTECTED]> wrote:
>> Is there an alternative in python to use shutil.move()?
>
That's exactly what I was looking for. Thank you very muc
14 matches
Mail list logo