How am I able to print my output into a new window, I use the IDE Cloud 9 or PyCharm and the output comes up on a window on the bottom. Is there a command to print the output into a new window entirely, either through Pycharm or just python itself? My OS is Windows and I have Googled this and haven't seen anything that helps.
You can take the console tab out of the bottom:
https://www.jetbrains.com/pycharm/webhelp/splitting-and-unsplitting-editor-window.html
Right click the tab and select floating mode.
Hope this helps ;)
Try running something simple and silly, like this:
for i in range(10000):
print i
I tried this in PyCharm Community edition 4.0.3 on Windows 7 and it worked for me. Go down to the bottom where it says "Run". In Community Edition anyway, it is NOT a tab, but a window, so you just need to right-click near where it says "Run". Then choose "Floating Mode". For me, it immediately popped into its own window and I could drag it outside the program.
Related
Installed PyCharm on the new windows10.
If i create a new project everything works ok - all buttons on the places.
But if i run ANY .py file associated with pycharm i see just the code and no Run or configure buttons. There is also no indexing\something bar at the bottom. I've waited for couple hours and nothing changed.
The same thing on new linux.
What am i doing wrong?
(i also can't rightclick the file cuz 'nothing here' appears)
as you can see - no buttons..?
SOLVED.
solution
1. Uninstall PyCharm 20.x.x
2. Install PyCharm 19.x.x
Seems you started PyCharm in the light edit mode (see https://blog.jetbrains.com/idea/2020/04/lightedit-mode/), try to run PyCharm first and then create project on top of your directory or just open this directory.
Pycharm associated all .py to edit, you will open the source code.
To run, try "right click" and search for "RUN" or click "CTRL+SHIFT+F10"
Here is a link to the jetbrain tutorial on how to open/hide a navigation bar.
Use the navigation bar
This is because when you install Pycharm and start with new scratch file, Pycharm doesn't know which file you want to run so you can see Run. To Run your script Right-Click in the space and then click on Run. After this you will get a Run button in the top-right of the corner.
Hope it helps!
I recently installed Kite for Spyder 4. I think I wanted to give it a try for several weeks and see how it performs.
One feature called Kite-copilot annoys me, it pops up whenever I opened spyder. I don't really use that feature much since it is in the new window (it would cover my workspace if it is always on top, and it would be covered by spyder if it didn't).
So is there a way to disable this particular feature? I know I can just close it right away whenever it pops out, but it is kinda annoying that I always need to close it first whenever I opened spyder.
On MacBook switch off kite for current session: at the top right of the screen (top menu bar where your wifi shows etc) locate the kite icon. Right click on it and select 'quit kite'. You will see in Spyder at the bottom (just below Console) the Kite status should switch to 'Kite: not running'.
Im using PyCharm on MacBook Pro(OS: macOS Mojave). After updating to the new PyCharm version(Version: 2019.1.3), now tool bar is not visible when PyCharm IDE in full screen mode. Is there any solution for this?
Thank you!
It looks like you're running in Full Screen mode. On Windows, the key to switch is F11, on macOS it's N/A according to here: https://www.jetbrains.com/help/pycharm/ide-viewing-modes.html?section=Windows%20or%20Linux
I think that's a documentation error, but I'm sure you can find the appropriate key somewhere in the settings.
You indicated you were indeed running full screen, but the toolbar never displays in full screen, for any project, while it does display in non-full screen. Submitting a bug report here https://youtrack.jetbrains.com/oauth?state=%2Fissues%2FPY (with screen shot and good info on your setup) is likely to quickly get you more information - or the confirmation that this is a bug and hopefully a quick fix.
To exit the full screen mode, choose View | Exit Full Screen on the main menu.The main toolbar contains buttons that duplicate the essential commands for quicker access.
By default, the main toolbar is hidden. To display it, select View | Toolbar on the main menu.
Thanks for the quick reply people. today I updated PyCharm to it's newest version(2019.2) and this bug wasn't there.
I have the same issue on my mac, when projects are opened in fullscreen (at startup) the topbar is "cutted away". You can see that there still is a small line where the run configuration is, so it's not on purpose. What I usually do is leaving fullscreen and reentering it, the issue is fixed.
I am positive the issue is related to fullscreen startup of the IDE.
I am using Spyder with Anaconda Launcher.
I was working on some machine learning models and when drawing graphs, I used X_grid = np.arange(min(X), max(X), 0.00000001)
Now the problem is that 0.00000001 takes a LOT of time to execute. Ideally people don't exceed 0.001.
Because of this, there is one process called "python" always showing up in the dock. If I force quit it, the kernel in Spyder dies and restarts and it instantly shows up in the dock again.
The python process icon in the dock looks like this.
I tried googling a lot, checking out answers in stackoverflow but none helped. I also tried completely removing anaconda from my mac, deleting the anaconda folder from the Users folder, then restarting the mac and then reinstalling it. Nothing seems to work! And it is really annoying to see that white icon in the dock.
So can anyone help me get rid of that white python process icon from the dock?
EDIT: I seem to have found the problem. Whenever I try to plot a graph using matplotlib, it used to appear in the console but the process icon used to not appear. To make the graph appear in a separate window, I go to Preferences > IPython Console > Graphics and select Automatic under 'Graphics Backend'. When I do this, this annoying icon appears again! Any help is appreciated.
I have a problem with PyCharm v2.7.
it does not show me errors.
I have configured it to show them as here
but nothing.
here a screenshot of what I see (no error displayed)
if I run code analysis it shows the errors marked as INVALID in the window but it does not highlight the code.
any idea?
I had this issue recently on PyCharm 2020.3.3 Community Edition.
What I've found is in the top right corner of the editor there is a Reader Mode button.
If you click it you turn the Reader Mode off and then you can see your errors.
You can re-enable it by clicking the book icon
I found. i've enabled by chance the "power safe mode" that avoid error checking. it can be re-enabled by clicking on the little man on bottom right corner.
In my case, I had some ticks disabled in the Python Inspections menu in Settings > Editor > Inspections > Python. I have ticked everything and applied, and now it is working.
I don't really understand why this happened as the problem arose from one day to another. I had even re-installed the whole PyCharm, trying older versions, and deleted the .pycharm configuration folder from home.
I had the same issue with PyCharm Community Edition, v.2016.3.2. To fix,
go to Preferences... from the PyCharm menu, and open Editor/Colors & Fonts/General
Now go to Errors and Warnings/Error under your current schema.
I also had to set my Project Interpreter under Preferences/Project:<name>/Project Interpreter.
See screenshot.
None of the previous answers worked for me when I ran into this issue, but I was able to fix it by doing a hard reset on my PyCharm settings:
From the main menu, select File | Manage IDE Settings | Restore Default Settings.
You will lose all your custom settings this way of course, but this was the only thing that worked for me.
I have tried many things, but only Invalidate Caches did the trick, after that I could hover the green arrow (top right side) and change Highlight to All Problems
I needed to "Add content root" under "Project Structure" in Preferences. I had no content root.
Nothing of this worked for me.
My problem was a single warning: "unreachable code" which blocked all errors from being highlighted.
I removed this line of code (+ the warning) and all errors showed up again.
For me, this problem was a symptom of having created the file in the wrong place without realising. Before taking any drastic actions, check your project structure