Skip to content

Commit

Permalink
mysql database connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshlinux committed Apr 23, 2018
1 parent 7e41013 commit a04de22
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions multiple_assignment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a,b,c = 10,20,30
print("\n Multiple assignment operator \n a = {} \n B = {} \n c= {}".format(a,b,c))
4 changes: 4 additions & 0 deletions regular/digit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import re
phoneNumRegex = re.compile(r'\d\d\d-\d\d\d-\d\d\d\d')
mo = phoneNumRegex.search('My number is 415-555-4242.')
print('Phone number found: ' + mo.group())

0 comments on commit a04de22

Please sign in to comment.