Questions tagged [pythonxy]

Python(x,y) (also denoted pythonxy) is a free (GPLv3 licensed) scientific and engineering development software. It is a tool for numerical computations, data analysis and data visualization based on the Python programming language,

Python(x,y) (also denoted pythonxy) is a free (GPLv3 licensed) scientific and engineering development software. It is a tool for numerical computations, data analysis and data visualization based on the Python programming language,

Python(x,y) can:

  • perform interactive calculations,
  • plot 2D and 3D graphs or symbolic maths.
  • MATLAB-like functional programming or extensive object-oriented programming,
  • scripting complex scientific applications using Qt development framework and Spyder development environment,
  • support for parallel computing using multi-core/multi-processor computers or clusters.
72 questions
0
votes
0 answers

Error in starting spyder (for python). How to fix it?

I installed python(x,y) and spyder IDE comes buit-in with that. I installed python(x,y) home 2.7.5.2 for Windows 7 x64. However when I select spyder with debug option, I get following error: Usage: spyder [options] files spyder: error: no such…
user3215074
  • 103
  • 1
  • 2
  • 7
0
votes
1 answer

Import errors after plugin updates for Python(x,y)

I am using Python(x,y) (version 2.7.3.1) with the Spyder ide. Everything was working perfectly until I updated the plugins. I updated Pandas to version 0.12.0-7, matplotlib to version 1.3.1-4, and numpy to version 1.6.2. I did this by downloading…
Anne Dwyer
  • 41
  • 1
  • 2
0
votes
2 answers

ipython not producing output graph using matplotlib

SO I have recently started trying to use ipython, I am finding I cannot get it to produce an output graph. I am running the following code in ipython: from sklearn import linear_model regr = linear_model.LinearRegression() regr.fit(x, y) pl.plot(x,…
AEA
  • 213
  • 2
  • 12
  • 34
0
votes
1 answer

Importing .py file requires importing a lot more

I'm using python 2.7 / pythonxy / Spyder. I've got a.py and b.py and I want to call a def from a.py in b.py. So I write "import a" in b.py but I get a load of errors. The errors appear to be caused by the fact that the numpy functions are not…
Guy dV
  • 3
  • 1
0
votes
1 answer

Cannot install sparsesvd on Windows 7 and PythonXY

I am trying to install the sparsesvd library on my PythonXY but I encounter some problems. My environment is a Windows 7, I have installed PythonXY 2.7.3.1 and mingw32 (gcc vand g++ ver. 4.7.2). I edited distutils.cygwinccompiler removing all…
Luca Massaron
  • 1,734
  • 18
  • 25
0
votes
1 answer

Print an arabic unicode string in Python(x,y)

I have an Arabic unicode string that I want to print in Python (using Python(x,y) on Windows 7), but I can't get it to print, only the unicode representation is printed out. The string is defined as: ss = u'\u0647\u0630\u0627 \u0647\u0648…
Mohamed Aly
  • 81
  • 1
  • 3
  • 8
0
votes
1 answer

Using gspread python lib in python x,y

import gspread rest of the code. error : Traceback (most recent call last): File "C:\QSTK\Examples\MyCodes\gspread.py", line 1, in import gspread when i try to run the code in spyder i get this error. the code works fine in python idle
piresashwin
  • 155
  • 4
  • 13
0
votes
1 answer

Display graph with button click in pyqt and python(x,y) matplotlibwidget

I have made a gui with qt designer and use pyqt. I added a matplotlibwidget which is provided with the python(x,y) package. How can I display a graph by clicking a button on the GUI? Thanks!
-1
votes
3 answers

How to (using console) put results in a txt. file or get complete results from a code that has already runned

i'm currently solving optimization problems with python. One problem takes about 5hrs to solve which result will appear (sadly) in console but not completely since it's a very big list. I'm wondering right now if there is anyway to get the solution…
-1
votes
3 answers

xlrd python does not work - "syntax error"

I'm trying to get familiar with xlrd so I copied an example into my IDE (spyder). I'm using python(x,y) 2.7.6.1 This is my example import xlrd import os filename=os.path.join("C:/","Desktop/myfile"): book = xlrd.open_workbook(filename) print "The…
user46147
  • 232
  • 1
  • 16
-1
votes
1 answer

Looping and Naming Variables in Python Bar Chart

I'm using matplotlib in Python to create a stacked bar chart showing order volume over the course of the day by hour, versus a calendar equivalent day last year. I've already arranged an array that includes today's and last year's order…
user1784454
  • 87
  • 1
  • 2
  • 5
-2
votes
2 answers

Python 2.7 function imports

When I say import numpy as np, I can access all the modules and submodules in numpy from np. I do not have to say np.matrixlib.matrix. What is this feature called? How do I implement this in my package.
1 2 3 4
5