diff --git a/TEST.Database.sql b/TEST.Database.sql new file mode 100644 index 0000000..5c07171 Binary files /dev/null and b/TEST.Database.sql differ diff --git a/dbo.Course.Table.sql b/dbo.Course.Table.sql new file mode 100644 index 0000000..d616415 Binary files /dev/null and b/dbo.Course.Table.sql differ diff --git a/dbo.SC.Table.sql b/dbo.SC.Table.sql new file mode 100644 index 0000000..59b4d7e Binary files /dev/null and b/dbo.SC.Table.sql differ diff --git a/dbo.Student.Table.sql b/dbo.Student.Table.sql new file mode 100644 index 0000000..e198cc9 Binary files /dev/null and b/dbo.Student.Table.sql differ diff --git a/test.py b/test.py new file mode 100644 index 0000000..887a068 --- /dev/null +++ b/test.py @@ -0,0 +1,13 @@ +from openpyxl import load_workbook +from openpyxl.styles import * + +def style(file): + wb = load_workbook(file) + ws = wb.active + for row in ws.iter_rows(): + for cell in row: + if cell is not None: + cell.alignment = Alignment(horizontal='center',vertical='center') + wb.save(file) + +style('测试3.xlsx') \ No newline at end of file