├── 2018-Pytho full durga sir.pdf
├── Event Management_project.docx
├── Insurance_Management_System-Login and Register.zip
├── Online Event Management System.docx
├── Online Food Delivery.docx
├── Online Insurance Project-Documnetation.docx
├── Online Insurance.pdf
├── Online insurance project.pdf
├── Project Online Food Delivery.docx
├── README.md
├── abstarct_online food delivery.pdf
├── bootstrap.zip
├── css.zip
├── event Management.txt
├── install Django.txt
├── online insurance system.pdf
├── project Bootstrap.zip
├── python rev.txt
├── python revision.txt
├── python.txt
├── steps - Online Food Ordering System.txt
├── steps-online insurase sytem.txt
└── steps.txt
/2018-Pytho full durga sir.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/2018-Pytho full durga sir.pdf
--------------------------------------------------------------------------------
/Event Management_project.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Event Management_project.docx
--------------------------------------------------------------------------------
/Insurance_Management_System-Login and Register.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Insurance_Management_System-Login and Register.zip
--------------------------------------------------------------------------------
/Online Event Management System.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Online Event Management System.docx
--------------------------------------------------------------------------------
/Online Food Delivery.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Online Food Delivery.docx
--------------------------------------------------------------------------------
/Online Insurance Project-Documnetation.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Online Insurance Project-Documnetation.docx
--------------------------------------------------------------------------------
/Online Insurance.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Online Insurance.pdf
--------------------------------------------------------------------------------
/Online insurance project.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Online insurance project.pdf
--------------------------------------------------------------------------------
/Project Online Food Delivery.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/Project Online Food Delivery.docx
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # infosyspython
2 |
--------------------------------------------------------------------------------
/abstarct_online food delivery.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/abstarct_online food delivery.pdf
--------------------------------------------------------------------------------
/bootstrap.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/bootstrap.zip
--------------------------------------------------------------------------------
/css.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/css.zip
--------------------------------------------------------------------------------
/event Management.txt:
--------------------------------------------------------------------------------
1 | pages
2 | -------------
3 | 1)registration /login
4 | 2)admin
5 | 3)gallery page which will display the previous events pics
6 | 4)Event booking page
7 | 5)Display the upcoming events and details
8 | 6)contact us
9 |
10 |
11 | events
12 | ---------
13 | birthday
14 | marriage
15 | conference
16 | new product lunch
17 | Musical event for new year
18 | -------------------------------------------------------
19 | INFOSYS INTERNSHIP – Event Management
20 |
21 | Team-1:
22 |
23 | Aashish, karan, Keerthi, kumar Harsha, Srikar
24 | ----------------------------------------------------------------------------------------------
25 | Team-2:
26 |
27 | Marri durga, Nanda Kishore, Nettem, Priya, Tanishk, Manaswini
28 | ---------------------------------------------------------------------------------------------------
29 | Team-3:
30 |
31 | Renuka, saikat, sanjeevi, Sayantani, Venkata Praveen
32 | ------------------------------------------------------------------------------------------------------
33 | Team-4:
34 |
35 | Sharan, Shree Varun, Shayam Singh, Sreekanth
36 | -----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
/install Django.txt:
--------------------------------------------------------------------------------
1 | step-1
2 | -------------
3 | Install python
4 | https://code.visualstudio.com/docs/setup/windows
5 | -------------------------------------------------------------------------------
6 | create virtual environment
7 |
8 | python -m venv venv
9 | ------------------------------------------------------------------------------------
10 | Then activate that environment
11 |
12 | venv\Scripts\activate
13 | -------------------------------------------------------------------------------------------
14 | Then install Django in that environment
15 |
16 | pip install django
17 | ------------------------------------------------------------------------------------------
18 | Then create django project named mysite
19 |
20 | django-admin startproject mysite
21 | cd mysite
22 | ----------------------------------------------------------------------------------------
23 | to run
24 | (venv) C:\Users\91977\Desktop\infosysdjango\mysite>python manage.py runserver 127.0.0.1:8090
25 | -------------------------------------------------------------------------------------------
26 | mysite
27 | mysite
28 | __init__.py
29 | settings.py
30 | urls.py
31 | wsgi.py
32 | asgi.py
33 | manage.py
34 | -----------------------------------------------------------------------------
35 | on the browser type-->127.0.0.1:8090
36 | -----------------------OR------------------------------------
37 | localhost:8090
38 | -----------------------------17th April 2024-----------------------------------------
39 | to create an application
40 | py manage.py startapp testapp
41 | ----------------------------------------------------------------------
42 | mysite
43 | mysite
44 | __init__.py
45 | settings.py
46 | urls.py
47 | wsgi.py
48 | asgi.py
49 | testapp
50 | migrations(database)
51 | __init__.py
52 | views.py
53 | models.py
54 | admin.py
55 | apps.py
56 | tests.py
57 | manage.py
58 | -----------------------------------------------------------------------------------
59 | Example 1:-
60 | testapp.view.py
61 | ----------------------
62 | from django.http import HttpResponse
63 |
64 | # Create your views here.
65 | def welcome(request):
66 | return HttpResponse('
Welcome to Django Project ')
67 | ------------------------------------------------------------------------------------------------------------------------------
68 | mysite.urls.py
69 | -------------------------------
70 | from testapp import views
71 |
72 | urlpatterns = [
73 | path('admin/', admin.site.urls),
74 | path('welcome/',views.welcome),
75 | ]
76 | ------------------------------------------------------------------------------------------------------------------------------------
77 | mysite.settings.py
78 | -------------------------------------
79 | INSTALLED_APPS = [
80 | 'django.contrib.admin',
81 | 'django.contrib.auth',
82 | 'django.contrib.contenttypes',
83 | 'django.contrib.sessions',
84 | 'django.contrib.messages',
85 | 'django.contrib.staticfiles',
86 | 'testapp'
87 | ]
88 | -------------------------------------------------------------------------------------------------------------------------------------
89 | Example-2
90 | --------------------------
91 | from django.http import HttpResponse
92 | import datetime
93 |
94 | # Create your views here.
95 | def welcome(request):
96 | date=datetime.datetime.now()
97 | s='The current date and time is :'+str(date)+' '
98 | return HttpResponse(s)
99 | --------------------------------------------------------------------------------------------------------------------------------
100 | multiple functions
101 | -------------------------------
102 | Example-3
103 | --------------------------
104 | to create an application
105 | py manage.py startapp testapp
106 | ----------------------------------------------------------
107 | testapp.view.py
108 | ----------------------------------------------------------
109 | from django.shortcuts import render
110 | from django.http import HttpResponse
111 | import datetime
112 |
113 | # Create your views here.
114 | def welcome(request):
115 | return HttpResponse('Welcome to Django Project ')
116 |
117 |
118 | def date_display(request):
119 | date=datetime.datetime.now()
120 | s='The current date and time is :'+str(date)+' '
121 | return HttpResponse(s)
122 |
123 | -------------------------------------------------------------------------------------------------
124 | mysite.urls.py
125 | -----------------------------------------
126 | from testapp import views
127 |
128 | urlpatterns = [
129 | path('admin/', admin.site.urls),
130 | path('welcome/',views.welcome),
131 | path('date/',views.date_display),
132 |
133 | ]
134 | -----------------------------------------------------------------------------------
135 | mysite.settings.py
136 | -------------------------------------
137 | INSTALLED_APPS = [
138 | 'django.contrib.admin',
139 | 'django.contrib.auth',
140 | 'django.contrib.contenttypes',
141 | 'django.contrib.sessions',
142 | 'django.contrib.messages',
143 | 'django.contrib.staticfiles',
144 | 'testapp'
145 | ]
146 | ---------------------------------------------------------------------------------------------
147 | Example-4
148 | --------------------------
149 | to create an application
150 | py manage.py startapp testapp
151 | py manage.py startapp timeapp
152 | py manage.py startapp greetingapp
153 |
154 | 3 application created
155 | ---------------------------------------------------
156 | mysite.settings.py
157 | -------------------------------------
158 | INSTALLED_APPS = [
159 | 'django.contrib.admin',
160 | 'django.contrib.auth',
161 | 'django.contrib.contenttypes',
162 | 'django.contrib.sessions',
163 | 'django.contrib.messages',
164 | 'django.contrib.staticfiles',
165 | 'testapp',
166 | 'greetingapp',
167 | 'timeapp'
168 | ]
169 | ---------------------------------------------------------------------------------------
170 | mysite.urls.py
171 | --------------------------------------------------------------------------------------------
172 | from greetingapp.views import greetings_view <----function name
173 | from timeapp.views import time_info
174 |
175 | urlpatterns = [
176 | path('admin/', admin.site.urls),
177 | path('welcome/',welcome),
178 | path('greeting/',greetings_view),<------function name
179 | path('time/',time_info),
180 | ]
181 | ---------------------------------------------OR-----------------------------------------------
182 | ---------------------------------------------------------------------------------------
183 | mysite.urls.py
184 | --------------------------------------------------------------------------------------------
185 | from greetingapp import views as v1
186 | from timeapp import views as v2
187 |
188 | urlpatterns = [
189 | path('admin/', admin.site.urls),
190 | path('welcome/',welcome),
191 | path('greeting/',v1.greetings_view),
192 | path('time/',v2.time_info),
193 | ]
194 | -----------------------------------------------------------------------------------------------------------
195 | example-5
196 | ------------------------
197 | 1)create folder templates inside your application (testapp)
198 | 2)create a html file inside it.(index.html)
199 | ------------
200 |
201 | Welcome to Django
202 |
209 |
210 | -------------------------------------------------------------------
211 | views.py
212 | -----------------
213 | def index(request):
214 | return render(request,'index.html')
215 | ------------------------------------------------------------------
216 | urls.py
217 | --------------
218 | from testapp import views
219 |
220 | urlpatterns = [
221 | path('admin/', admin.site.urls),
222 | path('first/',views.welcome),
223 | path('second/',views.geetings),
224 | path('index/',views.index),
225 | ]
226 | -------------------------------------------22nd April 2024-----------------------------------
227 | python -m venv venv
228 | venv\Scripts\activate
229 | pip install django
230 | django-admin startproject mysite
231 | cd mysite
232 | py manage.py startapp testapp
233 | python manage.py runserver 127.0.0.1:8090
234 | ---------------------------------------------------------------------------------------
235 | example-6
236 | -----------------------
237 | models.py
238 | ------------------------
239 | How to create a model
240 | ----------------------------------
241 | from django.db import models
242 |
243 |
244 | class Employees(models.Model):
245 | first_name = models.CharField(max_length=30)
246 | last_name = models.CharField(max_length=30)
247 | Dept_name = models.CharField(max_length=20)
248 | joining_date = models.DateField()
249 | salary = models.IntegerField()
250 | ---------------------------------------------------------------------------------------------------
251 | Now, this Employees model will automatically create a table equivalent to this.
252 |
253 | CREATE TABLE "testapp_employees" (
254 | "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
255 | "first_name" varchar(30) NOT NULL,
256 | "last_name" varchar(30) NOT NULL,
257 | "Dept_name" varchar(20) NOT NULL,
258 | "joining_date" date NOT NULL,
259 | "salary" integer NOT NULL
260 | );
261 | COMMIT;
262 | -------------------------------------------------------------------------------------------------------------------------------
263 | In the example, we are creating a model in the “myApp” application. So, Django will automatically generate a table name “myApp_employees” by using model metadata.
264 |
265 | Additionally, an id field will also be added to the table. This id is a NOT NULL, AUTOINCREMENT, PRIMARY KEY field.
266 | -----------------------------------------------------------------------------------------------
267 | Make Migration in Django
268 | After successfully creating a model class.
269 |
270 | First, we need to tell the Django server that we want to use a model. For this, first, we need to use the settings.py file of the Django project ‘myProject’. So, open the settings.py file and give the name of your app having a model in the INSTALLED_APPS section.
271 |
272 | INSTALLED_APPS = [
273 | 'django.contrib.admin',
274 | 'django.contrib.auth',
275 | 'django.contrib.contenttypes',
276 | 'django.contrib.sessions',
277 | 'django.contrib.messages',
278 | 'django.contrib.staticfiles',
279 | 'testapp',
280 | ]
281 |
282 | --------------------------------------------------------------------------------------
283 | Next, we need to run the migrations so the table can be created. Django uses migrations to propagate changes to your models (adding a field, deleting a model, etc.) to your database schema.
284 |
285 | First, run the makemigrations command
286 |
287 | python manage.py makemigrations
288 | ---------------------------------------------------------------------------------------------------
289 | This command helps to create migrations based on the changes detected in our models. After this, we need to run a migrate command
290 |
291 | python manage.py migrate
292 | ---------------------------------------------------------------------------------------------------------------------
293 | Django uses the model class to represent database tables and objects as a record in the table.
294 |
295 | we will be using a Python shell, and to open the shell, we have run the following command in our project directory.
296 |
297 | python manage.py shell
298 | ---------------------------------------------------------------------------
299 | we can import the “Employees” model from our testapp application.
300 |
301 | from testapp.models import Employees
302 | -------------------------------------------------------------------
303 | Now to create an object, we have to pass the values of the fields as an argument to the model class. A simple example of the Employees model is given below.
304 |
305 | emp = Employees(first_name='Madhu', last_name='kumar', Dept_name='Technical', joining_date='2020-08-23', salary=25000)
306 |
307 | In the example, we have created an object named “emp” and it is used to store 5 fields in the Employees table. Next, to store this record in the table, we have to use the save() method. In Django, the save() method is used to implement the SQL insert. Here is how we should use the save() method.
308 |
309 | emp.save()
310 | ----------------------------------------------------------------------------------------
311 | How to use the model in view of Django
312 | In this section, we will learn how to access and use the model in view of a Django application.
313 |
314 | Now, as discussed in the previous section, the first step is to import the required model into the view. For this, simply use the import statement. By importing the model, we can easily access the model in the view.
315 |
316 | from app.models import ModelName
317 | Now the usability of the model in a view totally depends upon the requirement. If we want to insert records in the table then, we have to create an object and insert it using the save() method.
318 |
319 | Another requirement can be accessing the model data and then using it for some operation. For this implementation, consider the following code.
320 |
321 | ModelName.objects.all()
322 | Employeesemp.save()
323 | -------------------------------------------------------------------
324 | Let’s take an example where we will create a view named ‘index’ and this view retrieves all the employees from the database as objects.
325 |
326 | To create a view open the views.py file of your Django app ‘myApp’. Then the below code will fetch all the records in the model and can easily iterate through this to get records.
327 |
328 | from django.http import HttpResponse
329 | from testapp.models import Employees
330 |
331 |
332 | def index(request):
333 | emp_list = Employees.objects.all().count()
334 | return HttpResponse(emp_list)
335 |
336 | -------------------------------------------------------------------------------------------------------
337 | we simply created an index view that will return the total count of the records available in the Employees model.
338 | -----------------------
339 | urls.py
340 | ------------------
341 | from testapp import views
342 |
343 | urlpatterns = [
344 | path('admin/', admin.site.urls),
345 | path('data/',views.index),
346 | ]
347 | ---------------------------------------------------------------------------------------
348 | create your css files in static folder
349 |
350 | for external css
351 | --------------------------------------------------------------------
352 | example-7
353 | -------------------
354 |
395 |
396 |
397 |
398 |
399 | -----------------------------------------------------
400 | success.html
401 | ------------------------
402 |
403 |
404 |
405 | Form Submission Successful
406 |
407 |
412 |
413 | Form Submitted Successfully
414 | Thank you for submitting the form. Your information has been received.
415 |
416 |
417 |
418 | --------------------------------------------------------------------------------
419 | urls.py
420 | --------------
421 | from django.contrib import admin
422 | from django.urls import path
423 | from testapp import views
424 | from testapp.views import submit_form
425 |
426 |
427 |
428 | urlpatterns = [
429 | path('admin/', admin.site.urls),
430 | path('submit/', submit_form, name='submit_form'),
431 | path('submit/success.html/',views.success),
432 | path('data/',views.index),
433 |
434 | ]
435 | ---------------------------------------------------------------------
436 | models.py
437 | ------------------
438 | from django.db import models
439 |
440 | # Create your models here.
441 | class UserInfo1(models.Model):
442 | name=models.CharField(max_length=200)
443 | age=models.IntegerField()
444 | mail=models.EmailField()
445 | address=models.CharField(max_length=200)
446 | phoneno=models.IntegerField()
447 | ----------------------------------------------------------------------------------------
448 | views.py
449 | -------------------
450 | from django.shortcuts import render,redirect
451 | from django.http import HttpResponse
452 | from .forms import UserInfoForm1
453 | from django.urls import reverse
454 | from testapp.models import UserInfo1
455 |
456 | # views.py
457 |
458 | def success(request):
459 | return render(request,'success.html')
460 |
461 |
462 | def submit_form(request):
463 | if request.method == 'POST':
464 | form = UserInfoForm1(request.POST)
465 | if form.is_valid():
466 | form.save()
467 | return redirect('success.html')
468 | # Redirect to a success page
469 | else:
470 | form = UserInfoForm1()
471 | return render(request, 'register.html', {'form': form})
472 |
473 |
474 |
475 | def index(request):
476 | emp_list = UserInfo1.objects.all().count()
477 | return HttpResponse(emp_list)
478 | ------------------------------------------------------------------------------------------------------------------------
479 | forms.py
480 | -------------------------
481 | from django import forms
482 | from .models import UserInfo1
483 |
484 | class UserInfoForm1(forms.ModelForm):
485 | class Meta:
486 | model = UserInfo1
487 | fields = ['name', 'age','mail', 'address','phoneno']
488 | ----------------------------------------------------------------------------------------
489 | example-8
490 | -------------------
491 | index.html
492 | --------------------
493 |
494 |
495 |
496 | Bootstrap Example
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
Employee Registration Form
506 |
532 | -----------------------------------------------------------------------------------
--------------------------------------------------------------------------------
/online insurance system.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/online insurance system.pdf
--------------------------------------------------------------------------------
/project Bootstrap.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sandipmohapatra/infosyspython/88b002ec590ee06a84e13e712ef044b207f00054/project Bootstrap.zip
--------------------------------------------------------------------------------
/python rev.txt:
--------------------------------------------------------------------------------
1 | Data types
2 | ------------------
3 | 1)int
4 | 2)float
5 | 3)complex
6 | 4)bool
7 | 5)str
8 | 6)byte
9 | 7)bytearray
10 | 8)range
11 | 9)list
12 | 10)tuple
13 | 11)set
14 | 12)frozenset
15 | 13)dict
16 | 14)None
17 | -----------------------------------------------------------
18 | class and objects
19 | function
20 | database connectivity(oracle,mysql,sqlite)
21 | logger(info,debug,error,warning,critical)
22 | -------------------------------------------------------------------
23 | list :-
24 | list1 = [1, 2, "Python", "Program", 15.9,10,10.32]
25 | list2 = ["Amy", "Ryan", "Henry", "Emma"]
26 |
27 | print(list1)
28 | print(list2)
29 |
30 | print(type(list1))
31 | print(type(list2))
32 | -------------------------------------------------list-----------------------------
33 | 1)insertion order is preserved
34 | 2)heterogeneous objects are allowed
35 | 3)duplicate are allowed
36 | 4)growable in natuire
37 | 5)values are enclosed in square brackets
38 | 6)mutable (can be changed)
39 | ------------------------------------------------------------------------------------------
40 | tuple:-
41 | --------------
42 | t=(10,20,30,40,50)
43 | type(t)
44 | -----------------------tuple--------------------------
45 | 1)immutable (cannot be changed)
46 | 2)insertion order is preserved
47 | 3)heterogeneous objects are allowed
48 | 4)growable in natuire
49 | 5)values are enclosed in cicular brackets
50 | ------------------------------------------------------------------
51 | set:-
52 | --------------
53 | Days = set(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
54 | print(Days)
55 | print(type(Days))
56 | print("looping through the set elements ... ")
57 | for i in Days:
58 | print(i)
59 | ----------------------------------------------------------
60 | 1)mutable (can be changed)
61 | 2)it doesnot allow duplicate data
62 | 3)undered collection of unique object
63 | --------------------------------------------------------------------------------------------
64 | dict
65 | ----------
66 | Employee = {"Name": "Johnny", "Age": 32, "salary":26000,"Company":"TCS"}
67 | print(type(Employee))
68 | print("printing Employee data .... ")
69 | print(Employee)
70 | -----------------------------------------------
71 | 1)mutable (can be changed)
72 | 2)we have key and value pair.where key should not be duplicate value can be duplicate
73 | -----------------------------------------------------------------------------------
74 |
75 |
--------------------------------------------------------------------------------
/python revision.txt:
--------------------------------------------------------------------------------
1 | Data type
2 | -----------------
3 | 1)int
4 | 2)float
5 | 3)str
6 | 4)complex
7 | 5)bool
8 | 6)bytes
9 | 7)bytearray
10 | 8)range
11 | 9)set
12 | 10)list
13 | 11)frozenset
14 | 12)dict
15 | 13)tuple
16 | 14)None
17 | -------------------------------------------------------------------------
18 | list
19 | -----------
20 | list1 = [1, 2, "Python", "Program", 15.9,10,10.32]
21 | list2 = ["Amy", "Ryan", "Henry", "Emma"]
22 |
23 | print(list1)
24 | print(list2)
25 |
26 | print(type(list1))
27 | print(type(list2))
28 | -----------------------------------------------------------
29 | 1)we can enter hetrogeneous data
30 | 2)It will display in the same sequence which we have entered.
31 | 3)it is mutable (can be changed)
32 | ----------------------------------------------------------
33 | tuple
34 | -------------
35 | t=(10,20,30,40,50)
36 | type(t)
37 | ----------------------------------------------------
38 | 1)it is immutable
39 | 2)it is used to enter hetrogeneous data
40 | 3)to represent an ordered collection of objects.
41 | ---------------------------------------------------------------
42 | set
43 | ------------
44 | Days = set(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
45 | print(Days)
46 | print(type(Days))
47 | print("looping through the set elements ... ")
48 | for i in Days:
49 | print(i)
50 | -------------------------------------------------------------
51 | 1)duplicate data is not allowed
52 | 2)The sequence of data is changed
53 | 3)it is mutable
54 | ------------------------------------------------------------------
55 | dict
56 | -----------
57 | Employee = {"Name": "Johnny", "Age": 32, "salary":26000,"Company":"TCS"}
58 | print(type(Employee))
59 | print("printing Employee data .... ")
60 | print(Employee)
61 | -----------------------------------------------------------
62 | 1)It will display the data in key and value pair
63 | duplicate keys are not allowed but values can be duplicate.
64 |
65 | ------------------------------------------------------------
66 |
67 |
--------------------------------------------------------------------------------
/python.txt:
--------------------------------------------------------------------------------
1 | Data types in Python
2 | ---------------------------------
3 | 1)int
4 | 2)float
5 | 3)complex
6 | 4)bool
7 | 5)str
8 | 6)byte
9 | 7)bytearray
10 | 8)range
11 | 9)list
12 | 10)tuple
13 | 11)set
14 | 12)frozenset
15 | 13)dict
16 | 14)None
17 | ------------------------------------------------------------------
18 | list:-
19 | example 1
20 | ------------------
21 | list1 = [1, 2, "Python", "Program", 15.9,10,10.32]
22 | list2 = ["Amy", "Ryan", "Henry", "Emma"]
23 |
24 | print(list1)
25 | print(list2)
26 |
27 | print(type(list1))
28 | print(type(list2))
29 | ---------------------------------------------
30 | 1)it will display in the same order
31 | 2)heterogeneous objects are allowed
32 | 3)diplicate data is allowed
33 | 4)growable in nature
34 | 5)values should be enclosed in a square brackets.
35 | -------------------------------------------------------------------------------------
36 | set:-
37 | --------------
38 | Days = set(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
39 | print(Days)
40 | print(type(Days))
41 | print("looping through the set elements ... ")
42 | for i in Days:
43 | print(i)
44 | -----------------------------------------------------------------------------------
45 | dict :- It contain key and value pair
46 | --------------------------------------------------------
47 | Employee = {"Name": "Johnny", "Age": 32, "salary":26000,"Company":"TCS"}
48 | print(type(Employee))
49 | print("printing Employee data .... ")
50 | print(Employee)
51 | ---------------------------------------------------------------------
52 | tuple:-
53 | t=(10,20,30,40,50)
54 | type(t)
55 |
56 | tuple data type is exactly same as list data type except that it is immutable (we cannot change the value)
57 | ----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
/steps - Online Food Ordering System.txt:
--------------------------------------------------------------------------------
1 | steps to follow
2 | -----------------------------
3 | 1)create a github account.
4 | 2)upload whatever you do in the daily basis.
5 | 3)mail github link to me.
6 | 4)how to run the project steps
7 | 5)software requirements
8 | -------------------------------------------------------
9 | Prepare a word document
10 |
11 | Thinks need to be done
12 | 1)Project explaination or Abstract
13 | 2)UML Diagram (class digram,usecase digram,sequence digram)and DFD
14 | 3)software and hardware Requirement
15 | 4)coding.
16 | 5)how to run the project steps
17 | -------------------------------------------------Online food Delivery----------------------
18 | team-1
19 | Alok,Atmaram,pallavi,Deepthi,Vaishnavi
20 | --------------------------------------------------------------------------
21 | team-2
22 | Dipesh,Lahari,Grishma,Harsh,Vishnu
23 | -------------------------------------------------------------------------------
24 | team-3
25 | Harshavardhan,Jitendra,Nisha,Sahil,vikash
26 | ------------------------------------------------------------------
27 | team-4
28 | Sivanagalakshmi,Sreeja,Thippeswamy,Anitha,tulika,samarth
29 | -------------------------------------------------------------------------------
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/steps-online insurase sytem.txt:
--------------------------------------------------------------------------------
1 | steps to follow
2 | -----------------------------
3 | 1)create a github account.
4 | 2)upload whatever you do in the daily basis.
5 | 3)mail github link to me.
6 | 4)how to run the project steps
7 | 5)software requirements
8 | -------------------------------------------------------
9 | Prepare a word document
10 |
11 | Thinks need to be done
12 | 1)Project explaination or Abstract
13 | 2)UML Diagram (class digram,usecase digram,sequence digram)and DFD
14 | 3)software and hardware Requirement
15 | 4)coding.
16 | 5)how to run the project steps
17 | -------------------------------------------------Online Insurance system----------------------
18 | team-1
19 | Abhilash,abhirami,aswani,Durga pawan,Naga Lakshmi
20 | --------------------------------------------------------------------------
21 | team-2
22 | Susanth,atharva,sharon,Asmita,Akash pawar,Prabhabathi
23 | -------------------------------------------------------------------------------
24 | team-3
25 | Venkata,rahul,chandrakant,haripriya,komali,shivang,varad
26 | ---------------------------------------------------------------------------------------
27 | team-4
28 | Harish,Keerthi,sabbani arun,sandhya,venu kumar
29 | -------------------------------------------------------------------------------
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/steps.txt:
--------------------------------------------------------------------------------
1 | steps to follow
2 | -----------------------------
3 | 1)create a github account.
4 | 2)upload whatever you do in the daily basis.
5 | 3)mail github link to me.
6 | 4)how to run the project steps
7 | 5)software requirements
8 | -------------------------------------------------------
9 | Prepare a word document
10 |
11 | Thinks need to be done
12 | 1)Project explaination or Abstract
13 | 2)UML Diagram (class digram,usecase digram,sequence digram)and DFD
14 | 3)software and hardware Requirement
15 | 4)coding.
16 | 5)how to run the project steps
17 | -------------------------------------------------Online food Delivery----------------------
18 | team-1
19 | Alok,Atmaram,pallavi,Deepthi,Vaishnavi
20 | --------------------------------------------------------------------------
21 | team-2
22 | Dipesh,Lahari,Grishma,Harsh,Vishnu
23 | -------------------------------------------------------------------------------
24 | team-3
25 | Harshavardhan,Jitendra,Nisha,Sahil,vikash
26 | ------------------------------------------------------------------
27 | team-4
28 | Sivanagalakshmi,Sreeja,Thippeswamy,Anitha,tulika,samarth
29 | -------------------------------------------------------------------------------
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------