About 213 results
Open links in new tab
  1. İmport a python function inside a subfolder - Physics Forums

    Nov 30, 2020 · I have a project folder called Projects and inside that folder I have a file called my_functions.py. Now I have a folder named Project 1 and inside there is another python file …

  2. Importing multiple modules from a subfolder to another folder

    Jul 12, 2021 · I am working on Windows 10 and using VSCode. In my project, the folder/file tree looks like this; \Equations __init__.py equation_producer.py...

  3. I am getting an error Import "_frozen_importlib" could not be …

    Apr 19, 2022 · Here is the error when I run python -m pytest ERROR collecting test session...

  4. "import" in Jupyter notebook not working with notebook module....

    Oct 1, 2021 · Hello everyone, I am writing Jupyter notebooks which are essentially JSON files. I wrote a custom module called module001 containing some functions and...

  5. Why matplotlib is not working on the VSCode - Physics Forums

    Oct 2, 2019 · I wrote a basic plotting code and I run it on the VS code my somehow the program cannot run it I deleted python itself and VS code and I downloaded them again, but the …

  6. Can't Open .ipynb file in Jupyter: Too Large - Physics Forums

    Oct 5, 2021 · Hi All, I may have asked this question earlier. Apologies if I did. I have a Python .ipynb file in a Jupyter Notebook whose size is 99.3 MB. Thing is most of it is not code: I wrote …

  7. Python equivalent of MATLAB textscan? - Physics Forums

    Oct 23, 2012 · Is there one? Or do I really have to write something like this: from numpy import * with open ('file.txt','r') as f: #read only data, ignore headers...

  8. Solving MATLAB to Excel Copy Issues • Physics Forums

    Jul 20, 2017 · Hi PF! I am trying to copy info from MATLAB to Excel via the following code filename = 'testdata.xlsx'; A = [12.7 5.02 -98 63.9 0 -.2 56]...

  9. Trouble using PythonTex variables in Latex file - Physics Forums

    Nov 4, 2021 · I'm using Visual Studio Code as my text editor. My ultimate goal is to use PythonTex in a Latex file so that I can generate multiple versions of the same worksheet for …

  10. 'hold off' equivalent in python - Physics Forums

    Aug 9, 2021 · In MATLAB one can 'hold off' to remove a previously drawn thing on the same graph. How about in python?