Skip to main content

Questions tagged [pycharm]

PyCharm is an integrated development environment (IDE) for Python. It is developed by JetBrains for Windows, Mac OS X and Linux. DO NOT use this tag on questions regarding code which merely happens to be written using PyCharm, use the appropriate language tag [python] instead.

pycharm
0 votes
0 answers
15 views

Copy historical content from "Show history" into the clipboard?

In the following screenshot it is my intention to copy the differing content on the left panel to the clipboard [for later incorporation into the current version. I do not want to overwrite/replace ...
WestCoastProjects's user avatar
0 votes
1 answer
29 views

Why code works different at IDE and Console?

I have simple code for locating and clicking button using pyautogui def click_at_button(button_name, count): count_tries = 0 while True: try: time.sleep(1) ...
Artem Halushka's user avatar
0 votes
0 answers
17 views

.py-script only runs via terminal and not with the "run"-button of Pycharm

I created a new python project inside Pycharm with a virtual environment. It's my first time using virtual environments (I am still a beginner in python & Pycharm). For some reason, Python can't ...
Jules's user avatar
  • 1
-1 votes
0 answers
34 views

How to solve Process finished with exit code -1073741819 (0xC0000005) in Python? [closed]

I am using Python 3.8 in Pycharm. I have Windows 10 and wanted to reproduce this publicly available code: #!/usr/bin/env python # -*- encoding: utf-8 -*- import sys sys.setrecursionlimit(4000) import ...
Idkwhatywantmed's user avatar
0 votes
1 answer
16 views

Invalid Pycharm Interpreter after changing directory for project

I changed the directory of a project in PyCharm then deleted and configured a new local python interpreter even after the new interpreter was configured PyCharm still gives me a Invalid Local ...
Shoaib Sadiq's user avatar
0 votes
0 answers
14 views

BAC0/Bacpypes in Python 3.x - Implementing positiveIntegerValueObject

I'm new-ish to Python, and in working with the BAC0 and Bacpypes Python libraries, I've noticed that not all BACnet object types are fully implemented by default, or if they are, their usage escapes ...
Noah W.'s user avatar
-2 votes
1 answer
30 views

PyCharm cython hinting won't work with libcpp

I can't get PyCharm to hint methods for libcpp library for example for vector container. This is my code: from libcpp.vector cimport vector cdef vector[int] v v.push_back(1) PyCharm can't see ...
emot's user avatar
  • 109
0 votes
0 answers
14 views

unexpected type warning in PyCharm for list.sort lambda

In cleaning up my working code, I'm trying to understand if I should add some sort of type hint. The simplified code sample below works as intended to sort the array by date in the dict, but PyCharm ...
codeskipper's user avatar
1 vote
0 answers
11 views

Why Tox won't work in pycharm run/debug but works in terminal

I have an issue with pycharm and tox. When im running tox thru pycharm terminal by 'tox', all tests are start running but if i want to use ctrl+shift+R(run button in pycharm), i have an error: ...
Bart77's user avatar
  • 103
0 votes
0 answers
19 views

How to Integrate Weighted Calculations for Grading

I would like calculate the final exam grade that a student may need to get their desired overall class score., given three inputs: the overall grade that they would have in the course IF they skipped ...
buddy's user avatar
  • 11
2 votes
2 answers
51 views

Looking to condense python code for a math game (Very new to python)

import random correct_g = 0 incorrect_g = 0 while True: user_input = input('Would you like to add, sub, multi? type "end" to end the game : ').lower() if user_input == 'add': ...
Jacob Graves's user avatar
0 votes
1 answer
40 views

Can't figure out how to open a file using PyCharm

I'm new to coding and doing a coursera course, and we just got into opening and reading files. I have this file 'words.txt' and I'm trying to open and read it but keep getting: FileNotFoundError: [...
Cohlhus's user avatar
  • 11
0 votes
0 answers
12 views

'ImportError: attempted relative import with no known parent package' when QGIS-Plugin code running in PyCharm

I have created a 'raw' plugin with the pluginbuilder. The structure is as follows: It runs perfectly when opened in QGIS. However, when I open the plugin-folder as a pycharm project and run the ...
i.i.k.'s user avatar
  • 181
-2 votes
1 answer
42 views

I'm getting an "src is not a numerical tuple" for an opencv program I'm developing that works in their official documentation but not for me [closed]

I'm creating a python program and trying to get feed from a camera and then perform a fourier transform on it to see its spectrum. I've been trying to initialize the camera with cv2.imread() but for ...
Midkhat Satdanov's user avatar
1 vote
0 answers
26 views

Python Pycharm virtualenv cant add new virtualenv

I made some tests with multiple virtualenv Environment in Pycharm Professional Version 2024.1.1. Now im stuck with the Problem, that I cant make a new Virtualenv anymore, because all i get is this ...
Philipp1297's user avatar

15 30 50 per page
1
2 3 4 5
1135