#๐Ÿ”’ How to run code in terminal Pycharm

33 messages ยท Page 1 of 1 (latest)

agile sparrowBOT
#

@floral harbor

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

visual girder
#

Right-click -> Run

#

Please don't paste AI responses.

floral harbor
visual girder
#

You want it to open a new terminal window?

floral harbor
#

Yes

visual girder
#

You can detach that bottom terminal by clicking one of the options inside the terminal pane. I don't know which one though because you're using the new layout.

#

When I get back to my desktop, I'll look at my Pycharm window and shown you where it is in the old layout.

floral harbor
#

The onlt reason i need it to work in the cmd is becuse it cant overwrite text anywere eslse

visual girder
#

Oh, are you using ncurses?

floral harbor
#

Whats this

#

Im just using ANSI escape codes

visual girder
#

A library for writing for netted text.

visual girder
cyan plaza
#

in your run configuration you can enable that, and it somewhat works

floral harbor
#

Thanks

floral harbor
#

i just use this

visual girder
visual girder
#

If you've already written all that, I don't know if switching to it would be worth it at this point, but it's worth looking into for your next project.

floral harbor
#

Thats good its just has to work on my school computers becuse i can only use what modules are alreay intalled

visual girder
#

I forgot it's actually just "curses". "ncurses" is for a different language.

cyan plaza
#

ModuleNotFoundError: No module named '_curses'
on windows.

#

(when importing curses)

#

I think you'd need to install something from pip to actually get it

visual girder
#

Hmm, I swear I've used it on Windows before. I must have installed something then.

versions are available for Windows, DOS, and possibly other systems as well.

#

Ok, nvm then if you can't include external dependencies.

agile sparrowBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.