Questions tagged [pythoninterpreter]

The PythonInterpreter class is a standard wrapper for a Jython interpreter for embedding in a Java application.

The PythonInterpreter class is a standard wrapper for a Jython interpreter for embedding in a Java application. Javadoc can be found [here].(http://www.jython.org/javadoc/org/python/util/PythonInterpreter.html)

127 questions
-1
votes
1 answer

Hello, I am needing some help to hexdump a .bin file that a python program created

I am following Ben Eaters tutorial on the 6502 computer and I'm completely lost on the python programming stuff. I have a little bit of programming knowledge, but not enough to understand which programs he is swithcing between. Here is the link to…
DiodeDan
  • 13
  • 1
-1
votes
1 answer

Python interpreter misbehaving

I installed python in my system and no error occurred, I also configured it for vs code but anything I open VsCode, I get prompted with the python interpreter telling me to repair or uninstall and it opens up a lot on my taskbar multiple times
-1
votes
1 answer

Is there a way to return the value of the output of python code like "print('python code')" into a String or other object using PythonInterpreter

I am trying to make a simple python interpreter using java. basically, you write some python code like print('hello world') and the request is sent to a spring boot back end app that interprets the code using PythonInterpreter library and returns…
-1
votes
1 answer

Solving file not found in IOS app PythonInterpreter

I cannot solve my FileNotFoundError in PythonInterpreter. The .csv file is in the same folder as my .py file. Thank you for your help in advance. This is my code: import pandas as pd df = pd.read_csv('A.csv') This is the output: Traceback (most…
THB
  • 21
  • 2
-2
votes
2 answers

Is there a way to fix Python Interpreter error in VSCode?

Has anybody seen this error while trying to to choose the python interpreter in VSCode? I immediately get an error when trying to find an appropriate interpreter. Is there any way around this problem? I have tried uninstalling and reinstalling both…
Mahta
  • 3
  • 1
-2
votes
1 answer

python __name__ global variable gives different output than expected

I am trying to get a hands-on in python modules. my code is, #filename:module.py def printname(): print __name__ printname() when I am executing the code with interpreter python module.py It gives output(i.e. module name as) main and when I…
-4
votes
0 answers

Visual Studio Code - Python Interpreter

I installed latest Python (3.11) in my MacBook Pro, later realized that my college wants me to use 3.7.x version to complete the assignment. I had set up VSCode for Python 3.11, however, later when I installed the required python version (3.7.0). I…
Ali
  • 1
1 2 3
8
9