473,486 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Autocompletion and Interactive Tables in a Python IDE

Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...t_figure02.tif
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..

Thanks in advance.
Jul 23 '08 #1
7 1781
On Jul 23, 4:28 pm, Anthony <ajdam...@gmail.comwrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:http://www.vfpconversion.com/Article...0209071&Image=...
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..
You're looking at it the wrong way. A programming language's strength
is not the availability if IDEs that exist for it. It might be a bit
convenient, depending on the circumstances, but it is, by no means,
what makes a language a good language, because it's actually not a
property of the language itself. And if you're new to any programming
language in particular, that's actually the lesser of the things you
should be worrying about.

However, when you become more experienced and need to be more
productive, that might be problem. It's a shame that there aren't as
much IDEs for Python as there are for, e.g., Java or C++. I usually
use Komodo. Then there's the one you mentioned, Eclipse. You'll
probably get more replies mentioning a lot of others, but what I think
I should point out is that you seem to be overrating the importance of
it.

Sebastian

Jul 24 '08 #2
Anthony wrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...t_figure02.tif
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..

Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list

You might want to try vim. It has a steep learning curve, but definitely
increases productivity _alot_.

Here is a tutorial on setting up vim with :
1) Code completion (intellisense) - including tooltips (!!!)
2) Jump between your python code and the python class libraries.
3) Syntax checking
4) A handy source browser
5) Debugging (using pdb)
6) [All the other vim goodies - already included]
Above instructions available here
http://blog.sontek.net/2008/05/11/py...dular-ide-vim/

I have been using the above setup for a while and find it superior to
_any_ IDE I've ever worked with.

I'm not sure what you mean by 'Data-Orientation' but I'm sure there's a
suitable alternative/replacement for it in vim.

Regards

Nicolaas

--

The three things to remember about Llamas:
1) They are harmless
2) They are deadly
3) They are made of lava, and thus nice to cuddle.
Jul 24 '08 #3
On Wed, Jul 23, 2008 at 5:28 PM, Anthony <aj******@gmail.comwrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...t_figure02.tif
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..
I don't know of any python IDE that provides the data orientation
feature, but there may be an Eclipse plugin for that sort of thing.

Otherwise, if you're on windows, check out PyScripter, which is free:

http://mmm-experts.com/Products.aspx?ProductId=4

and WingIDE which is quite nice and cross-platform (not free, though):

http://www.wingware.com/

I use Vim, which is worth learning IMHO, but somewhat difficult to get
started with especially if you're coming from FoxPro.
Jul 24 '08 #4
On Wed, Jul 23, 2008 at 5:28 PM, Anthony <aj******@gmail.comwrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...t_figure02.tif
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..
BTW, if you're developing for windows, you may also want to check out
IronPython which plugs into the Visual Studio framework, I believe:

http://www.codeplex.com/IronPython
http://www.codeplex.com/IronPythonStudio
Jul 24 '08 #5
FoxPro is data-oriented, which means that at any time you have any
number of data sets open in the workspace and browse them immediately
by running one line of code in the command window. It's a really
important feature in terms of efficiency; I don't want to have to move
back and forth between SPSS and an IDE when I'm figuring out what code
to write, that takes six keystrokes for what FoxPro can do in one.
Again, here's what the BROWSE command presents:

http://www.vfpconversion.com/Article...t_figure02.tif
Does VIM have the capability to keep data open? -- Do any of these
IDEs have this browse capability??

On Jul 24, 4:10*am, Aspersieman <aspersie...@gmail.comwrote:
Anthony wrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. *I do a lot of statistical programming, so I import SPSS
into python. *In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily
Python's IDLE has only half of the first of these features. *I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. *I'm still missing b and
c, and am getting extremely frustrated programming so slowly..
So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? *If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..
and
How can I view open SPSS data in one of the Python GUIs? *Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...0209071&Image=...
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..
What can I do? *I feel extremely inefficient when I don't have these
three features..
Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list

You might want to try vim. It has a steep learning curve, but definitely
increases productivity _alot_.

Here is a tutorial on setting up vim with :
* * 1) Code completion (intellisense) - including tooltips (!!!)
* * 2) Jump between your python code and the python class libraries.
* * 3) Syntax checking
* * 4) A handy source browser
* * 5) Debugging (using pdb)
* * 6) [All the other vim goodies - already included]
Above instructions available herehttp://blog.sontek.net/2008/05/11/python-with-a-modular-ide-vim/

I have been using the above setup for a while and find it superior to
_any_ IDE I've ever worked with.

I'm not sure what you mean by 'Data-Orientation' but I'm sure there's a
suitable alternative/replacement for it in vim.

Regards

Nicolaas

--

The three things to remember about Llamas:
1) They are harmless
2) They are deadly
3) They are made of lava, and thus nice to cuddle.
Jul 24 '08 #6
>
On Jul 24, 4:10 am, Aspersieman <aspersie...@gmail.comwrote:
>Anthony wrote:
>>Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily

Python's IDLE has only half of the first of these features. I did a
lot of searching and found the PyDev extensions for Eclipse's Python
IDE, and found that they've got Intellisense. I'm still missing b and
c, and am getting extremely frustrated programming so slowly..

So two questions:
Is there any package, gui, IDE, anything that will do FoxPro-style
code completion? If it works in Eclipse, even better..
I can't find a good screenshot, but here's a better description:
You type "BROW" and it pops up a window that says "BROWSE" ..at this
point if you hit enter it completes the word..

and

How can I view open SPSS data in one of the Python GUIs? Again,
Eclipse would be the preference.
Here's an example of how I'd like to browse the data:
http://www.vfpconversion.com/Article...0209071&Image=...
I don't want to have to switch back and forth between Python and SPSS
while I'm programming; I just want to stay in one of them..

What can I do? I feel extremely inefficient when I don't have these
three features..

Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list
You might want to try vim. It has a steep learning curve, but definitely
increases productivity _alot_.

Here is a tutorial on setting up vim with :
1) Code completion (intellisense) - including tooltips (!!!)
2) Jump between your python code and the python class libraries.
3) Syntax checking
4) A handy source browser
5) Debugging (using pdb)
6) [All the other vim goodies - already included]
Above instructions available herehttp://blog.sontek.net/2008/05/11/python-with-a-modular-ide-vim/

I have been using the above setup for a while and find it superior to
_any_ IDE I've ever worked with.

I'm not sure what you mean by 'Data-Orientation' but I'm sure there's a
suitable alternative/replacement for it in vim.

Regards

Nicolaas

--
Anthony wrote:
FoxPro is data-oriented, which means that at any time you have any
number of data sets open in the workspace and browse them immediately
by running one line of code in the command window. It's a really
important feature in terms of efficiency; I don't want to have to move
back and forth between SPSS and an IDE when I'm figuring out what code
to write, that takes six keystrokes for what FoxPro can do in one.
Again, here's what the BROWSE command presents:

http://www.vfpconversion.com/Article...t_figure02.tif
Does VIM have the capability to keep data open? -- Do any of these
IDEs have this browse capability??
I see what you mean by 'Data Oriented', however I'm not aware of such a
'data set' persistence functionality in vim. You can set up a similar
(to FoxPro) environment using DBExt [1] plugin in vim and by using its
(vims') built-in session functionality. To set up dbext for FoxPro in
vim you might need to use ODBC but it should be quite straight forward
provided you read the help.

I work on SQL Server (using python and vim) and frequently have many
queries result sets open that I'm busy with. When I have to go, all I do
is save my session in vim. When I return the next day, I open the
session, and it there I have all the queries (not the data sets they
return (however you can save that too)) and scripts etc, I was working
on. To execute a query (even one embedded in some python code) I merely
select the lines the query is on and type the key-mapping (I set up) to
execute the query (3 key strokes) and I can view the result set in a
split window below the current one.

The aforementioned vim setup for python [2] and the DBExt plugin for vim
give me all the functionality I need to develop python and/or database
applications/scripts in one editor (IDE?). Also, there are so many other
useful plugins [3] for vim I have no need of any other IDE (I've
replaced Visual Studio .Net with vim as my IDE for Asp.Net
applications). I'm sure that vim can meet all the required features you
wanted initially.

[1] http://www.vim.org/scripts/script.php?script_id=356
[2] here it is again :
http://blog.sontek.net/2008/05/11/py...dular-ide-vim/
[3] http://www.vim.org/scripts/script.php?script_id=1318 and
http://www.vim.org/scripts/script.php?script_id=910 and
http://vim.sourceforge.net/scripts/s...p?script_id=69 and
http://www.vim.org/scripts/script.php?script_id=1658

Hope this helps :)

Regards

Nicolaas

--

The three things to remember about Llamas:
1) They are harmless
2) They are deadly
3) They are made of lava, and thus nice to cuddle.
Jul 24 '08 #7
Anthony wrote:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual FoxPro 9.0
were:
a) Intellisense (tells you what classes/methods are available and what
variables go into a function)
b) Code Completion (guesses your code after four letters)
c) Data-Orientation; multiple data sessions can be open, data can be
viewed easily
For Windows users, PyScripter provides
a) and b). I don't understand what
you are seeking with c).

Colin W.
Jul 25 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3555
by: Avi Berkovich | last post by:
Hello, I was unable to use popen2.popen4 to grab python.exe's (2.3) output, for starts, it doesn't show the version information at the beginning and won't return anything when writing to the...
20
2416
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I...
2
7788
by: Charles Krug | last post by:
List: I'm trying to us pylab to see what I'm doing with some DSP algorithms, in case my posts about convolution and ffts weren't giving it away. I've been using pylab's plot function, but I'm...
3
1679
by: qwweeeit | last post by:
Hi all, is it possible to enter an interactive session and automatically do some initialization? I explain better: I want that when I start interactive Python on a console (I use Linux) two...
13
3319
by: dmh2000 | last post by:
I am experimenting with the interactive interpreter environments of Python and Ruby and I ran into what seems to be a fundamental difference. However I may be doing something wrong in Python....
2
2162
by: Adam Blinkinsop | last post by:
I'm writing a set of modules to monitor remote system services, and I'm having a problem running my test scripts. When I pass the scripts into python, like so: -- $ PYTHONPATH="${TARGET_DIR}"...
2
1382
by: Papalagi Pakeha | last post by:
Hi all, How can I turn on autocompletion when I push <tabin python 2.5.1 interactive mode? E.g. to give me a list of all methods and attributes of a given object. It works great on my Linux /...
3
1869
by: R. Bernstein | last post by:
The next release of pydb will have the ability to go into ipython from inside the debugger. Sort of like how in ruby-debug you can go into irb :-) For ipython, this can be done pretty simply;...
8
5564
by: james.kirin39 | last post by:
Hi everyone, After having used Python on Linux for some time, I now have to do Python coding on Windows. I am big fan of the interactive Python shell to test, eg, regexps. Is there an...
0
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.