Hey I am new to python and am using tkinter for my gui. I am having trouble using the "after" method. The goal is to make a random letter appear every 5 seconds. Here is my code: import random impor...
I am using PyCharm to work on a project. The project is opened and configured with an interpreter, and can run successfully. The remote interpreter paths are mapped properly. This seems to be the c...
I'm new with apache spark and apparently I installed apache-spark with homebrew in my macbook: Last login: Fri Jan 8 12:52:04 on console user@MacBook-Pro-de-User-2:~$ pyspark Python 2.7.10 (default,...
I have a directory structure ├── simulate.py ├── src │ ├── networkAlgorithm.py │ ├── ... And I can access the network module with sys.path.insert(). import ...
I have several django projects and several different files with name utils.py, however pycharm treats them as simple .txt files with no syntax highlighting or any other kind of parsing, how can I fix ...
When it comes to constructors, and assignments, and method calls, the PyCharm IDE is pretty good at analyzing my source code and figuring out what type each variable should be. I like it when it's rig...
In PyCharm, I've added the Python environment /usr/bin/python. However, from gnuradio import gr fails as an undefined reference. However, it works fine in the Python interpreter from the command li...
PyCharm's autocomplete isn't working for installed libraries. I have the following code: from boto.emr.connection import EmrConnection conn = EmrConnection(aws_keys.access_key_id, aws_keys.secret_ke...
Im trying to install numpy with PyCharm but i keep getting this error: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). Can someone please explain to me exactly wh...
I have the following code in python 3: class Position: def __init__(self, x: int, y: int): self.x = x self.y = y def __add__(self, other: Position) -> Position: r...