a file and play it
afterwards. Preferably it should be something from PYPI. Any suggestions?
Thanks in advance.
Kind regards
Michael B. Arp Sørensen
Programmer / BOFH
"If you want to enter my network while I'm out, you can find my SSH-key
under my mouse mat" - Mich
t, you can find my SSH-key
under my mouse mat" - Michael Bernhard Arp Sørensen
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
good
linux distro contains all the great modes for Emacs and the newest version
of Emacs and Python.
Thank you all very much.
Med venlig hilsen/Kind regards
Michael B. Arp Sørensen
Programmer / BOFH
"If you want to enter my network while I'm out, you can find my SSH-key
under my mouse m
k while I'm out, you can find my SSH-key
under my mouse mat" - Michael Bernhard Arp Sørensen
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Geeting, my masters.
How do I kill/shutdown a socket server running in its own thread either from
handle() or from outside of the tread? Any thing will do.
It's python version 2.5.2, so the newer shutdown method in version 2.6 does
not work here.
Thanks in advance.
--
Med venlig hilsen/Kind re
I do that from time to time.
Thanks anyway. I got what I needed. :-)
/Michael
On Fri, Jan 9, 2009 at 3:14 PM, Kent Johnson wrote:
> On Fri, Jan 9, 2009 at 7:36 AM, Michael Bernhard Arp Sørensen
> wrote:
>
> > I can't use a graphical debugger because i mostly code python ove
Kent Johnson wrote:
> On Fri, Jan 9, 2009 at 3:27 AM, Michael Bernhard Arp Sørensen
> wrote:
> > Hi there.
> >
> > I've just started using the python debugger and I wonder how I could have
> > lived without it earlier.
> >
> > I just wonder if t
Hi there.
I've just started using the python debugger and I wonder how I could have
lived without it earlier.
I just wonder if there is a smarter way to show what all the variables
contain in any given point in the debugger. I'm using this approach:
import sys
f = sys._getframe()
p f.f_locals.it
Hi there.
Does any of you know if it's possible to run python on newer Sony Ericsson
phones? I'm thinking of buying the C905 phone. Its a knock out if I can't
run python on that phone.
My older Nokia N73 can run python 2.2 as far as I know.
Med venlig hilsen/Kind regards
Michael B. Arp Sørensen
Hi there.
I'm trying to find some info about starting a program from python. I just
want to start it and move on. The program will not end until reboot.
Any clues?
Med venlig hilsen/Kind regards
Michael B. Arp Sørensen
Programmør / BOFH
"Ride out and meet them."
___
t;Ride out and meet them."
On Thu, Aug 28, 2008 at 1:06 PM, Michael Bernhard Arp Sørensen <
[EMAIL PROTECTED]> wrote:
> Hi there.
>
> I'm trying to find some info about starting a program from python. I just
> want to start it and move on. The program will not end unt
Hi there.
I've been reading in books and homepages about threads. Apparently,
"threading" is better than "thread", right?
I've been trying to write a simple proof of concept code using "treading"
inside a class. It was easely done with "thread", but it was a lot harder
with "threading". I want to
Greetings Masters.
I was wondering if there's a well know word for python programmers, that is
usable as a domain name. Unfortunately, "pug.dk", as in "python user group,
Denmark", is unavailable here in Denmark.
I hope to acquire a national domain name and let future local user groups
choose the
Greetings Masters.
I was wondering if there's a well know word for python programmers, that is
usable as a domain name. Unfortunately, "pug.dk", as in "python user group,
Denmark", is unavailable here in Denmark.
I hope to acquire a national domain name and let future local user groups
choose the
Hi.
On Jan 2, 2008 6:36 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
> Can you modify the program *without modifying the classes* to use an
> ordinary function as the callback? Say this goodbye function:
>
> def goodbye():
> print "goodbye world"
>
> This should not require more than 5 lines of
Hi again.
On Jan 2, 2008 2:25 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
> > I did some research, reading and test last night and I finally got
> > it
> > working.
>
> Sorry, but you didn't! However you are very nearly there...
>
Darn. :-(
I've read what to wrote about the *parentheses*. I see w
Greetings, my master.
I think you need to strip back and simplify, it looks like
> you may have been reading too many different resources
> and incorporated some ideas without really understanding
> what they do and why.
I'm humbled by your insight. This is absolutely true.
I did some research,
Greetings, my masters.
This is somewhat difficult to transfer to my program with 2 classes/objects.
All examples I've seen is not for more than one instance of a single object.
I use more than one class in my program.
I have a game class and a menu class. When the user chooses "quit" in the
menu,
vor
On Dec 29, 2007 6:39 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
> "Michael Bernhard Arp Sørensen" <[EMAIL PROTECTED]>
> wrote
>
> > I want to learn about callbacks because we use it at work in our
> > software.
>
> Can you be more specific
Hi there.
I want to learn about callbacks because we use it at work in our software.
I there a short "hello world"-like version of a callback example?
--
Med venlig hilsen/Kind regards
Michael B. Arp Sørensen
Programmør / BOFH
I am /root and if you see me laughing you better have a backup.
___
Hi there.
I need to instantiate objects on the fly and put the in a list/dict for
later use. I was thinking of this:
objectlist = []
newobjectname = "object1"
classname = "class1" + "()"
objectlist.append(newobjectname = eval(classname) )
objectlist[0].method("hello world")
Can this be done? If
21 matches
Mail list logo