Hi,
Python 2.7.2
wxPython 2.9.1.1
OS X 10.7
I am very new to Python and programming, basically just a curious hobbyist. I
am building a learning app that hopefully will include a wxPython GUI. Right
now I am trying to understand my code better by including print statements.
Now I know that
Is it even possible to replace the implicit self argument of the initializer
by passing something else? If so, what would be the syntax.
If you want to look at the code its all here:
https://www.cgran.org/browser/projects/ucla_zigbee_phy/trunk/src
The cc2420_txtest.py is in ./examples and the c
I strongly recommend Thinking in Python -
http://www.greenteapress.com/thinkpython/thinkpython.html
I recently wrote a blog about my experiences learning -
http://www.curphey.com/2011/07/learn-core-python-in-a-week-my-way/
Sent from my iPhone
On Jul 25, 2011, at 5:27 PM, Bill Allen wrote:
>>
>
> Dear All Pythonist,
>
> I'm strarting learn python programming and I have been found many
> resources on it but I have a problem. I don't know, what is the best
> complete book for new learner like me.
>
> I need your recommendation, thanks before . . .
>
> Ryan,
Here some more good free bo
From: tutor-bounces+ramit.prasad=jpmchase@python.org
[mailto:tutor-bounces+ramit.prasad=jpmchase@python.org] On Behalf Of naheed
arafat
Sent: Monday, July 25, 2011 10:17 AM
To: Steven D'Aprano
Cc: Tutor@python.org
Subject: Re: [Tutor] Copying Variables
I got a question in this context.
s
On 25 July 2011 17:17, naheed arafat wrote:
> I got a question in this context.
> suppose
> a={'a': 3, 'b': [1, 2], 5: 100}
> --b=a -- vs--
> b=copy.copy(a)
>
> b[5]=6
I got a question in this context.
suppose
a={'a': 3, 'b': [1, 2], 5: 100}
--b=a --vs--
b=copy.copy(a)
b[5]=6 b[5]=6
output: --
On 24-07-11 22:59, Alexander Quest wrote:
Hello- I am running Python v 3.1.1. As an exercise, I wrote a simple
coin flipper program, where the computer flips a coin 100 times and
then prints out the number of heads and tails. My program crashes
immediately if I run it normally through the comma
David Merrick wrote:
> def append(self,item):
> '''Adds an item to the end of the List'''
>
> current = self.head
> previous = None
> while current.getNext() != None:
> previous = current
> current = current.getNext()
> if