Skip to content

Commit 37bba7d

Browse files
committed
added/renamed files and added a README
1 parent ac1d897 commit 37bba7d

22 files changed

Lines changed: 54 additions & 36 deletions

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>python-examples</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.python.pydev.PyDevBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
21+
<nature>org.python.pydev.pythonNature</nature>
22+
</natures>
23+
</projectDescription>

.pydevproject

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<?eclipse-pydev version="1.0"?>
3+
4+
<pydev_project>
5+
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
6+
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
7+
</pydev_project>

README

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,13 @@ I am listing the order in which you may want to read these examples. The order b
1111
- using_modules.py
1212
- string_interpolation.py
1313
- python_lists.py
14-
- python_dictionary.py
14+
- python_dictionary.py
15+
- python_tupes.py
16+
- python_sequences,py
17+
- python_functions.py
18+
- python_logical_lines.py
19+
- python_string_interpolation.py
20+
- python_modules.py
21+
- python_os_module.py
22+
- python_star_args_and_kwargs.py
23+
- python_objects.py

basic_examples/extra_stuff.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : extra_stuff
32

43
import os
54

basic_examples/python_control.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : python_control.py
32

43
age = int(raw_input('Enter your age '))
54
#If else statements in Python

basic_examples/python_conversions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : python_conversions
32

43
#num is of type int
54
num = 8

basic_examples/python_dictionary.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : python_dictionary.py
32

43
#A Python dictionary is a collection which contains key value pairs, where the
54
#key must be an immutable object
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : custom_exceptions.py
32

43
class MyMethodNotImplementedError(Exception):
54
def __init__(self):

basic_examples/python_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python
2-
# Filename : python_files.py
2+
33
import os
44

55
def read_file(name):
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/python
2-
# Filename : python_functions.py
32

43
maxCalled = 0
54
minCalled = 0

0 commit comments

Comments
 (0)