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