Skip to main content
0 votes
0 answers
142 views

Python13 was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings>Manage App Execution Aliases

i am running python -m venv venv then i encountered the above error after i turned off python by going here Settings > Manage App Execution Aliases. I started encountering this error python : The ...
Anjali Saxena's user avatar
1 vote
0 answers
51 views

Fastest x86 64 jump table. What are the methods for making very performance oriented jump table?

I am in the process of optimizing a program that interprets some byte code, and depending on it jumps to different instructions. Since we have the instruction in byte code already ordered from 0-17, ...
Kosmas Xenakis's user avatar
0 votes
0 answers
34 views

Python code pauses execution randomly till I move the VS Code Terminal

I am running an code which performs inference for several hours. However when it seems to randomly pause. But when I move the VS Code's terminal border/window slightly, it starts executing. I don't ...
Shubeeksh K's user avatar
-1 votes
2 answers
100 views

Why will a syntax error prevent Python from running preceding lines? [duplicate]

Why is the CPython interpreter not executing the previous statements if an EOL syntax error occurs in a later line? I thought that an interpreter is supposed to execute all the statements in a file ...
tony pd's user avatar
0 votes
0 answers
54 views

Python Scripts Don't Adopt Selected Environment in VSCode

When I select a virtual environment (created with mac default venv command) as my interpreter for a Python file in VS Code, it doesn't change the Python executable path and instead uses my base ...
FirstTryBogoSort's user avatar
-1 votes
1 answer
132 views

Why does my pycharm terminal is failing to start

I've been having issues with the terminal in PyCharm recently it always gives me this error message: Cannot open Local Failed to start [powershell.exe, -NoExit, -ExecutionPolicy, Bypass, -File, C:\...
Raiz59ru Lion's user avatar
0 votes
1 answer
36 views

How can the expression rule be converted into LL(1) without becoming right-associative?

In the following small grammar, I am confused about how this basic rule for defining a binary operator combination can be converted to an LL(1) grammar that will produce a left-associative AST: ...
bruh bruhbruhbruh69's user avatar
0 votes
1 answer
78 views

Go Types for BNF Grammar

I'm working on the crafting interpreters book and as a personal project I've decided to implement JLox on Go instead of Java mainly to learn Go. Currently I'm stuck with the parser, I'm unsure how to ...
Enrique's user avatar
  • 11
1 vote
1 answer
51 views

Python is not finding location of file to parse, even when i have triple-checked it is still there

I am making a interpreted language using python, named Spearhead. My terminal, when trying to run the command "+r {+r is how i run files} [path to file to be interpreted]" It gives me my ...
ilov3gam3z's user avatar
1 vote
1 answer
47 views

implementing a Tcl "atreturn" feature?

I'm using a Tcl-based framework for building packages (MacPorts) and would like to implement an atexit-like feature where I can print some information in case a build fails and the framework aborts. A ...
RJVB's user avatar
  • 768
0 votes
2 answers
62 views

subprocess.check_output not catching python errors [closed]

I am creating a Python programming language, named Spearhead. I have a working terminal, made via the Subprocess module. The issue is that I am using check_output to catch python errors, and not ...
ilov3gam3z's user avatar
0 votes
1 answer
50 views

can't find '__main__' module | breaking subprocess terminal command

I am creating a programming language named Spearhead using Python, I have a parser named Parser.py, inside a subfolder of the Spearhead folder this is all contained in named raw_exec [that has a empty ...
ilov3gam3z's user avatar
0 votes
0 answers
34 views

Problem with File Descriptor Handling in a C Command Line Interpreter Using Pipes

I'm building a simple command line interpreter in C, and I've encountered an issue with handling file descriptors when using pipes. The interpreter is supposed to support piped commands, but I'm ...
MwahMallah's user avatar
0 votes
0 answers
16 views

PyCharm: Configuring SSH interpreter - automation

I'd like to create a development environment using a python or a bash script. I want to connect PyCharm to python interpreter in a docker container by running the script. Is that possible? What files ...
Mirt's user avatar
  • 1
-1 votes
2 answers
50 views

Questions about python virtual environment in VScode

So a question I can't find a clear answer to is if my python interpreter that I have selected (where it shows 3.12.5('.venv':venv) is set that way because I selected to create a virtual environment. ...
Jacob White's user avatar

15 30 50 per page
1
2 3 4 5
153