python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Catching "Cancel" in Tkinter
I have a script that opens a prompt window for a user to select a directory before performing some other tasks. If the user selects "Cancel", I want the program to display an appropriate mes...
Gurdish
Votes: 0
Answers: 1
Convert many raw strings to Pathlib Path
So I have many raw strings to different files, and I'd like my script to automatically convert them to Path's using Pathlib. The obvious solution is:
from Pathlib import Path
path1 = r'/path/to/my/fi...
MK95
Votes: 0
Answers: 1
Sphinx: "man_pages" config value references unknown document <filename>
I am a beginner so maybe this question sounds stupid.
Anyway, I have a make.bat file which you can pass in the builder name to use and it invokes below command:
set SPHINXBUILD=sphinx-build
set SOURCE...

Willy
Votes: 0
Answers: 0
How to list directory files excluding files in gitignore?
I am trying to list all directory files, but without files (or patterns) from .gitignore.
For example, script runs inside main directory:
# .gitignore
dir2/
py.cache
# directory structure
.
├── .giti...
Max Smirnov
Votes: 0
Answers: 1