Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 7
ĀæSaben cĆ³mo saber la direcciĆ³n de un archivo que yo cree?
Do you know how to know the address of files that I believe?
6 Respostas
+ 1
Para saber en q direcciĆ³n te encuentras puedes probar
import os
os.getcwd()
Imprime el camino en el q estƔs corriendo el intƩrprete
Para cambiar a otro path lo puedes hacer con
os.chdir(path)
path: la direcciĆ³n a la q quieres cambiar
+ 4
your question is is not clear please give some information about your problem so that community will help you.
if you are asking path of a file inside of your hard disk
then you must see 'os' module
+ 3
A que te refieres con direcciĆ³n hermano?
+ 3
Osvaldo Delgado GonzƔlez
Ahhhhhh, muchĆsimas gracias.
Ratnapal Shende
JESUS EDUARDO CANUL KOYOC
Pariket
Thanks to all
+ 2
Pariket
JESUS EDUARDO CANUL KOYOC
Directory on I belive file
+ 1
Ratnapal Shende
Hmmmm, Thanks, i think is with os