http://www.pythonchallenge.com/ is a great way to learn Python.
Danny
On Jan 16, 2008 4:58 PM, Fiyawerx [EMAIL PROTECTED] wrote:
I've been over google for hours now, and I'm sort of at a lull in my
learning, as I don't really have a current goal. I know I could set some
easy goal like to
snip
class Task(object):
def __init__(self, cargo, children=[]):
self.cargo = cargo
self.children = children
def __str__(self):
s = '\t'.join(self.cargo)
return s
def add_child(self,child):
self.children = self.children + [child]
This is an excellent start.
self.children =
Ole Jensen wrote:
Hi
I made a small python program at home and tried to send by email
attachments to my studymates.
The attachment however shows up as a strange text
the first lines look like this:
M1F]R_AG(#(@+2 R(=E;F5R871OF5R([EMAIL PROTECTED]R#0H@5!I[EMAIL
PROTECTED])4!O
Hi
I made a small python program at home and tried to send by email attachments
to my studymates.
The attachment however shows up as a strange text
the first lines look like this:
M1F]R_AG(#(@+2 R(=E;F5R871OF5R([EMAIL PROTECTED]R#0H@5!I[EMAIL
PROTECTED])4!O
On Fri, 18 Jan 2008, Alexander wrote:
I'm trying to write a small todo list/task manager...
Hi, Alexander. Not to derail your actual question, but have you looked at
Task Coach? It's a small todo list/task manager, written in Python using
wxPython.
It does much, perhaps all, of what you're
Hello All,
I have an interview in python program development. Can i know some
interview questions in python ? If you know any website where i can refer
that would be helpful.
thanks,
--
Varsha Purohit,
Graduate Student
___
Tutor maillist -
Hello All,
I have an interview in python program development. Can i know some
interview questions in python ? If you know any website where i can refer
that would be helpful.
thanks,
--
Varsha Purohit,
Graduate Student
___
Tutor maillist -
Many email clients encode attachments in base-64. I think there are standard
modules in python which should be able to decode this.
Hi
I made a small python program at home and tried to send by email
attachments
to my studymates.
The attachment however shows up as a strange text
the
def recursive_print(self, level=0):
print \t*level + self.cargo
for x in self.children:
recursive_print(x,level+1)
Whoops. should be
for x in self.children:
x.recursive_print(level+1)
___
Tutor maillist -
Hi folks,
I've just come across this article on the BBC site:
http://news.bbc.co.uk/2/hi/technology/7189694.stm
You can see some of the games that are either created collaboratively or
designed to be improved collaboratively at:
http://www.myglife.org/usa/Boulder-GameDev/en/play/othergames
I'll second that.
It's quite an interesting mental gymnastics challenge, and will get you
familiar with a lot of the modules. They also have helpful forums for
when you get stuck.
Simón
Danny Navarro wrote:
http://www.pythonchallenge.com/ is a great way to learn Python.
Danny
On Jan
Alexander wrote:
* A list of tasks, where each task has a number of attributes.
Each task should be able to have subtasks.
Sounds like you should keep the Task objects in a list :-)
Possibly just the top-level tasks should be in the list...
* A way to filter/search on the attributes of the
For those of you interested in hacking on the OLPC, IBM is putting up
a tutorial that goes through all the stuff with Qemu etc:
http://www.ibm.com/developerworks/linux/edu/l-dw-linux-xo-python-i.html?S_TACT=105AGX03S_CMP=HP%3Cbr%3E
On 1/16/08, Fiyawerx [EMAIL PROTECTED] wrote:
I've been over
Tiger12506 [EMAIL PROTECTED] wrote
class Task(object):
...
def recursive_print(self, level=0):
print \t*level + self.cargo
for x in self.children:
recursive_print(x,level+1)
x.recursive_print(level+1)
Is what you meant I think :-)
Alan G.
Tiger12506 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
def recursive_print(self, level=0):
print \t*level + self.cargo
for x in self.children:
recursive_print(x,level+1)
Whoops. should be
for x in self.children:
x.recursive_print(level+1)
Ah,
15 matches
Mail list logo