Category Archives: python

Handling files with python

You know now how to write a multi-platform GUI with Tkinter. I don’t know what your GUI is doing, but it’s good to know a few things about how to log them. For that and for other purposes, we need … Continue reading

Posted in bash, centos, linux, mac, osx, python, Uncategorized | Leave a comment

CCP-EM install on CentOS 7

The CCP-EM software suite is a package containing tools for cryo-EM. You can find it here. I want to install it together with the already existing software. The Brief instructions seem to work fine, provided you have the requirements. This … Continue reading

Posted in bash, bits, EM, modules, python | Leave a comment

LDAP and sshtunnel : remote user identification techniques with python

I need to check the identity of one active directory (AD) user on a computer that is not a member of the AD. If you don’t understand what I’m speaking about, I envy you 😀 I was working with python … Continue reading

Posted in bash, centos, linux, mac, osx, python, software | Leave a comment

A Tkinter python multi-platform app/GUI

We wrote on python/wxpython Hello World a very simple window/gui. This time we are going to do it for real. The aim is to write “the app/GUI” that will run one command or another depending on the OS. We are … Continue reading

Posted in bash, centos, filesystems, linux, mac, python, software, windows, XP | 1 Comment

crYOLO conda error: bad interpreter

Creating a new virtual environment for crYOLO, that implement You Only Look Once for particle picking, I stumbled upon this error. I saw it before, but here we don’t use python so much, I mean, we use it only for … Continue reading

Posted in bits, centos, EM, linux, modules, python, software, sphire | Leave a comment

Deployment Management Tools

I’m trying to grasp PXE booting from the professional point of view. Not that I need it: I can afford the luxury of installing a client by hand. But after having use cobbler and foreman, I feel like I need … Continue reading

Posted in centos, cobbler, docker, foreman, ftp, hardware, osx, PXE, python, slack | Leave a comment

A leginon docker on CentOS 7 Part I: docker and database server install

Previously we we made a leginon CentOS 6 container on CentOS 7. Now the LXC containers are somehow more robust than a docker, but less popular and versatile. Therefore the need to make a docker instead. I start by cloning … Continue reading

Posted in bash, centos, containers, docker, EM, leginon, linux, python, yum | 2 Comments