Category "windows"

Is there a pathlib equivalent to os.path.basename under Windows?

When running Python 3.9.5 on Windows 10: Path("c:/temp/one/two/").name == "two" PurePath("c:/temp/one/two/").name == "two" PureWindowsPath("c:/temp/one/two/").n

How to remove "Restore Previous Versions" Context Menu in Windows 10 [closed]

Windows 10 is showing a "Restore previous version" context menu entry. How to remove this context menu entry?

Checking the last accessed files on Windows 10 in C++

I'm writing a small tool to help my workflow as an artist, and it'd be neat if it could check a list of recently accessed files on my computer for a *.psd (phot

GCPW Azure Cloud Windows

I have installed Google Credential Provider on an Azure Windows 10. However, when I reboot the machine there is no option to sign in with Google. Do I have to d

Using Task Scheduler to run Python when I get a Windows Notification

I'm trying to run a script every time I get a Windows Action Center notification. I think Task Scheduler would allow me to do this relatively easily, but I'm un

windows AD server has been corrupted

I have used windows 2008 AD since 2013.and I have secondary domain as well. unfortunate due to hardware failure the primary domain was corrupted. I configured a

Object reference not set to an instance of an object on mySQL Installer while configuring mySQL Server 8.0.25

I recently deleted mySQL and now when i am trying to reinstall it is giving me an error while configuring the mySQL Server i have tried deleting everything from

Flutter windows build: Nuget is not installed

I uninstalled Visual Studio 2019 and installed it as 2022. I reinstalled Flutter. When building Flutter desktop, the following problem is repeated. If I run it

Manage Taskbar Align Windows 11 - Powershell

I want align the taskbar of windows 11 to the left side using PowerShell. I did this: New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer

git mergetool with intellij Idea's community edition on windows

I'm using GitExtensions windows software to work with git and i had many trouble configuring it to work with Idea's community edition, to use it as a merge tool

Error 259 on python playsound() unable to sound

I Saw this question here. But my file is already in wav. My code is a timer which plays sound after timer ends using threading. It wasn't working there, then I

Trying to output a custom powershell object where I can align each line of two different variables containing Category:Description

I'm trying to do an network access control audit by grabbing a user's AD groups, their descriptions and then output them in a way shown by this example: [User]

MLFlow tracking ui not showing experiments on local machine (laptop)

I am a beginner in mlflow and was trying to set it up locally using Anaconda 3. I have created a new environment in anaconda and install mlflow and sklearn in i

Case shell command not working in terminal

Trying to figure out operating system to run a command in my package. Found this : case "$OSTYPE" in solaris*) echo "SOLARIS" ;; darwin*) echo "OSX" ;;

save stderr with _popen to a variable in C on Windows 10

When I use something like char result[1000] = ""; char psBuffer[1000]; FILE* pPipe = _popen(command, "rt"); while(fgets(psBuffer, 1000, pPipe) != NULL) { st

Github problems with project files

Screen What's wrong with this file? I tried add .obj to gitignore file but that's doesn't helped. Also i don't even changed anything in this file i think that's

Adding libraries in Spyder

I installed the libraries I needed by using these commands below: conda install matplotlib conda install numpy I see the '# All requested packages already insta

How to open Python files in the new Windows Terminal?

I'm trying out the Windows Terminal app and I want to start using it instead of CMD. The problem is, I cannot set the File Explorer to open Python files with it

ECCODES build on Windows 11 fails on Generate step

I'm trying to build ECCODES C package (https://confluence.ecmwf.int/display/ECC/ecCodes+installation) on Windows 11 for further usage with python pygrib library

using #if to run a function

I'm trying to run the expression _setmode only if I'm using Windows, and setlocale only if I'm using Linux, but I can't manage to make them work with a simple i