Blender Game Engine does not seem able to just play an AVI clip
file...
I want to play these files as cut-scenes in a game - subprocess it to
the OS, and continue on return seems a good solution - but so sorry,
it's been a while since I've delved in such places... I need a
refresher.
Must be plat
Tim Daneliuk wrote:
> Sefyroth wrote:
> > Thanks,
> >
> > but I get this error when I try this.
> >
> > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in
> > position 12: ordinal not in range(128)
> >
> > I had encountered it with the askdirectory method as well. Is there an
> >
Kevin Walzer wrote:
> I'm a Tcl/Tk developer who has been working, slowly, at learning Python,
> in part because Python has better support for certain kinds of
> applications that I want to develop than Tcl/Tk does. Naturally, I
> thought that I would use Tkinter as the GUI for these programs. How
Lad wrote:
> Dennis,
> Thank you for your reply
> You say:
> >Pretend you are the computer/application/etc. How would YOU
> > perform such a ranking?
> That is what I do not know , how to perform such ranking.
> Do you have any idea?
>
> Regards,
> Lad.
take a piece of paper to *play* the use-cas
Bruno Desthuilliers wrote:
> Kay Schluehr wrote:
> > Bruno Desthuilliers wrote:
> >
> >> Just for the record : Ruby's code-blocks (closures, really) come from
> >> Smalltalk, which is still the OneTrueObjectLanguage(tm).
> >
> > IsTheOneTrueObjectLanguage(tm)ReallyCamelCased?
> >
> ThatsAGoodQuest
Jan Bakuwel wrote:
> John Purser wrote:
> > On Fri, 2006-10-13 at 15:48 +, giuseppe wrote:
> >> What is the better IDE software for python programming?
> >>
> >> many thanks
> >>
> >> joe
> >
> > Joe,
> >
> > Find the best Python programmer and ask him/her.
> >
> > John Purser
>
> I may be the
Fabio Zadrozny wrote:
> On 10/8/06, Colin Lehmann <[EMAIL PROTECTED]> wrote:
> > I am new to Python although I have been using Delphi since version one,
> > I have been employed as a C and C++ programmer so when I went to Linux
> > (Ubuntu 5.10) I thought Python looked pretty good.
> > I downloade
erikcw wrote:
> DiveIntoPython.org was the first book I read on python, and I really
> got a lot out of it. I need to start learning Java (to maintain a
> project I've inherited), and was wondering if anyone knew of any
> similar books for Java?
>
> Maybe once I know my way around the language, I
Fredrik Lundh wrote:
> Paolo Pantaleo wrote:
>
> >I have this code
> >
> > from Tkinter import *
> >
> > root=Tk()
> > Button(root).pack(fill=BOTH)
> > root.mainloop()
> >
> > I would expect the button filling all the client draw area of the
> > Frame, but when I resize the root window the button
Paolo Pantaleo wrote:
> I have this code
>
> from Tkinter import *
>
> root=Tk()
> Button(root).pack(fill=BOTH)
> root.mainloop()
>
> I would expect the button filling all the client draw area of the
> Frame, but when I resize the root window the button becomes wider, but
> not higher ( I get some
Alex Martelli wrote:
> Magnus Lycka <[EMAIL PROTECTED]> wrote:
>...
> > stuff in the world, so my standard extrapolation technique would yield
> > 3 python programmers globally.
>
> I think this estimate is low, based on three piece of data I know (but,
> sorry, are all confidential;-) and
John Salerno wrote:
> If I want to have a list like this:
>
> [(first_name, 'First Name:'), (last_name, 'Last Name:').]
>
> where the first part of each tuple is a variable name and the second
> part is a label for the user to see, such as a form like this:
>
> First Name:
> Last Name
Bruno Desthuilliers wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > Bruno Desthuilliers a écrit :
> >> I've never met a programmer that "loved" Windev.
> >
> > I have met some here (I'm the guy with a mustache-just kidding but
> > actually I was there).
> >
> > http://www.pcsoft.fr/pcsoft/tdftec
MC wrote:
> Bonjour !
>
> Comme tu es français, tu me coprendras.
>
> Alors :
> - windev est fermé, et protégé par des dongles. Résultat : dongle
> perdu, en panne, ou volé, il faut racheter une licence (c'est arrivé à
> un ami)
> - le langage de windev est beaucoup moins évolué que Python. Et
...
>
> If anybody has some really good sites with examples of Tkinter programs
> and stuff, please share :)
...
You should really pay attention to people's reply to your questions if
you want help ;-)
In this case meaning, that you should show what type of problem you are
getting.
Since the exa
Hendrik van Rooyen wrote:
> <[EMAIL PROTECTED]> Wrote:
> |
> | Hendrik van Rooyen wrote:
> | > <[EMAIL PROTECTED]> wrote:
> | >
> | > To:
> | >
> | >
> | > | why is the button sunken when called through a bind method, and not
> | > | with the command attribute?
> | > | Thank you!
> | > |
> | > |
Hendrik van Rooyen wrote:
> <[EMAIL PROTECTED]> wrote:
>
> To:
>
>
> | why is the button sunken when called through a bind method, and not
> | with the command attribute?
> | Thank you!
> |
> |
> | ## Cut'nPaste example
> | from Tkinter import *
> | import tkMessageBox
> |
> | class Vue(object):
why is the button sunken when called through a bind method, and not
with the command attribute?
Thank you!
## Cut'nPaste example
from Tkinter import *
import tkMessageBox
class Vue(object):
def __init__(self):
self.root=Tk()
self.root.title("test button visual state")
Maric Michaud wrote:
> Le dimanche 13 août 2006 12:39, Pasi Oja-Nisula a écrit :
>
> > The question is how (or where) can I call my loadImages function right
> > after the mainloop starts? Or is there a better way to do this?
> >
> Seems a good use case for multi-thread, try something like this :
>
sj wrote:
> I am just learning to use Tkinter and am having problems displaying image
> files. I am able to display an image using tutorials (such as
> http://www.daniweb.com/code/snippet296.html) But when I try my own code all
> I get is an empty widget. What is wrong with the following program?
I made a document on Tkinter cursors (mouse pointers?), pairing the
cursor image with its name...
Not a great deal of magic here since anyone can program something to
see the different cursors on screen rather easily... BUT to have a
printable reference can be nice :-)
Would this be useful to anyo
Gabriel wrote:
> ¿Alguien conoce algún módulo para python con el que se pueda tener
> acceso a los puertos USB y que sea multiplataforma?
>
> --
> Gabriel
Hola Gabriel,
Voy...
http://sourceforge.net/projects/pyusb (multiplataforma sin Windows) mas
http://web.media.mit.edu/~dmerrill/sensor_network
Saint Malo wrote:
> BTW my program isn't about red blue yellow etc. I'm just using it as
> an example. I guess i didn't asked the question correctly or am not
> expressing myself correctly. Let me try one more.
>
> Ok.
>
> Contents of text file follow:
>
> red blue purble
> yellow blue green
>
Tom Del Rosso wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> typed
> in news://[EMAIL PROTECTED],
>
> > Maybe the OP is refering to PythonWin editor (as compared to IDLE)
> > which is in ActiveState's release but not in the Python.org release...
> > makes for a very different subject, and hopefull
placid wrote:
> BartlebyScrivener wrote:
> > Saint Malo wrote:
> > > If the program searches for blue, i just want it to print blue
> >
> > Huh? Tell it to print whatever you want.
> >
> > for line in file:
> > if 'blue' in line:
> > print 'blue'
> >
> > for line in file:
> > if 'br
Trent Mick wrote:
> Tom Del Rosso wrote:
> > Can I ask you about alternative environments? How do Active Python and IDLE
> > from python.org compare?
>
> Both ActivePython and the Python installers from python.org install
> IDLE. They should not differ at all (AFAIK).
>
> Trent
>
> --
> Trent Mic
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > Looking up different blogs etc on xml parsers I wind up on the site of
> > Computer stuff, www.razorvine.net.
> > And in the browser torture section, the billionlaughs.xml link (that
> > you shouldn't use if you don't know what your doing, as w
Looking up different blogs etc on xml parsers I wind up on the site of
Computer stuff, www.razorvine.net.
And in the browser torture section, the billionlaughs.xml link (that
you shouldn't use if you don't know what your doing, as was my case
(mea culpa))
Thinking I was about to crash the browser,
New to swf - interesting technology for dynamic web graphic effects
stemming from user input.
I found a working windows pre-compiled binary (0.6.2) for Python 2.4 of
rfxswf library from swftools to generate swf files. (flash compiled
files(?)).
No source of documentation of that api. There are
Byte wrote:
> Thanks, this works. Now, since the tutorial I was using is clearly
> rubbish, any better ones? For a (relative) newbie please. Also, how do
> I code a GUI Hello World program?
>
> -- /usr/bin/byte
How does John Salerno previous code NOT fit the bill?
>> John Salerno wrote:
>> ...
bruno at modulix wrote:
> Manoj Kumar P wrote:
> > Hi,
> >
> > Can anyone tell me a good python editor/IDE?
> > It would be great if you can provide the download link also.
>
> I hate to be the one answering this, but this is *really* a FAQ - as you
> would have known if you had google'd this group
barbaros wrote:
> Hello everybody,
>
> I need to put some dynamic drawings on my web page. More precisely, I
> need to draw a number of geometric figures (circles, rectangles) which
> evolve into a graphics windows according to some law (a little bit like
> the solar system). I need also to have se
I have to work with XML data containing accented characters (ISO-8859-1
encoding)
Using ElementTree, the only way i found to get the text attribute of a
node was to encode it individually, if you want. It doubles the amount
of time to process :-(
i surely doing this wrong...
What is the good way to
Alex Martelli wrote:
> Stephen <[EMAIL PROTECTED]> wrote:
>
> > Hi All,
> > im new to python i just have a few questions and was wondering if
> > you could help me??
> >
> > 1. what programming langaugue does python use? or which is most popular?
>
> Python _is_ a programming language, so
also the function os.cwd()
;-)
--
http://mail.python.org/mailman/listinfo/python-list
veracon wrote:
> I'm pretty new at Python, so I have no idea how to do this: How do I
> find the name of the directory that contains the application currently
> being executed (e.g. if the file is /home/user/file.py, I want to get
> the /home/user part)?
>
> Thanks!
look into os.path module for
Daniel Crespo wrote:
> Hello to all,
>
> I have to build a server app without GUI. This app must be an xml-rpc
> server, so it has to be up all the time. I would control it through the
> xml-rpc port from a web interface using php, sending parameters to
> defined xml-rpc functions for running cert
[EMAIL PROTECTED] wrote:
> Having the following code:
>
> Module1.py
> import logging
> def X():
> logging.error('test')
>
> If I import it into PythonWin console and call X(), the error message
> is not printed. If I do the same in Python console the message is
> printed. Do I need to
[EMAIL PROTECTED] wrote:
> I apologize for my inital ambiguity.
>
> Say I have a .py script that gets email addresses from a database and
> then sends messages to customers (this is not spam, these guys _want_
> to get the emails). Historically, IT has executed the script when
> someone in Marketi
[EMAIL PROTECTED] wrote:
> What is the quickiest and easiest way to make a py script run on a Web
> server? I have access to an Apache Web server running on Linux.
>
> I'm often asked to run some of my scripts on behalf of others. My hope
> is to make a simple Web-based interface where people coul
Dustan a écrit :
> I'm trying to get a scrollbar bound with a Frame, and I keep on getting
> a scrollbar, but it doesn't actually scroll. Some help, please?
Frames are NOT scrollable objects for scrollbars in Tkinter: Listbox,
Canvas and Text widget are.
I f you want/need to scroll something el
(addendum) ... And even ...
>>> eval("t").max()
12
>>>
--
http://mail.python.org/mailman/listinfo/python-list
Larry Bates wrote:
> novice wrote:
> > hello over there!
> > I have the following question:
> > Suppose I created a class: class Point:
> > pass
> > then instanciated an instance: new = Point()
> > So now how to get the insta
Alex Martelli wrote:
> Mike Meyer <[EMAIL PROTECTED]> wrote:
>
> > Steve Holden <[EMAIL PROTECTED]> writes:
> > > Alex Martelli wrote:
> > >> Not a bad point at all, although perhaps not entirely congruent to
> > >> open
> > >> source: hiring key developers has always been a possibility (net of
>
Yes, a shared preferred way.
And the same is true of many... Think Haskell, OCaml, Lua, Ruby, Lisp,
Smalltalk, Java, C... They all have qualities of some sort, that appeal
to some of us. Not all the same, nor to all of us. It's really a
question of perspective.
In this Python community, one shared
Tolga wrote:
> As far as I know, Perl is known as "there are many ways to do
> something" and Python is known as "there is only one way". Could you
> please explain this? How is this possible and is it *really* a good
> concept?
if you 'import this', you get a bit of Python Zen... from which I ha
PyPK wrote:
> how can we compute the current system disk space using a python
> script.?
> any ideas or have anyone tried this..
Google, on "Python disk size", returned this link:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66455
Thanks for the reply recipe, Steve ;-)
Jean-Marc
--
malv wrote:
> This is probably a fair answer.
> My experience: Two years ago I started with Boa till I discovered eric.
> I have been with eric ever since. Eric uses Qt as GUI. I think both Qt
> and wx enable you to do pretty much the same thing. I like the work
> F.Lundh did on Tkinter, but every
[EMAIL PROTECTED] wrote:
> Hello,
> I am using python and CGI to initiate a long running simulation (up to
> 5h long) on a remote machine. The main idea is that I use a form, enter
> the parameters and a CGI scripts start the simulation using these
> parameters. The structure of the script is:
>
>
It all really depends on what you wish to achieve. Results are
generally in proportion to the effort involved.
I don't think a "Python for Nulls" exists !
the following thread deals with documentation for beginners (and others
as well)
http://groups.google.ca/group/comp.lang.python/browse_frm/threa
JustSomeGuy wrote:
> Hi I'm writing a python application on my windows box and I want to draw
> a simple triangle on the screen... How can I do this.
> Am I going to have to use tcl/tk?
Take a look at Tkinter, Python's wrapper around Tk - you'll find many
things if you Google this!
It's hard to t
dado wrote:
> dado wrote:
> > I'm implementing a "self-tutorial" into my app,
> > and wondering if there's a way of moving a mouse
> > cursor on command? probably using sys,os modules?
>
> I also figured this would be useful for making
> 'remote desktop' kinda thing...
Naturally, you can always i
Terrance N. Phillip wrote:
> In VB, an easy way I indicate progress is something like
> do while
> lblNotify.foreground = randomcolor
> lblNotify.refresh <---
>
> loop
>
> I want to do the same thing in Python/Tkinter:
>
> #
Xiao Jianfeng wrote:
> Hi,
>
> I need to print a long sting, which is two long so it must expand two
> lines.
> I know that we can use backslash(\) to explicitly join two lines into a
> logical line,
> but this doesn't work for string literals :(
>
> my code:
>
While not sure of the behavior you are trying to achieve, XML-RPC comes
to mind. But it's based on HTTP protocol in which the client puts
request to the server which has to respond. The server cannot initiate
interactions.
XML-RPC is both widely avalaible, and very easy to implement.
NOTE: in ord
Simon Brunning wrote:
> On 14/11/05, john boy <[EMAIL PROTECTED]> wrote:
> > I have started out trying to learn Python for my first programming language.
> > I am starting off with the book "how to think like a computer scientist."
> > I spend about 4-5 hrs a day trying to learn this stuff. It i
I guess you're right... I think its just cold feet from the possibility
of getting involved and discovering specific gotchas later.
What I'm hearing you tell me is *go and play it*.
Thanks for replying...
--
http://mail.python.org/mailman/listinfo/python-list
This is not directly what the OP wanted in regards to Perl, but to see
what one could do if one needed to change the name of the running
program, I wrote this:
## START PROGRAM
import sys
import os.path
import shutil
import os
def testChangingName(appname):
hopedfornameis = appname
mylongn
I'm asking help on this topic of building a tools foundation for future
XML projects because of the sheer volume of possibilities I will not
have the time to check/try/test in detail.
This question is a bit like the ones pertaining to 'Which web framework
to use?', there is a lot of good stuff out
## Here you always get 100...
This is false , sorry for the wrong comment on this part, it should
rather be:
## randrange is from start to end-1
the_number = random.randrange(1,101)
JM
(But the rest of my comment seems OK)
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Chad Everett wrote:
> > Hi all, I am new to the group. Trying to learn Python programming on my
> > own. I am working through Michael Dawson's Book Python Programming for the
> > absolute beginner.
> >
> > I am tring to write a program that is a number guessing game.
Like David said above... ;-)
--
http://mail.python.org/mailman/listinfo/python-list
Like David said below, you need to import WConio but then repemeber
when you *import someLib* you have to use qualified names such as
WConio.getkey()
Example:
import WConio
s=WConio.getkey()
if s == "right":
WConio.gotoxy(10,10)
WConio.putch("W")
s=WConio.getch()
--
http://mail.pytho
WConio does this for Windows. See...
getkey() and gotoxy()
http://newcenturycomputers.net/projects/wconio.html
--
http://mail.python.org/mailman/listinfo/python-list
James wrote:
> Most of the responses are of the "Why Python is more pleasant than C++"
> variety, but the original poster specifically said he had experience
> with Perl. As such, arguments like "automatic memory management" don't
> carry any weight.
>
> >From my experience as both a Perl and Pyt
Brendan wrote:
> py wrote:
> > how about wxPython? I am interested in something that will look native
> > on various operating systems (win, mac, *nix).
> >
> > any good tutorial on using wxPython with XML?
>
> The wxPython distribution comes with XRCed, which is a graphical
> gui-builder that s
Maybe this can help:
http://effbot.org/zone/tkinter-dialog-windows.htm
Good luck!
--
http://mail.python.org/mailman/listinfo/python-list
(gulp! red-in-the-face) yes Steve, I meant "gist", sorry if I offended
anyone, specially Fredrik since I was referring to the 'substance' of
his post...certainly not as if it were a 'joke' .
Jean-Marc
--
http://mail.python.org/mailman/listinfo/python-list
The raw_input('Who Goes there?') function writes out the arg and then
waits for *user input* , and that is considered terminated when you hit
return.
Since you only hit return without typing 'Josh' first you get an empty
string "" which is then printed to screen... ('You may pass,'+"")
Type somet
Do you mean code-generators for Python from UML?
If not, please give some hints in what OOP features you're interested
in, because I can't see how use-case, class, instance (objects),
package, sequence,( ... other ) diagram would differ in Python from
Java from an OOP perspective?
--
http://mail
I guess you mean draw lines from the laast coordinates to the new one?
then add a few global variables:
lastX=""
lastY=""
# and modify
lastX=""
lastY=""
def click(event):
global lastX, lastY
if lastX != "":
c.create_line(lastX,lastY,event.x,event.y,fill="white")
lastX = event.x
Well, in the 'give me a free example' type questions, I guess I'm a bit
blue tonight, so here goes: ( no personal pun intended, just look up
some recent post in this newsgroup...)
# Start the example Python code to show some text file in a text widget
from Tkinter import * # import Tkinter in __ma
And you know what? I almost sure most people on this newsgroup wouldn't
feel maligned if somebody told them that's what happened to them. I'd
put money that most pythonistas here would think 'Hey Great for you!
good luck, and make these machines ever more useful and/or enjoyable
for the rest of the
Sorry but I take exception on this subject.
I still think Fredrik's Intro to Tkinter is still more usable ...
Grayson's book uses PMW extensively, and a lot is about specific
widgets of that library.
This actually brings us back to the jest of F. previous post, that
documentation is question of mu
...
list2=list1[:]
...
Yes, naturally, where was my head ?-))
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> i m trying to reverse the order in which the
> strings are stored in list
>
> then pop it into another list
>
> what m i doin worng??
>
> here's the code:
>
> list1 = []
> list2 = []
> list1.extend('123456789')
>
> print list1
>
> for a in list1:
> list2 = list1.pop(
Ashok wrote:
> hi,
> i want to know how to make a specific type of file open in an
> application i developed in python when the user clicks on the file.(in
> windows) for eg. a .txt file when clicked opens in notepad, a .doc file
> when clicked opens in MS-word. In the same way i want to make a .x
Geirr wrote:
> Hi, ive just started playing around with python and wondered if someone
> could poing me in the right way here.
>
>
> I have a xmlrpc server simple script:
>
> Server script:
> import SimpleXMLRPCServer
> class tpo:
>
> def retTPOXML():
> theFile=open('tpo.xml')
Simon Percivall wrote:
> You're calling the grid() method on the Entry object you're
> instanciating. Are you sure that the grid() method returns the Entry
> object so that you're actually binding it to self.myAddress?
The widget maker should do it in two steps instead of one.
So instead of:
sel
Ouppsss!
the title should have read:Set operation for tuples...
(sigh!)
--
http://mail.python.org/mailman/listinfo/python-list
Working with several thousand tagged items on a Tkinter Canvas, I want
to change different configurations of objects having a certain group of
tags.
I've used the sets module, on the tuple returned by Tkinter.Canvas.
find_withtag() method.
Since this method takes only one tag at time, I use it fo
CONTEXT:
Trying to modularize (is this english?) application development : MVC
style, team distributed so that a visual component can be in one module
imported and used by the __main__, and connected (read packed) at
runtime to other components coming from the main or other modules.
PROBLEM:
Afte
Hello
Having cx_Oracle (an Oracle database connector for Python) used it
here where I teach for the last couple of years, and finding it so
easy to use (and install) I was taken aback when I got an error
message telling me it could not load the DLL (complete message below)
Third, I've read (on ac
83 matches
Mail list logo