Re: [Tutor] Why does loop duplicate?

2015-12-17 Thread Alan Gauld
On 16/12/15 19:37, Ken Hammer wrote: >... IDLE and Shell are Python 2.5.4 running on Windows 8.1. How exactly are you running this? Have you typed the code into a separate file using IDLE and then run it via the Run menu? Or are you importing the module at the >>> prompt? Or are you typing it in

[Tutor] Need to call a custom/magic method on calling of every Class methods

2015-12-17 Thread Sunil Tech
Hi Tutor, I am searching for any magic method/or any method that calls on every calling of the Class methods. for example: Class A(object): def one(self): return def two(self): return I need a method that prints which method is called in this class. I am aware of __call

Re: [Tutor] Need to call a custom/magic method on calling of every Class methods

2015-12-17 Thread Steven D'Aprano
On Thu, Dec 17, 2015 at 05:18:26PM +0530, Sunil Tech wrote: > Hi Tutor, > > I am searching for any magic method/or any method that calls on every > calling of the Class methods. [...] > Is there any magic method that is auto called on every call of these Class > Methods? No, not really, but you c

Re: [Tutor] Need to call a custom/magic method on calling of every Class methods

2015-12-17 Thread Sunil Tech
Oh! Thank you so much Steven for the reply. On Thu, Dec 17, 2015 at 7:03 PM, Steven D'Aprano wrote: > On Thu, Dec 17, 2015 at 05:18:26PM +0530, Sunil Tech wrote: > > Hi Tutor, > > > > I am searching for any magic method/or any method that calls on every > > calling of the Class methods. > [...]

[Tutor] Fwd: Kivy Install

2015-12-17 Thread peter mcfarlane
Hi, I don't know if this is the correct forum, I am new to Python and trying to install Kivy. I keep getting the following error message. Can you help? thanks, pete pip install --user Kivy Collecting Kivy Using cached Kivy-1.9.0.tar.gz Requirement already satisfied (use --upgrade to

Re: [Tutor] Fwd: Kivy Install

2015-12-17 Thread wolfrage8...@gmail.com
This is a general Python mailing list. For Kivy please reference: https://groups.google.com/forum/#!forum/kivy-users or find the developers on freenode IRC in #kivy This is the official Kivy repository here: https://github.com/kivy/kivy The official Kivy site is here: http://kivy.org/ But you are

Re: [Tutor] Fwd: Kivy Install

2015-12-17 Thread Alan Gauld
On 17/12/15 18:06, peter mcfarlane wrote: > Hi, > I don't know if this is the correct forum, Not really, this is for folks learning the python language and its standard library. kivy is a bit outside that remit. But pip isn't so... > ...I am new to Python and > trying to install Kivy. I ke