python

  1. SpongebobFan1994

    Make the Web Great Again

    Because of the browser wars, a small number of companies attempting to monopolize the web, personal websites becoming a dying trend, social media addiction, spyware, and numerous other issues affecting the modern web, I've occasionally been thinking about how we could remove all of them and...
  2. D

    Seasons greetings from under the process tree

    Earlier in the year I wrote a Python script to monitor for run-away processes. It includes a GUI overview of process activity with lots of blinking dots (I fancied some blinking lights). I've recently added an option for a more festive layout. There is a video of the blinking lights at...
  3. cloudytechi147

    Python sub process script works on my Windows but not on my Linux

    I write a simple script to check the subprocess module and I tested it on both Windows and Linux. The script works fine on Windows but not on Linux. The interpreter in python is used in 3 versions on both. import subprocess host = input("Enter a host to ping: ") p1 = subprocess.Popen(["ping"...
  4. S

    Error while trying to install 'pymongo' libary

    I tried to run my code on Linux and get this error: ModuleNotFoundError: No module named 'pymongo' then I install with these commands : and still, get an error I've tried to search this error - specific on 'pynomgo' and couldn't find anything. I'd be happy if anyone can help me here...
  5. C

    Help with Virtualenv

    Hello, sorry I am new to linux. The issue I am running into is with installing virtualenv. I am using windows (ubuntu) for reference. First I tried this which does not work for windows or the version I have (im not sure) $ virtualenv venvCommand 'virtualenv' not found, but can be installed...
  6. C

    Errors when attempting to unpack python-pkg-resources_44.1.1-1_all.deb

    I am running a kai linux 2020.1 64 bit VM. when I run sudo apt upgrade I get the following errors: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: php-common...
  7. S

    Totally confused

    Hello I'm brand new to Linux. I have an old Windows laptop I use for data logging. I have a python program running on it as a data logger and soon to control some Arduino controller boards. I hate windows and it's trying to crash. I'd like to change it to Linux, but after reading several pages...
  8. C

    Send screen via socket problem for systemd (I think)

    server.py import socket import cv2 import struct import numpy as np from PIL import ImageGrab from time import sleep import pickle con = socket.socket(socket.AF_INET, socket.SOCK_STREAM) con.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1) con.bind(("localhost",3344)) con.listen(1) while...
  9. JohnnyRobot

    Python Script Spawned by Cron or Systemd doesn't write files..?

    Hi all, I'm not really sure where this question should go. I'm not even sure if it's a Linux issue or a Python issue. I've written a Raspberry Pi application (Ubuntu Mate) that's essentially a timed camera. Every 30 seconds, it snaps an image and writes it to disk. When I start the...
  10. M

    Lubuntu Installation Issues

    Tried to install Linux mint on a wiped hard drive with a Lenovo X130E I thought it was an issue with my bootable flash drive. Decided to try lubuntu (same laptop) got most of the way through installing and got thi error message Boost.Python error in job "bootloader". Command 'grub-install...
  11. D

    Remote control a linux machine, via terminal

    Hey, I made two python programs, in two different computers, that uses sockets to communicate between the two computers. Then, I wanted to execute a terminal command at the client program and the command it self will be sent from the remote controller program, then the client will send the...
  12. D

    Using Kite on Linux Mint

    Has anyone had any success using Kite for programming with Python on Linux Mint?
Top