Category "windows"

How to fix "Powershell needs Windows management system 4.0'

I want to know How i install Powershell in my win 10 pc because it dont came installed in it Please help me. I will be very thankful to you

Libadwaita on windows 10 & 11

I am new to GTK development. I started using GTK4 and it is really grea. As far as I understand libadwaita is used for reflecting dynamic system changes of colo

Using electron-builder, during the install of an app, is there a way to auto-create a folder in the user's "Documents" folder in Windows?

What am I trying to do? When installing an Electron application on a Windows machine, I would like it to also put a folder in a user's "Documents" area, for exa

Why pyspark is taking so long to create a SparkSession on jupyter?

Whell i'm learning PySpark, i installed ipykernel, jupyterlab, notebook and pyspark via PIP, and Java 8 via .exe, the problem is when i need to create the sessi

How to erase line if entry it doesn't match variable

I am trying to make a program where you have to sign in with a password. If the password is incorrect it is supposed to erase the line so you can try again. Ins

How do you import Pygame in Sublime Text 4 on Windows 10?

I've been trying to use Pygame on Sublime Text 4 for the longest. But every time I try to import it into Sublime Text it says that there's no module named Pygam

Wildfly org.jboss.nio -> FileNotFoundException: Invalid file path with Windows Java JDK 11.0.15+10

Since the update to Eclipse Tamurin JDK 11.0.15+10 we notice a problem as soon a HTTP request reaches Wildfly 20.0.1.Final. The same behaviour exsists in Wildfl

How does one close stdin from the windows CMD prompt?

I know that one can close stdin when executing a command from a Linux CLI using logic such as: 0<&- <command> This simulates/emulates running an a

Open type font collections are causing errors with PdfPrintingCore "Font has no usable platform or encoding ID. It cannot be used with PDFEdit."

When printing any text in font type Cambria (or another .ttc font type) on Windows I get the following error message: Font has no usable platform or encoding ID

How should I pass a function that runs an external file to be able to use multiprocessing?

I recently saw a module that allows me to run my code simultaneously which happens to be what I need. However, as I was testing with function, I ran into some e

How to detect if function is implemented in installed library?

I have my program for windows, which uses windows system library (let's name it "sysLib"), and it implements function "libFun1". My program can look like this:

Hashicorp Vault Server UI loads a blank screen

I am trying to run hashicorp vault server as windows service in windows 10 system. Vault server UI is showing as blank screen. Please refer my configuration det

can I build a production level windows application in Python

I'm trying to build a Windows Application in Python. But, sometimes I question myself, can this Application run on another person's PC without installing Python

How to fix "shutdown: NOT super-user" when using a shutdown script in Python? [duplicate]

I got this script import os shutdown = input("Do you wish to shutdown your computer ? (yes / no): ") if shutdown == 'no': exit() else: os

How to use python to create and modify windows shortcuts

Based on most of the postings I have read, I need to import winshell in order to create a Windows shortcut using python. But I am running Anaconda python and wh

powershell script to select directory

I would like to create a powershell function or cmdlet that would allow me to quickly navigate to files and function like the example below. Could someone enlig

Why there is a delay in running a console application just created?

I have noticed this for a while. After building a cpp console application, when i run it through command prompt, the first time it takes some time to run. The s

Atom IDE Tab Groups

I was a macbook user in my previous job. I used Atom IDE as a text editor there because I liked how it handled projects in the LHS tree view, and because I lik

Driver signing works for some machines only

I developed a kernel-mode driver and signed it with a "standard" code signed certificate because at this time I do not know about Win 10 driver signing. I test

how to create a windows shortcut to a folder in python

My problem is that i can't find a solution to create a shortcut to an folder with python. Only to a file, code example: shell = Dispatch('WScript.Shell') shortc