Skip to content

Running two files on a single project on PyCharm

I am currently developing a IoT sensor value simulator using the PyCharm IDE (along with pygame). Essentially, I am trying to produce/send data to Microsoft Azure IoT platform while there is a GUI available for users, in which they can see the temperatures of each sensor, change the sensor outputs, etc. Since…

Order CSV with two digit numbers

I’m trying to create a leaderboard for a game, where after the game has been played, the python script accesses a CSV file (not ordered) and prints out the top 5 people with the highest score. Python seems to do this fine with single-digit numbers, but I can’t get it to work with 2 digit numbers. …

Wrapper to Objects

This is a software design question. I have a folder like this: Each of the countries has its own calendar, like so: What I want is a wrapper to all of these countries’ calendars. In short, something like I don’t want to hard code this. I just want to load all the calendars from the calendar folder…

Calling pipenv in CMake command ModuleNotFoundError

I am trying to generate C/C++ source files via a Python script using CMake, but am running into an issue where it appears that pipenv is not working as expected. I’ve attempted to create a simplified version of my real world example on my Github. The error I am receiving is: I’ve tried changing th…