Is there a way by which we can highlight a block in the python ?
i have a huge code and i want to see a block of ``if`` code. How do i
achieve this in VIM or any other editor.
Note: In perl if i put my cursor on one "{" it will hightlight the other
closed "}".
Do we have any such facility in pyt
Can i mask the parent attibutes in the child. let me give a quick example.
In [1]: class a:
...: value1 = 1
...: value2 = 2
...:
In [2]: class b(a):
...: value3 = 3
...:
In [3]: obj1 = b()
In [4]: obj1.value1
Out[4]: 1
In [5]: obj1.value2
Out[5]: 2
In [6]: obj1.valu
1 #!/usr/bin/python
2
3 class shape:
4 def __init__(self,x,y):
5 self.x = x
6 self.y = y
7 description = "This shape has not been described yet"
8 author = "Nobody has claimed to make this shape yet"
9
10 def __init__(self,x,y,z):
11 self.x = x
12 self.y
Hi, I can't speak about python as I am now discovering it my self but I
do understand a bit about functions. So let me try to explain as a
newbie to newbie. The examples below are not valid python code but they
do display the logic.
Lets say you want two temperatures in Fahrenheit but you have
see more on there they explained everything in there this website :
http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/index.html
On Monday, 7 April 2014, 19:34, Danny Yoo wrote:
On Sun, Apr 6, 2014 at 9:02 PM, keith papa wrote:
> Hi my name is keith and am new to python programming, Am l
On Sun, Apr 6, 2014 at 9:02 PM, keith papa wrote:
> Hi my name is keith and am new to python programming, Am learning python for
> the first time with the help of coursera problem is am starting a new topic
> call functions in python and am totally lost. can you please help me
> understand how fun
On 07/04/14 05:02, keith papa wrote:
Hi my name is keith and am new to python programming, Am learning python
for the first time with the help of coursera problem is am starting a
new topic call functions in python and am totally lost. can you please
help me understand how function work? why it u
Hi my name is keith and am new to python programming, Am learning python for
the first time with the help of coursera problem is am starting a new topic
call functions in python and am totally lost. can you please help me understand
how function work? why it use in python, what are the rules