Die Suche ergab 6 Treffer
- Samstag 27. Juni 2020, 06:28
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Re: Open - SyntaxError: unexpected EOF while parsing
Ja mit diesem Code geht es auch nicht.
- Donnerstag 25. Juni 2020, 16:48
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Re: Open - SyntaxError: unexpected EOF while parsing
with open('test.csv', encoding='utf8', newline='') as input_file:
File "<ipython-input-11-ecec768d3349>", line 1
with open('test.csv', encoding='utf8', newline='') as input_file:
^
SyntaxError: unexpected EOF while parsing
File "<ipython-input-11-ecec768d3349>", line 1
with open('test.csv', encoding='utf8', newline='') as input_file:
^
SyntaxError: unexpected EOF while parsing
- Donnerstag 25. Juni 2020, 04:16
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Re: Open - SyntaxError: unexpected EOF while parsing
Ich bin ein Anfänger:) wie sieht es aus wenn ich die csv mit newline="" öffnen möchte?
danke
danke
- Dienstag 23. Juni 2020, 12:11
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Re: Open - SyntaxError: unexpected EOF while parsing
Danke Euch könnt Ihr bitte helfen dann wie es aussehen sollte?
import mysql.connector
import csv
conn=mysql.connector.connect(user='X',password='Y', database='km_db')
cursor=conn.cursor()
with open('test.csv') as input_file:
file=csv.reader(input_file, delimiter=';')
for row in file:
cursor ...
import mysql.connector
import csv
conn=mysql.connector.connect(user='X',password='Y', database='km_db')
cursor=conn.cursor()
with open('test.csv') as input_file:
file=csv.reader(input_file, delimiter=';')
for row in file:
cursor ...
- Dienstag 23. Juni 2020, 10:51
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Re: Open - SyntaxError: unexpected EOF while parsing
ich habe darunter alles gelöscht und bekomme ich noch immer diese Fehlermeldung...
- Dienstag 23. Juni 2020, 10:36
- Forum: Datenbankprogrammierung mit Python
- Thema: Open - SyntaxError: unexpected EOF while parsing
- Antworten: 13
- Zugriffe: 3668
Open - SyntaxError: unexpected EOF while parsing
Hallo Ich bekomme immer die oben genannte Fehlermeldung wenn ich die csv öffnen möchte.
with open('H:/Controlling/Py/DB_Mitarbeiter.csv', mode='r') as ifile:
with open('H:/Controlling/Py/DB_Mitarbeiter.csv', mode='r') as ifile:
File "<ipython-input-69-95d3a75e0e49>", line 1
with open('H ...
with open('H:/Controlling/Py/DB_Mitarbeiter.csv', mode='r') as ifile:
with open('H:/Controlling/Py/DB_Mitarbeiter.csv', mode='r') as ifile:
File "<ipython-input-69-95d3a75e0e49>", line 1
with open('H ...
