Questions tagged [python]
Python is an interpreted, general, high-level programming language. Programming questions are off topic. Questions about the use of Python should be asked at Stack Overflow (https://www.stackoverflow.com) instead.
3,166
questions
0
votes
1
answer
591
views
Is it normal for Ubuntu (WSL) to take up 40GB of space?
I've tried running this to cleaning out docker images, etc… with this command:
compact vdisk
The filesystem allocation is 1007GB and only 4% is used.
How do I fix this?
All the forums and questions ...
2
votes
1
answer
35
views
How to determine what program is writing error log every 10 seconds?
A long time ago on my Macbook I worked through an online tutorial on automating tasks: Automate the Boring Stuff.
I've since gotten a new laptop. On the new laptop, I've tried to get rid of the folder ...
0
votes
1
answer
195
views
How to correct the indentation of Python code with BBedit? Or some other tool?
I have a Python code of about a thousand lines, contained in a .py file, and I would like to fix, possibly automatically, the indentation (i.e. at the first level four characters, then eight, and so ...
0
votes
0
answers
129
views
How can I install python3-dev for armhf using debian multiarch?
I also posted this question here https://stackoverflow.com/q/77693879/7926069 but was told this site may be a better fit so I crossposted. Hope that's okay!
I have been going in circles trying to ...
0
votes
1
answer
582
views
How to run an application installed via pip?
I've used pip before to install libraries to use them in my python scripts. Now I've installed ranger-fm from pip.
Silly question: how do I run it?
I did not expect to run it by simply entering '...
1
vote
1
answer
97
views
How to call ifcconvert from the terminal
I want to convert icf files to objs, to that effect I want to use this tool:
https://ifcopenshell.org/downloads.html
I installed it through python like this:
pip install ifcopenshell
However, I am ...
0
votes
0
answers
78
views
How to run Apache airflow that is installed by PyPy as systemd?
I installed Apache airflow using PyPy and the executable is in
/home/my_user/anaconda3/envs/my_env/bin/airflow
The installation is working fine and I wanted to make it a systemd.
[Unit]
Description=...
1
vote
0
answers
55
views
How to differentiate between directories created manually and directories created by installed programs?
On my Ubuntu laptop, I want to differentiate between directories I created manually and directories created by programs that I install for coding purposes (in Python).
I have searched a lot, but it ...
2
votes
1
answer
3k
views
How to install sox for PyTorch audio?
I want to run PyTorch code on Linux. I start a virtual machine on AWS with AMI Deep Learning PyTorch, but, surprisingly, PyTorch is not installed. So I run:
python3 -m pip install torch torchaudio
...
0
votes
1
answer
55
views
Macro to keep 3 rows visible under the selected row in LibreOffice Calc
In Calc or MS Excel when one is finished editing a cell in a row, pressing Enter leads to the next row below. Keep doing that and eventually you arrive at the last row visible on the screen. Here when ...
0
votes
0
answers
228
views
Positioning an ffmpeg text while wrapping text in newlines
I would like to automatically wrap text in multiple lines if it is too long to fit on the screen.
I know about the subtitle option but it is not what I am seeking for. When generating a long video ...
0
votes
1
answer
149
views
How do browsers based on Chromium import passwords from Chrome?
How do browsers based on chromium import passwords from Chrome?
Browsers like Vivaldi Brave, Edge, Opera, etc… all have feature to import passwords from Chrome, and some even have ability to import ...
0
votes
1
answer
240
views
Can't use pipenv after adding to $PATH
I'm using a Linux box on which I don't have sudo privileges. I have python and pip installed. I've run pip3 install --user pipenv, and confirmed that ~/.local/bin/pipenv exists. I then added PATH=~/...
0
votes
1
answer
265
views
Arbitrary font type with ffmpeg
I set up a script that generates a simple video with one mp3 audio and one text on screen. I would like to add the option to specify a font type and use that for formatting of the text on the video.
...
0
votes
0
answers
43
views
How to setup Not Exactly C or nxt-python on Arch Linux for lego mindstorms in 2023?
I have an old NXT Lego-Mindstorms Robot. I did some major digging, but I havn't been able to connect to the Robot via USB with my arch linux system.
When I type nxt-test, I get the following error ...