Posts by Alã Damasceno • 353 points
11 posts
-
1
votes1
answer353
viewsQ: Run Fortran code that prompts reading data in jupyter-notebook with python Restart kernel
Jupyter notebook Restart when running a Fortran code requesting data entry, as follows: note that the variable a must be provided immediately after the call from f1 .However, an error occurs and the…
-
0
votes1
answer676
viewsQ: Obtaining numerical values of mathematical graphs with python
Assuming you have a data file that allows you to plot a 2d graph (straight, parabola, conical), is it possible, starting from the image of the graph, to extract the numerical values that generated…
-
2
votes2
answers398
viewsQ: Selenium Python
I’m having trouble manipulating popup. Apparently, the popup code is generated in real time, not being captured by Selenium. In fact, it is possible to see the use of jQuery, I did not detect Ajax,…
-
2
votes1
answer334
viewsQ: Create python executables (portability)
I have python code developed on macos system. It is possible to generate executables to run on other systems (windows, linux)? Example: the file file.py was written and tested on macOS system, but I…
-
1
votes1
answer332
viewsQ: Problems installing numpy module in windows by Pip
I can install another module using the pip, except the numpy. I have tried other installation ways using the easy_install and installation by src, unsuccessful as well. See the exit of the…
-
3
votes1
answer84
viewsQ: Editing of python files
I intend to insert in files .py the stretch below: -*- encoding: utf-8 -*- needs to be in specific line, and in large amount of files. Is there any Unix/linux tool that can perform this task?…
-
0
votes2
answers3338
viewsA: Recursively rename files to default given in Linux commands
I made a script to rename screenshot files that appeared on the DESKTOP: image.sh #!/bin/bash cd ~/Desktop/ j=0 IFS="\n" for i in `ls *.png` do j=$(($j+1)) if [ ! -e $1"$j".png ] ; then mv $i…
-
4
votes1
answer61
viewsQ: FORTRAN and C interoperability
Each language has a unique character, that’s a fact! However, how to work with code C in FORTRAN and vice versa? It is possible to enter the code FORTRAN in the C with the directive # include…
-
1
votes0
answers58
viewsQ: gfortran’s path and options
Some gfortran options allow you to include paths to libraries and Fortran modules: $ gfortran -c <código fonte> [opções] Among the functions is the -J<path file .mod>, which allows to…
fortranasked Alã Damasceno 353 -
11
votes1
answer916
viewsQ: Problems with installing Pip (python package manager)
I use Mac OS and use HomeBrew as a package manager. I installed the python 2.7.10. Together with this installation was to have occurred the pip. However the following problem occurs: ==>…
-
0
votes0
answers103
viewsQ: Unicodedecodeerror - unicodedecodeerror 'ascii' codec can’t Decode byte 0xc3
Hello! I’m having trouble installing the pip (package manager python). The installation should occur at the same time as the python installation is done (I used: brew install python => installs…