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 much. Don't know
how I didn't find it before. I
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
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,
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
wether I want to execute the text
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
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
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')
, 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 somebody know of a good link about
this topic / what do you think that is the best software option to
design web
, or something.
HTH
Best of Luck.
On 5/6/06, Alfonso _ [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]_ wrote:
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
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 line in
the page. I mean, if the line hat several
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
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 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.
14 matches
Mail list logo