Hi,
I was wondering if someone knowledgeable of both Tcl and Python could
suggest whether it would be a good or a bad idea to write a Python/Tk
application, with the motive to rewrite the application in Tcl/Tk once
completed. My reason for considering this route is that I have never
written a sing
is there an online exam or coarse i can take to get a certificate in python.
preferrably cheap and online because i live in pakistan and online exams are my only hope.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Here's some more detail about how I've got things set up. I left a
bunch of things out of my original email; sorry about that, I was
rushed for time. I don't have access to the verbatim code right now,
but here's the gist. I've subclassed threading.Thread like this:
class ServerThread(threading.Th
Hai, I (Suranga) started using Python2.4 Downloaded from the
Original WebSite www.python.org a week ago
but still I have not made any good progress on Programming and all that
Tutorials available make it like hell to get started at all! whatever please
tell me on [EMAIL PROTECTED] how to
ge
Hi all. I'm looking at Python for the first time, and using it for an
app I'm writing to try it out. I normally use c or perl.
I have a class that has half a dozen or so data fields. It needs to be
able to save its data to a text file, in a format that's easy to edit
with other tools (vi, perl, et
Suranga Sarukkali said unto the world upon 16/07/2005 00:18:
> Hai, I (Suranga) started using Python2.4 Downloaded from the
> Original WebSite www.python.org a week ago but still I have not
> made any good progress on Programming and all that Tutorials
> available make it like hell to get started a
On 7/15/05, Suranga Sarukkali <[EMAIL PROTECTED]> wrote:
>
> Hai, I (Suranga) started using Python2.4 Downloaded from the Original
> WebSite www.python.org a week ago but still I have not made any good
> progress on Programming and all that Tutorials available make it like hell
> to get started a
hello everybody,
I am trying to learn to use Python. Currently, I am
reading Michael Dawson's "Python Programming for the
Absolute Beginner." Right now, I am having the
following problem: I try to read all the pickles in a
file, but keep on getting the same error: EOFError.
This is what the code
On Sat, 16 Jul 2005, David Jimenez wrote:
> [EOFError on pickle]
First, something that may not be a problem, but let's get it out of the
way, anyway:
> pickle_file=open("pickles1.dat","w")
>. . .
> pickle_file=open("pickles1.dat","rb")
I notice that your write open does not specify binary
Darryl Luff wrote:
> [...] I created get/set methods for each field to avoid
> problems if I mis-type the dictionary keys.
An automated way to do that:
class M(type):
def create_properties(cls, obj, *prop_names, **prop_names_values):
for pname in prop_names:
setattr(cls,
This sidesteps the issue of how to fix your threading code.
SocketServer has a ThreadingMixIn class. You can create a threading
HTTPServer without coding the threading yourself.
(watch for typos - this is NOT from working code)
class ThreadingHTTPD(SocketServer.ThreadingMixIn, BaseHTTPServer.HTT
> I was wondering if someone knowledgeable of both Tcl and Python
> could
> suggest whether it would be a good or a bad idea to write a
> Python/Tk
> application, with the motive to rewrite the application in Tcl/Tk
Oooh that's a tough one, it would depend on the program.
Python is a very differ
Hello,
> Downloaded from the Original WebSite
Did you get it installed OK? I'll assume you use Windows,
if another OS let us know which. Is there a Python menu
in your Start->Programs menu?
If you select Python GUI dows a window open called
Python Shell or similar? It should contain a prompt lik
> I have a class that has half a dozen or so data fields. It needs to
> be
> able to save its data to a text file, in a format that's easy to
> edit
> with other tools (vi, perl, etc). And needs to be able to load
> itself
> back from disk.
Take a look at the OOP topic in my tutor. It includes
i want to create a simple page which has a form
and takes in persons date of birth and give out exact age.
how do i add python codeto an html page.
i don't have any dreamweaver or frontpage.
this is basically cuz some freinds advised me to create this isnce i am learning programming python..
so ple
class OOO (object):
def __init__ (i, **a): i.__dict__ = a
def __repr__ (i):
a = i.__dict__
return "%s (%s)" % (type (i).__name__, ", ".join (
"%s=%r" % (o, a [o]) for o in sorted (a.iterkeys ())
))
class OO (object):
def __init__ (i, *o, **a):
16 matches
Mail list logo