Hi,
It's very simple to do it. First install everything you need (Python,
PyGTK, GTK+, py2exe etc.) and copy to your Flash drive. The GTK binaries
copy to a GTK directory in Python's folder.
Then start your PyGTK programs with a .bat file similar to this one:
@ECHO OFF
set DRIVE=%~d0
set
It is also possible to combine it all into a portable development
enviroment. It took me quite some time to figure it out but it works
great on my flash drive. If someone's interested I can post a guide.
It's not my own idea but I hope the author wouldn't mind.
Vlada
John Stowers napsal(a):
Pádraig Brady [EMAIL PROTECTED] wrote:
A.T.Hofkamp wrote:
Pádraig Brady wrote:
togix wrote:
Hi,
I'm working on a GUI in PyGTK that
allows to insert some parameters and then to call a program (written in C)
using
the os.popen() function.
The thing that I want to do is redirect
Thanks a lot John,
This guide is easy to understand and works perfectly for my needs. I made my
code based on the example and I had no freezes or lock-ups since then.
Best regards,
Vlada
John Stowers [EMAIL PROTECTED] napsal(a) :
On Sun, 2008-08-17 at 22:49 +0200, Vláďa wrote:
Thanks
Hello,
I'm looking for an up to date information about threading in PyGTK. I
found some tutorials on net, but they look outdated to me. The one
example which worked after some modifications is this:
[code]
import pygtk
pygtk.require('2.0')
import gtk
from threading import *
import time
import
Or it should be possible to use ffmpeg. There is a wrapper called
PyMedia (http://pymedia.org/), I've never used it, but it should be able
to do the job.
In my application I use Avisynth to get thumbnails of multimedia files.
But this is a Windows-only solution because development of
Hi,
I'd like to ask you for help with solving my problem. First I'll try to
describe what I'm doing:
I have a PyGTK application which needs to run an external command. I use
subprocess.Popen to do it. Then I run a gtk.Dialog (saying Please
wait) and wait until the process is finished. After
that the problem is somewere in location of the
.mo file. It is in c:\python\locale\cs\LC_MESSAGES\translate.mo. Is it
possible to find out at which locations is the gettext extension looking
for the .mo files?
Thank you,
Vlada
Jarek Zgoda napsal(a):
Vláďa pisze:
Thank you
Jarek Zgoda napsal(a):
Vláďa pisze:
Hello,
I'm trying to translate my own application written in PyGTK on Windows.
This is what I did:
First of all my test application *translate.py* stored in c:\Python:
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
import gettext
Hello,
I'm trying to translate my own application written in PyGTK on Windows.
This is what I did:
First of all my test application *translate.py* stored in c:\Python:
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
import gettext
import locale
system little bigger then normal font size.
Using values around 2 works correctly. What unit is the font size
in? Thousandths of point?
Vlada
John Finlay napsal(a):
Vláďa wrote:
So I think my code is correct. The problem is, that the first value
(size=14) in my example is also used
This sounds very strange. Please check your code or post here a simple
example.
I'm working on an application which is similar to your's (but works with
DVDs and video) and everything works fine.
Vlada
Geert Geurts napsal(a):
Hello,
I'm a newbie trying to get to know pygtk/gtk so my
, the first 2 have size 14, the last one is
small. But the second line should have size 10. What is wrong in my code?
Thank you
John Finlay napsal(a):
Vláďa wrote:
Hi,
I have a question regarding labels and Pango.
I want to use different sizes of font, but unfortunately it doesn't
work. If I use
Hi,
I have a question regarding labels and Pango.
I want to use different sizes of font, but unfortunately it doesn't
work. If I use
self.label = gtk.Label('span size=14Text 1/span\nspan
size=10Text 2/span')
then only the first size definition (14) is taken into account. The
second line
Maybe this would help:
http://faq.pygtk.org/index.py?req=showfile=faq04.015.htp
Vlada
F Wolff napsal(a):
Op Dinsdag 2008-03-11 skryf Darwin Bautista:
Hi all,
I'm planning to dynamically resize the text to fit a fixed sized label
when it overflows.
How do I determine if a certain text
Hi,
this is very interesting. I'm wondering if somebody's working on a free
multiplatform image viewer and simple editor, which would use this widget.
There is really a big hole in this type of software for Windows. Even for Linux
the only good image viewer I know is Gwenview. The other ones
Hello,
I already sent this email once, but with attachment, so it needs
approval. I think it will be better to upload my pictures at Imageshack.
I'm trying to create a program, where will be a list of video files
which should look like it is shown on this drawing:
Hello,
I have a GUI program which runs some CLI processes. I use modified code
of this module:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554
It is a black magic for me. :-)
Then I run the CLI application:
self.p =
(a):
On Mon, Feb 25, 2008 at 11:49 AM, Vláďa [EMAIL PROTECTED] wrote:
Hi
Everything works fine. But I'd like to add an option to change priority
of the process I started. It is a video encoder, so it uses 100% of CPU
and takes hours to finish. So you might want to lower it's priority
Yes, I'm on Widows. I know the difference between python.exe and
pythonw.exe. But I was talking about a console windows created by the
external CLI application i run. Anyway I already solved my problem by
using gobject.
Thanks,
Vlada
John Ehresman napsal(a):
[EMAIL PROTECTED] wrote:
I
Hello,
I'm working on a multimedia converter. I plan to use CLI encoders (lame,
x264, xvid_encraw etc.)
But I don't know hot to run these programs effectively from PyGTK. I
need it to run on Windows at least.
I don't know hot to do following things:
1) Run a CLI application without
21 matches
Mail list logo