Ask coding questions

← Back to all posts
modo proyecto
luisrivero

buenas tardes a todos tengo problemas con lo siguiente :
estoy tomando un curso y resulta que al crear una clase nos muestran que crean un archivo en otra pestaña dentrro del mismo trabajo y entra en modo proyecto el cual no eh podido encontrar y por lo tanto sigo sin poder crear una clase e importarla a otro archivo.
espero alguien pueda ayudar

Voters
valentincondori
Comments
hotnewtop
luisrivero

READY. THE ANSWER HAS SOLVED

theangryepicbanana

Please speak in english so we can help you

luisrivero

ok i translate but dont speak inglish
@theangryepicbanana

luisrivero

good afternoon everyone I have problems with the following:
I am taking a course and it turns out that when creating a class they show us that they create a file in another tab within the same work and enter into project mode which I have not been able to find and therefore I still cannot create a class and import it to another file .
I hope someone can help
@theangryepicbanana

theangryepicbanana

@luisrivero yes so you can't run multiple files in one project like that, si you will have to make another repl

luisrivero

@theangryepicbanana
but how can I do it because I create another file for example
class player and does not put it as commands but as simple notes

luisrivero

@theangryepicbanana

this is the file

luisrivero

@theangryepicbanana
I only get it as notes but in the main.py window it works.
you understand me?
and the other tabs were created alone

luisrivero
theangryepicbanana

@luisrivero ok so it seems to run fine for me. If you want to run a separate file, you will have to create a new repl by pressing the button "new repl" and selecting the language

luisrivero

@theangryepicbanana
I need to create a class in a new tab which I call player and then in the main tab call that class but in the created tab it doesn't let me create class or use any command just write as if it were a simple text

theangryepicbanana

@luisrivero maybe try naming the file player.py instead of just player

luisrivero

@theangryepicbanana

thank you very much I put .py and it worked
you are the best jejeje
now i can continue whit the course

theangryepicbanana

@luisrivero I'm happy I could help