Basic question, new to QP3, how to call a function from a program to a console?

34 views
Skip to first unread message

A. Charles

unread,
Sep 19, 2019, 4:48:45 AM9/19/19
to QPython
Hello,

I'm a new user of QP3, and I'm not used to the separated console (shell), and editor.
On my computer, when I run a program in the editor, it runs in the shell, and then I can keep working in the same shell.

For example, when I use the def() instruction to define a new function in the editor, and run the code, it does activate the function in the current shell, and I can use it freely after.

I like this, because as many people do, I have .py files with many functions in them.

BUT in QP3, the shell immediately close after the execution of the code... then I can't call the functions in the shell/console.

I'm pretty sure I don't understand something... Could you help me please?

PS: I'm french, then please forgive my English.

Thank you!!

AC


Reply all
Reply to author
Forward
0 new messages