Python interpreter/encoding fix
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#!/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import annotations
|
||||
from typing import Union
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from typing import Iterator, Dict, Any, Tuple
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import argparse
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from typing import List, Optional
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from typing import Dict, Any, Tuple, Optional, List, Iterable
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import pypyodbc
|
||||
|
||||
|
||||
pypyodbc.lowercase = False
|
||||
conn = pypyodbc.connect(
|
||||
r"Driver={Microsoft Access Driver (*.mdb, *.accdb)};" +
|
||||
|
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import win32com.client
|
||||
|
||||
|
||||
appl = win32com.client.Dispatch("Access.Application")
|
||||
appl.visible = 0
|
||||
appl.OpenCurrentDatabase(r'C:\Users\Lorenz\Desktop\wgmaster2010.accdb', True, True)
|
||||
|
Reference in New Issue
Block a user