Friday, 30 January 2015
Monday, 26 January 2015
python 3.4.2 part 7 installing pip tutorial
https://pip.pypa.io/en/latest/installing.html
----->
https://bootstrap.pypa.io/get-pip.py
now open downloaded get-pip.py
now it will start installing
then goto
Control Panel\System and Security\System---->advanced system setting-->
environment variable-->
----->
https://bootstrap.pypa.io/get-pip.py
now open downloaded get-pip.py
now it will start installing
then goto
Control Panel\System and Security\System---->advanced system setting-->
environment variable-->
now open command prompt
Sunday, 25 January 2015
Python 3.4.2 Part 5 Using input tutorial
>>> x=input("Enter a string")
Enter a string ayman
>>> x
' ayman'
>>> y=input("Enter your name: ")
Enter your name: Ayman
>>> x
' ayman'
>>> y
'Ayman'
>>> x=input("Enter a string")
Enter a string5
>>> x
'5'
>>> y=int(input("Enter a number"))
Enter a number8
>>> y
8
>>> y+int(x)
13
Enter a string ayman
>>> x
' ayman'
>>> y=input("Enter your name: ")
Enter your name: Ayman
>>> x
' ayman'
>>> y
'Ayman'
>>> x=input("Enter a string")
Enter a string5
>>> x
'5'
>>> y=int(input("Enter a number"))
Enter a number8
>>> y
8
>>> y+int(x)
13
Now why we got an error in y+x??
please comment the reason
please comment the reason
Python 3.4.2 part1 installation tutorial
1.Goto this https://www.python.org/downloads/ site and download python 3.4.2 or for windows click this
https://www.python.org/ftp/python/3.4.2/python-3.4.2.msi
2.Install it
https://www.python.org/ftp/python/3.4.2/python-3.4.2.msi
2.Install it
Subscribe to:
Posts (Atom)