Skip to content

Tag: python

Grouping and deleting Files

I have to come up with a solution to delete all files but the newest 2 in a directory stucture of our owncloud. The be exact – its the file versioning folder. There are files in one folder with the following structure: Filename.Ext.v[random_Number] The hard part is that there are different files in one …

No module named objects [bokeh]

Note from maintainers: This question is no longer relevant. The bokeh.objects module has not existed for years I’m trying to run this script: from: https://www.continuum.io/content/painless-streaming-plots-bokeh but at this line: I got: The version I’m using is 0.11.1 On linux mint 17.1 Answer Not…

How to open new bash terminal using Python

I am trying to open a new terminal window in Tkinter application. I’ve used os.system(“/bin/bash”) but it works in current bash only. Which stops runnning code and causes application freeze. I want to open new Terminal. How to do that? gedit like programs work fine without disturbing current…

Rabbitmq remote call with Pika

I am new to rabbitmq and trying to figure out how I can make a client request a server with information about memory and CPU utilization with this tutorial (https://www.rabbitmq.com/tutorials/tutorial-six-python.html). So the client requests for CPU and memory ( I believe I will need two queues) and the serve…

improperly configured at /accounts/login/

In order to simulate sdn networks i downloaded the mini net 64 bit version and imported it in vmware Workstation pro 12 and through github all the project related stuff have been installed but the thing is when i wanna run it i encounter an error , do you think it’s because of the mysql not being config…

G++ cannot resolve paths when called from subprocess

I am writing a small python script to for automatic student homework evaluation. I have a skeleton, where submitted homework is unzipped into a temporary folder and my script is called with path to the temporary folder as an argument. My script first copies over some extra files I need and then tries to compi…