Seite 1 von 1
Re: Dateiname übergeben
Verfasst: Dienstag 2. Mai 2017, 14:52
von Alfons Mittelmeyer
Sirius3 hat geschrieben:@Alfons Mittelmeyer: bevor man mit google anfängt, sollte man auf
python.org gehen, da findet man die Dokumentation direkt.
Was finde ich denn da bei python.org? Da muss python.org eingeben, dann gebe ich dort im Suchfeld ein "os.path" und dann finde ich nichts, nämlich, ich bekomme das:
https://www.python.org/search/?q=os.path&submit=
Wenn ich aber in das google Suchfeld eingebe: python os.path
Und klicke dann auf das erste von google Gefundene, dann erhalte ich das Richtige:
https://docs.python.org/2/library/os.path.html
Re: Dateiname übergeben
Verfasst: Dienstag 2. Mai 2017, 15:45
von wuf
Alfons Mittelmeyer hat geschrieben:Was finde ich denn da bei python.org? Da muss python.org eingeben, dann gebe ich dort im Suchfeld ein "os.path" und dann finde ich nichts, nämlich, ich bekomme das:
https://www.python.org/search/?q=os.path&submit=
Du suchst nur am falschen Ort.
a) Für Python 2.7.xx
https://docs.python.org/2/
b) Für Python 3.5.xx
https://docs.python.org/3.5/
Gruss wuf

Re: Dateiname übergeben
Verfasst: Dienstag 2. Mai 2017, 16:07
von Alfons Mittelmeyer
wuf hat geschrieben:docs.python.org/3.5/
Ist mir zuviel zum Tippen. Da tippe ich doch lieber nur "python" gefolgt von dem was ich suche.
Re: Dateiname übergeben
Verfasst: Dienstag 2. Mai 2017, 16:23
von wuf
Alfons Mittelmeyer hat geschrieben:Ist mir zuviel zum Tippen. Da tippe ich doch lieber nur "python" gefolgt von dem was ich suche.
Welche Suchmaschine verwendest du?
Ich habe es auf 'Googel' & 'StartPage' mit der Eingabe 'Python os.path' versucht. Da wirst du mit einer Flut von Antworten zugedeckt! Wenn ich deine Beiträge hier in diesem Forum lese glaube ich dir nicht, dass dies für dich zu viel Tipparbeit sein kann.
Gruss wuf

Re: Dateiname übergeben
Verfasst: Dienstag 2. Mai 2017, 17:20
von Alfons Mittelmeyer
wuf hat geschrieben:Da wirst du mit einer Flut von Antworten zugedeckt! Wenn ich deine Beiträge hier in diesem Forum lese glaube ich dir nicht, dass dies für dich zu viel Tipparbeit sein kann.
Ja ganz schön schwer, wenn man von dieser Flut so erschlagen wird, dass man sich nicht entscheiden kann, was von den ersten vier Einträgen - die sind alle von docs.python.org - man nehmen soll.
Soll man nun nehmen für Python 2.7.13 oder Python 3.6.1 oder 3.3.6 oder 3.4.5?
10.1. os.path — Common pathname manipulations — Python 2.7.13 ...
The os.path module is always the path module suitable for the operating system Python is running on, and therefore ...
http://docs.python.org/2/library/os.path.html
11.2. os.path — Common pathname manipulations — Python 3.6.1 ...
The os.path module is always the path module suitable for the operating system Python is running on, and therefore ...
http://docs.python.org/3/library/os.path.html
11.1. os.path — Common pathname manipulations — Python 3.3.6 ...
To read or write files see open(), and for accessing the filesystem see the os module. The path parameters can be ...
docs.python.org > Python > 3.3.6 Documentation > The Python Standard Library > 11. File and Directory Access
11.2. os.path — Common pathname manipulations — Python 3.4.5 ...
25 Jun 2016 ... To read or write files see open() , and for accessing the filesystem see the os module. The path ...
http://docs.python.org/3.4/library/os.path..
Ist eh egal, steht sowieso dasselbe drin und ansonsten kann man dann noch immer in docs.python.orgs die Version wechseln.