Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Tuesday, 15 July 2014

Python - 1


What s dictionary ? 

  • It associates keys to values. 
  • Each key must have a value.
  •  Dictionary is mutable 

  • Each key seperated by (:)
  • The values of a dictionary can be of any type, but the keys must be of an immutable data type such as strings, numbers, or tuples

  • We can update , add, delete 




dict() -> new empty dictionary













Tuesday, 29 April 2014

Python Programming Eclipse - PyDev plug-in for Eclipse

Go to Help → Install New Software

  1. Enter http://pydev.org/updates in the Work with:  field.
  2. After several seconds, two options should appear. Select the PyDev for Eclipse option. Do not select the "PyDev Mylyn Integration" flag




     When the installation is complete, you will be asked if you want to restart Eclipse. Select "Yes". You may see a Subclipse Usage  dialog, just uncheck the box and continue.





     Click "New..." and type Python32 for the Interpreter name. For the Interpreter executable, browse to your copy of Python (C:\Program Files\Python32\python.exe), and press Open.







    1. Go to File → New → PyDev Project to start a wizard.







      you should now see your newly created project with a "src" folder inside.