Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-03 Thread Ian Hill
If you don't need to do any specific data analysis using pandas, try openpyxl. It will read xlsm files and it quite straight forward to use. https://openpyxl.readthedocs.io/en/stable/ pip install openpyxl. Ian -- https://mail.python.org/mailman/listinfo/python-list

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Chris Angelico
On Wed, Sep 2, 2020 at 11:43 AM Steve wrote: > > >> Requires numpy, dateutil, pytz, setuptools, and optionally numexpr, > >> bottleneck, scipy, matplotlib, pytables, lxml, xarray, blosc, snappy, > >> brotlipy, backports.lzma, statsmodels, sqlalchemy, psycopg2, and whatnot. > > >It means you

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
From: Chris Angelico Sent: Tuesday, September 1, 2020 5:08 PM To: Steve Cc: Python Subject: Re: What kind of magic do I need to get python to talk to Excel xlsm file? On Wed, Sep 2, 2020 at 6:59 AM Steve wrote: > > Wow, that is quite a list > Here is what I narrowed it down t

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Chris Angelico
On Wed, Sep 2, 2020 at 6:59 AM Steve wrote: > > Wow, that is quite a list > Here is what I narrowed it down to. What does that paragraph starting with > "Requires" mean? > > === > Pandas: a cross-section and time series data analysis toolkit. > > Requires

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
lar system solely inhabited by functioning robots. -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Tuesday, September 1, 2020 4:44 PM To: Python Subject: Re: What kind of magic do I need to get python to talk to Excel xlsm file? On Wed, Sep 2, 2020 at 6:17 AM St

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Chris Angelico
On Wed, Sep 2, 2020 at 6:17 AM Steve wrote: > > Ok, I think I ran into this about a year ago when this was suggested back > then. > > I entered “pip install pandas” > > I am told to “install Anaconda which can be deleted later” (huh?) > Then it tells me “Installing with “Miniconda” (huh? Huh?)

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
to create a pandas development environment. And the music goes round and round….. FootNote: If money does not grow on trees, then why do banks have branches? From: Jeffrey Powell Sent: Tuesday, September 1, 2020 5:33 AM To: Steve Subject: Re: What kind of magic do I need to get

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Akkana Peck
Steve writes: > Glutton for punishment, I am looking into designing another .py program. I > would like to pull two columns of information from Excel but the more I look I've found the xlrd module easy to use for extracting data from Excel files. But I've only used it on .xsl and .xsls. I've

Re: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Peter Otten
Steve wrote: > Glutton for punishment, I am looking into designing another .py program. > I would like to pull two columns of information from Excel but the more I > look > into coding on the 'net, the more confusing it looks. I don't understand > what I need to import or install to get the

What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
Glutton for punishment, I am looking into designing another .py program. I would like to pull two columns of information from Excel but the more I look into coding on the 'net, the more confusing it looks. I don't understand what I need to import or install to get the link. Steve Footnote:

Re: Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-27 Thread Chris Green
Liste guru wrote: > Il 24/07/2020 10:31, Chris Green ha scritto: > > >    ... > > > I'm a *fairly* competant Python programmer so, if I have to, I > > willconsider converting from using the gtk module to using the gi > > module,are there any good tutorials which might help me down this road?

Re: Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-25 Thread Michael Torrie
fault python and the Oki software no > longer runs. > > The error I am getting is:- > > chris@esprimo$ ./scantool.py > Traceback (most recent call last): > File "./scantool.py", line 52, in > import gtk > ImportError: No module named gtk >

Re: Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-25 Thread Liste guru
Il 24/07/2020 10:31, Chris Green ha scritto:    ... I'm a *fairly* competant Python programmer so, if I have to, I willconsider converting from using the gtk module to using the gi module,are there any good tutorials which might help me down this road?    If you look at the pygobject

Re: Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-24 Thread Chris Green
Akkana Peck wrote: > Chris Green writes: > > I have recently upgraded my desktop system from ubuntu 19.10 to ubuntu > > 20.04. [ ... ] > > The error I am getting is:- > [ ... ] > > ImportError: No module named gtk > > > > So what do I need to in

Re: Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-23 Thread Akkana Peck
Chris Green writes: > I have recently upgraded my desktop system from ubuntu 19.10 to ubuntu > 20.04. [ ... ] > The error I am getting is:- [ ... ] > ImportError: No module named gtk > > So what do I need to install on my Ubuntu 20.04 system to provide the > gtk modu

Need to 'import gtk' on Ubuntu 20.04, what do I need?

2020-07-23 Thread Chris Green
getting is:- chris@esprimo$ ./scantool.py Traceback (most recent call last): File "./scantool.py", line 52, in import gtk ImportError: No module named gtk So what do I need to install on my Ubuntu 20.04 system to provide the gtk module? Alternatively (but m

Re: Do I need setters/getters in python?

2020-06-08 Thread Terry Reedy
value... do I need a setter/getter at all? No! -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list

Do I need setters/getters in python?

2020-06-08 Thread zljubisic
}') a = Dynamic() print(f'x = {a.x}') a.x = 2 print(f'x = {a.x}') Output is the same: x = 1 x = 2 x = 1 x = 2 If I have public property and I am not doing any transformation with data that is used to sat variable value... do I need a setter/getter at all? Is there any

Re: Do I need a parser?

2019-07-08 Thread josé mariano
On Saturday, 29 June 2019 13:40:06 UTC+1, josé mariano wrote: > Dear all, > > I'm sure that this subject has been addressed many times before on this > forum, but my poor knowledge of English and of computer jargon and concepts > results on not being able to find the answer i'm looking for

Re: Do I need a parser?

2019-07-02 Thread Michael Torrie
On 07/02/2019 12:47 PM, Thomas Jollans wrote: > Obviously, as Cameron points out, using Python instead of a custom > scripting language has security implications, that go with the increased > power that the user has. I've always found this kind of thing to be a bit strange. I do understand where

Re: Do I need a parser?

2019-07-02 Thread Thomas Jollans
On 01/07/2019 17:23, josé mariano wrote: > Dear All, > > Thank you very much for your valuable input. > Thanks Alan for your kind words. I'm not Spanish, I'm Portuguese, but I know > what you mean. > Thomas, I was able to track down the author but he is not willing to release > the source code.

Re: Do I need a parser?

2019-07-02 Thread Mario R. Osorio
On Saturday, June 29, 2019 at 8:40:06 AM UTC-4, josé mariano wrote: > Dear all, > > I'm sure that this subject has been addressed many times before on this > forum, but my poor knowledge of English and of computer jargon and concepts > results on not being able to find the answer i'm looking

Re: Do I need a parser?

2019-07-01 Thread Cameron Simpson
On 01Jul2019 08:23, josé mariano wrote: The new software would use a settings files in one "standard" format. I like INI. It's note very powerful, but is easy to read and enough for the matter at hand. I could then use configparser to parse the settings to the main module. One separate module

Re: Do I need a parser?

2019-07-01 Thread josé mariano
Dear All, Thank you very much for your valuable input. Thanks Alan for your kind words. I'm not Spanish, I'm Portuguese, but I know what you mean. Thomas, I was able to track down the author but he is not willing to release the source code. The executable is free but apparently the source is

Re: Do I need a parser?

2019-06-29 Thread Alan Meyer via Python-list
On 6/29/19 8:39 AM, josé mariano wrote: Dear all, I'm sure that this subject has been addressed many times before on this forum, but my poor knowledge of English and of computer jargon and concepts results on not being able to find the answer i'm looking for when I search the forum. So here

Re: Do I need a parser?

2019-06-29 Thread bob gailer
I might be able to help. I'd need to understand a bit more about the configuration and scripting languages. Do you have any reference material? Or some way to look up the titration device on the internet? -- Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Do I need a parser?

2019-06-29 Thread Thomas Jollans
On 29/06/2019 14:39, josé mariano wrote: Dear all, I'm sure that this subject has been addressed many times before on this forum, but my poor knowledge of English and of computer jargon and concepts results on not being able to find the answer i'm looking for when I search the forum. So here

Do I need a parser?

2019-06-29 Thread josé mariano
Dear all, I'm sure that this subject has been addressed many times before on this forum, but my poor knowledge of English and of computer jargon and concepts results on not being able to find the answer i'm looking for when I search the forum. So here is my problem: I have this open source

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Peter J. Holzer
On 2019-03-30 15:57:55 +0530, Arup Rakshit wrote: > This is awesome. Now where should I put my source code? I see many folders > into it. You don't. In my opinion virtual environments should be expendable: You can destroy and recreate them at will. That leaves two possibilies: 1) Use a "central

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Arup Rakshit
Hi Peter, This is awesome. Now where should I put my source code? I see many folders into it. Thanks, Arup Rakshit a...@zeit.io > On 30-Mar-2019, at 3:26 PM, Peter Otten <__pete...@web.de> wrote: > > Arup Rakshit wrote: > >> Hello All, >> >> Thanks I got it now. >> >> One related

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Peter Otten
Arup Rakshit wrote: > Hello All, > > Thanks I got it now. > > One related question: Can I use pip3 for example to install packages > project specific, but not globally? So that when I delete the project, all > of them gone also from my disk. For that you can create a "virtual environment": $

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Arup Rakshit
Hello All, Thanks I got it now. One related question: Can I use pip3 for example to install packages project specific, but not globally? So that when I delete the project, all of them gone also from my disk. Thanks, Arup Rakshit a...@zeit.io > On 30-Mar-2019, at 2:05 PM, Cameron Simpson

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Nagy László Zsolt
  Hello, It depends on the operating system. For example on Ubuntu, the default python version is still 2.7. When you install both python2.7 and python3 on a system, then usually the "pip" will be a symlink to pip version 2 or 3. The default python interpreter can be different on different

Re: Why do I need to use pip3 but not pip

2019-03-30 Thread Cameron Simpson
On 30Mar2019 13:50, Arup Rakshit wrote: When I read this https://pip.pypa.io/en/stable/installing/ it says I have the pip installed when I installed the python from official doc. But when I run the `pip` command from shell, I get error, but pip3 works. ~/python_playground ▶ pip --version

Why do I need to use pip3 but not pip

2019-03-30 Thread Arup Rakshit
Hi, When I read this https://pip.pypa.io/en/stable/installing/ it says I have the pip installed when I installed the python from official doc. But when I run the `pip` command from shell, I get error, but pip3 works. ~/python_playground

Re: Which Python do I need for the below?

2015-08-01 Thread Rustom Mody
On Saturday, August 1, 2015 at 10:07:37 PM UTC+5:30, Emile van Sebille wrote: On 7/29/2015 10:52 AM, Joe Sanders wrote: Hello- Which Python do I need for the below? with instructions please! [cid:image001.png@01D0C9FD.677CDED0] Seeing that you have no responses yet I'm guessing most

Which Python do I need for the below?

2015-08-01 Thread Joe Sanders
Hello- Which Python do I need for the below? with instructions please! [cid:image001.png@01D0C9FD.677CDED0] Kind Regards, GeraldJoeSanders Customer Global Quality Accounts 951 SanDisk Drive, building #5 | Milpitas, CA 95035 USA | cell +1,512.818.7798 corporate + 1.408.801.1000 | joe.sand

Re: Which Python do I need for the below?

2015-08-01 Thread Emile van Sebille
On 7/29/2015 10:52 AM, Joe Sanders wrote: Hello- Which Python do I need for the below? with instructions please! [cid:image001.png@01D0C9FD.677CDED0] Seeing that you have no responses yet I'm guessing most potential responders along with me are not opening attachments. If the image

Re: Which Python do I need for the below?

2015-08-01 Thread Mark Lawrence
On 29/07/2015 18:52, Joe Sanders wrote: Hello- Which Python do I need for the below? with instructions please! Kind Regards, *GeraldJoeSanders* For your 32 bit machine https://www.python.org/downloads/release/python-343/ Windows x86 MSI installer which is the last one listed. -- My

Re: Which Python do I need for the below?

2015-08-01 Thread Emile van Sebille
On 8/1/2015 10:09 AM, Rustom Mody wrote: On Saturday, August 1, 2015 at 10:07:37 PM UTC+5:30, Emile van Sebille wrote: Seeing that you have no responses yet I'm guessing most potential responders along with me are not opening attachments. Most recipients are not receiving at all! [I only

Re: Do I need license to release the Python version of old BASIC games?

2015-06-22 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 22:23:54 -0600, Michael Torrie writes: From some brief research, it appears there is some question about the ability to declare something to be in the public domain, but it is by no means a sure thing and lots of people feel it's just fine to declare something to

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Chris Angelico
On Mon, Jun 22, 2015 at 9:54 AM, C.D. Reimer ch...@cdreimer.com wrote: On 6/21/2015 3:02 PM, Marko Rauhamaa wrote: As they say, tell that to the judge. More than likely, the original copyright owner can issue an DMCA take down notice and that will be end of that. Or, alternatively, the

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Steven D'Aprano
On Mon, 22 Jun 2015 09:54 am, C.D. Reimer wrote: On 6/21/2015 3:02 PM, Marko Rauhamaa wrote: As they say, tell that to the judge. More than likely, the original copyright owner can issue an DMCA take down notice and that will be end of that. The way the DMCA is implemented in practice,

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Steven D'Aprano
On Mon, 22 Jun 2015 07:28 am, Michael Torrie wrote: As to the question of assigning a copyright license to code, in this case I suggest just releasing the code marked as public domain. Public domain is not a licence, and many places (including the US) do not allow individuals to put works into

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread C.D. Reimer
On 6/21/2015 3:02 PM, Marko Rauhamaa wrote: As they say, tell that to the judge. More than likely, the original copyright owner can issue an DMCA take down notice and that will be end of that. Thanks, Chris R. -- https://mail.python.org/mailman/listinfo/python-list

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Michael Torrie
On 06/21/2015 08:27 PM, Steven D'Aprano wrote: Public domain is not a licence, and many places (including the US) do not allow individuals to put works into the public domain. (US government works are a special case.) Some places will not recognise a public domain dedication, and will treat

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Chris Angelico
On Mon, Jun 22, 2015 at 2:23 PM, Michael Torrie torr...@gmail.com wrote: From some brief research, it appears there is some question about the ability to declare something to be in the public domain, but it is by no means a sure thing and lots of people feel it's just fine to declare something

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Michael Torrie
On 06/21/2015 03:52 PM, C.D. Reimer wrote: The copyright applies to the book (Do not redistribute, mirror, or copy this *online book*.) and any derivative work is based on the book. Using the video output from the BASIC games in the book could fall underneath the fair use provision, which

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Michael Torrie
On 06/21/2015 02:58 PM, Marko Rauhamaa wrote: Laura Creighton l...@openend.se: In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes: Do I need to release my scripts under a license? If so, which one? You should, because if you don't you could pop up some day and assert

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread C.D. Reimer
On 6/21/2015 1:58 PM, Marko Rauhamaa wrote: Converting BASIC games to Python results in derived works, which are under the original copyright of the BASIC games. From the given link: BASIC Computer Games is copyright © 1978 by David H. Ahl, and is posted on www.atariarchives.org

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes: Do I need to release my scripts under a license? If so, which one? You should, because if you don't you could pop up some day and assert copyright and sue the hell out of people who use your code, which means that many people

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Marko Rauhamaa
Laura Creighton l...@openend.se: In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes: Do I need to release my scripts under a license? If so, which one? You should, because if you don't you could pop up some day and assert copyright and sue the hell out of people who use your

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Marko Rauhamaa
C.D. Reimer ch...@cdreimer.com: Using the video output from the BASIC games in the book could fall underneath the fair use provision, which allows me to use a small portion of the book without infringing on the copyright. I'm not publishing a book. I just want to put my code on a website as

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Marko Rauhamaa
Michael Torrie torr...@gmail.com: On 06/21/2015 02:58 PM, Marko Rauhamaa wrote: Converting BASIC games to Python results in derived works, which are under the original copyright of the BASIC games. [...] I disagree. Especially where the resulting python program is not a transliteration

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread C.D. Reimer
On 6/21/2015 1:00 PM, Laura Creighton wrote: In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes: Do I need to release my scripts under a license? If so, which one? You should, because if you don't you could pop up some day and assert copyright and sue the hell out of people

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Mark Lawrence
On 21/06/2015 22:52, C.D. Reimer wrote: On 6/21/2015 1:58 PM, Marko Rauhamaa wrote: Converting BASIC games to Python results in derived works, which are under the original copyright of the BASIC games. From the given link: BASIC Computer Games is copyright © 1978 by David H. Ahl, and

Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread C.D. Reimer
in Creative Computing magazine and into book form in 1978. My Python scripts are faithful to the video output as listed in the book, but underlying code is vastly different than the BASIC code. Do I need to release my scripts under a license? If so, which one? Thanks, Chris R. -- https

Do I need to call close on the handle returned by urlopen?

2014-07-14 Thread krzysztof.zelechowski
The tutorial says that I should use with open to close the file handle properly. The reference documentation for urlopen mentions that the handle returned is like a file handle but the code samples below do not bother to close the handle at all. Isn’t it inconsistent? --

Re: Do I need to call close on the handle returned by urlopen?

2014-07-14 Thread Skip Montanaro
The tutorial says that I should use with open to close the file handle properly. The reference documentation for urlopen mentions that the handle returned is like a file handle but the code samples below do not bother to close the handle at all. Isn’t it inconsistent? I think two things

Re: Do I need to call close on the handle returned by urlopen?

2014-07-14 Thread krzysztof.zelechowski
http://bugs.python.org/issue12955 Użytkownik napisał w wiadomości grup dyskusyjnych:lq0sar$r6e$1...@mx1.internetia.pl... The tutorial says that I should use with open to close the file handle properly. The reference documentation for urlopen mentions that the handle returned is like a file

Re: Do I need to call close on the handle returned by urlopen?

2014-07-14 Thread Mark Lawrence
On 14/07/2014 15:59, krzysztof.zelechow...@syncron.com wrote: The tutorial says that I should use with open to close the file handle properly. The reference documentation for urlopen mentions that the handle returned is like a file handle but the code samples below do not bother to close the

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-06 Thread Wayne Werner
On Fri, 4 Jan 2013, Roy Smith wrote: In article mailman.105.1357349909.2939.python-l...@python.org, Cameron Simpson c...@zip.com.au wrote: On 01/04/13 01:34, Anssi Saari wrote: | Just curious since I read the same thing in a programming book recently | (21st century C). So what's the

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread Anssi Saari
Ben Finney ben+pyt...@benfinney.id.au writes: Hans Mulder han...@xs4all.nl writes: Don't bother: Python comes with a free IDE named IDLE. And any decent Unix-alike (most OSen apart from Windows) comes with its own IDE: the shell, a good text editor (Vim or Emacs being the primary

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread Chris Angelico
On Fri, Jan 4, 2013 at 6:34 PM, Anssi Saari a...@sci.fi wrote: Ben Finney ben+pyt...@benfinney.id.au writes: And any decent Unix-alike (most OSen apart from Windows) comes with its own IDE: the shell, a good text editor (Vim or Emacs being the primary candidates), and a terminal multiplexor

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread jrodkeyjr
If you are going to review an IDE, or multiple, I would recommend Komodo and Komodo Edit. On Thursday, December 27, 2012 2:01:16 PM UTC-6, mogul wrote: 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread Tim Chase
On 01/04/13 01:34, Anssi Saari wrote: Ben Finney ben+pyt...@benfinney.id.au writes: And any decent Unix-alike (most OSen apart from Windows) comes with its own IDE: the shell, a good text editor (Vim or Emacs being the primary candidates), and a terminal multiplexor (such as ‘tmux’ or GNU

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread Cameron Simpson
On 01/04/13 01:34, Anssi Saari wrote: | Just curious since I read the same thing in a programming book recently | (21st century C). So what's the greatness that terminal multiplexors | offer over tabbed terminals? Especially for software development? Do you include tiling terminal emulators? I

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-04 Thread Roy Smith
In article mailman.105.1357349909.2939.python-l...@python.org, Cameron Simpson c...@zip.com.au wrote: On 01/04/13 01:34, Anssi Saari wrote: | Just curious since I read the same thing in a programming book recently | (21st century C). So what's the greatness that terminal multiplexors | offer

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-03 Thread Gisle Vanem
Wayne Werner wa...@waynewerner.com wrote: Yep. That's how I feel. I had used ViEmu in Visual Studio for coding in .NET at work - but I found that the buffers macros were more powerful. So now I do most of my programming in Vim, and only head to VS if I need autocomplete or some of it's

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Neil Cerutti
On 2012-12-30, Jamie Paul Griffin ja...@kode5.net wrote: Stick with what you've been using for the last couple of decades. These tools have stood the test of time for a good reason: they're powerful, efficient and made for the task of programming. There is a good Python plugin for Vim that

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Neil Cerutti
On 2012-12-29, Roy Smith r...@panix.com wrote: emacs will parse that, highlight the filenames and line numbers and if I type M-`, it'll take me to the line of the next error (including opening the file if it's not already open). I assume other smart editors have similar capabilities.

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Matty Sarro
That's really a question for you - do you want the features of an IDE? Aptana includes pydev, and is built on eclipse which is a great swiss-army-knife IDE. If you like KISS, vim is an excellent choice. Go with whichever you are more comfortable using. On Wed, Jan 2, 2013 at 1:36 PM, Neil

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Michael Torrie
On 01/01/2013 11:43 AM, Mitya Sirenef wrote: Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times). Interesting. I typically use just d3w. 3daW seems to delete 3 lines for me, the same result as d3enter. Another favorite command is d or c followed by a number and then the right

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Mitya Sirenef
On 01/02/2013 04:33 PM, Michael Torrie wrote: On 01/01/2013 11:43 AM, Mitya Sirenef wrote: Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times). Interesting. I typically use just d3w. 3daW seems to delete 3 lines for me, the same result as d3enter. Another favorite command is

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Wayne Werner
On Wed, 2 Jan 2013, Michael Torrie wrote: On 01/01/2013 11:43 AM, Mitya Sirenef wrote: Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times). Interesting. I typically use just d3w. 3daW seems to delete 3 lines for me, the same result as d3enter. Another favorite command is d

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Wayne Werner
On Tue, 1 Jan 2013, Mitya Sirenef wrote: On 01/01/2013 02:02 PM, Roy Smith wrote: That's true with Vim, as well, especially when I'm making a custom mapping and I can NEVER remember what some combination does, even though if I actually needed to use it, it pops right out, so to find out, I have

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Wayne Werner
On Tue, 1 Jan 2013, Ramchandra Apte wrote: On Friday, 28 December 2012 01:31:16 UTC+5:30, mogul wrote: 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-02 Thread Mitya Sirenef
On 01/02/2013 10:17 PM, Wayne Werner wrote: On Tue, 1 Jan 2013, Mitya Sirenef wrote: On 01/01/2013 02:02 PM, Roy Smith wrote: That's true with Vim, as well, especially when I'm making a custom mapping and I can NEVER remember what some combination does, even though if I actually needed to use

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Cameron Simpson
On 01Jan2013 03:46, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: | On Sat, 29 Dec 2012 14:00:23 -0500, Mitya Sirenef wrote: | [...] For instance, if I need to change | a block inside parens, I type ci) (stands for change inside parens), | while with a regular editor I'd have to

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Tim Chase
On 01/01/13 04:12, Cameron Simpson wrote: I must admit I find Apple's help search box neat this way - you can type a keyword is it will actually find the menu item for you. Not that I use this for vi, of course... If you've not used it, Vim's :helpgrep command provides full Vim regexp power

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Mitya Sirenef
On 12/31/2012 10:46 PM, Steven D'Aprano wrote: On Sat, 29 Dec 2012 14:00:23 -0500, Mitya Sirenef wrote: I think the general idea is that with editors like Vim you don't get distracted by having to do some kind of an editor task, letting you keep your full attention on the code logic. For

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Roy Smith
In article mailman.1528.1357065822.29569.python-l...@python.org, Mitya Sirenef msire...@lightbird.net wrote: Clunky is the last word I'd use to describe it (ok maybe for Emacs :-) I probably remember about 200 commands, plus or minus, but a lot of them fit into a consistent scheme which makes

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Mitya Sirenef
On 01/01/2013 02:02 PM, Roy Smith wrote: In article mailman.1528.1357065822.29569.python-l...@python.org, Mitya Sirenef msire...@lightbird.net wrote: Clunky is the last word I'd use to describe it (ok maybe for Emacs :-) I probably remember about 200 commands, plus or minus, but a lot of

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread jussij
FWIW on the Windows platform the Zeus IDE has support for Python: http://www.zeusedit.com/python.html Zeus does the standard Python syntax highlighting, code completion, smart indenting, class browsing, code folding etc. Zeus also has limited Python debugger support and is fully scriptable

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Ramchandra Apte
On Friday, 28 December 2012 01:31:16 UTC+5:30, mogul wrote: 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly on my kubuntu desktop. Do I

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Adam Tauno Williams
On Thu, 2012-12-27 at 12:01 -0800, mogul wrote: 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly on my kubuntu desktop. Do I really need a real IDE, as the

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Hans Mulder
On 31/12/12 12:57:59, Adam Tauno Williams wrote: On Thu, 2012-12-27 at 12:01 -0800, mogul wrote: 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly on my kubuntu

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Ben Finney
Hans Mulder han...@xs4all.nl writes: Don't bother: Python comes with a free IDE named IDLE. And any decent Unix-alike (most OSen apart from Windows) comes with its own IDE: the shell, a good text editor (Vim or Emacs being the primary candidates), and a terminal multiplexor (such as ‘tmux’ or

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Chris Angelico
On Tue, Jan 1, 2013 at 9:46 AM, Ben Finney ben+pyt...@benfinney.id.au wrote: Hans Mulder han...@xs4all.nl writes: Don't bother: Python comes with a free IDE named IDLE. And any decent Unix-alike (most OSen apart from Windows) comes with its own IDE: the shell, a good text editor (Vim or

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread xDog Walker
On Monday 2012 December 31 14:46, Ben Finney wrote: “I bought some powdered water, but I don't know what to add.” Suggest to Stephen Wright to add hot coffee. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.org/mailman/listinfo/python-list

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Steven D'Aprano
On Sat, 29 Dec 2012 14:00:23 -0500, Mitya Sirenef wrote: I think the general idea is that with editors like Vim you don't get distracted by having to do some kind of an editor task, letting you keep your full attention on the code logic. For instance, if I need to change a block inside

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Steven D'Aprano
On Sun, 30 Dec 2012 09:30:10 +1100, Chris Angelico wrote: Absolutely! Though it's roughly as good to have the current cursor position shown in a status line somewhere, and takes up less real estate. But yes, vital to be able to see that. Even when I'm sitting *right next to* my boss and

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread Chris Angelico
On Tue, Jan 1, 2013 at 2:55 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sun, 30 Dec 2012 09:30:10 +1100, Chris Angelico wrote: Absolutely! Though it's roughly as good to have the current cursor position shown in a status line somewhere, and takes up less real estate.

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-30 Thread Jamie Paul Griffin
* Yuvraj Sharma aleast...@gmail.com [2012-12-28 01:37:23 -0800]: Use IDLE -- http://mail.python.org/mailman/listinfo/python-list The OP is already a proficient C, C++, perl, ... hacker using console based tools and hardcore UNIX editors like vi(1) - I doubt he'll stay with IDLE for very

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Monte Milanuk
On 12/27/2012 12:01 PM, mogul wrote: I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Do I really need a real IDE, as the windows guys around me say I do, or will vim, git, make and other standalone tools

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Chris Angelico
On Sun, Dec 30, 2012 at 4:44 AM, Monte Milanuk memila...@gmail.com wrote: Maybe its because I'm still just a hobbyist when it comes to coding, but I spend far more time 'thinking' about what I'm doing than typing things in... so shaving a few seconds here and there are less important to me.

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Grant Edwards
On 2012-12-27, mogul morten.gulda...@gmail.com wrote: I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly on my kubuntu desktop. Do I really need a real IDE, as the

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Mitya Sirenef
On 12/29/2012 12:44 PM, Monte Milanuk wrote: Maybe its because I'm still just a hobbyist when it comes to coding, but I spend far more time 'thinking' about what I'm doing than typing things in... so shaving a few seconds here and there are less important to me. I think the general idea is

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Roy Smith
Monte Milanuk memila...@gmail.com wrote: Maybe its because I'm still just a hobbyist when it comes to coding, but I spend far more time 'thinking' about what I'm doing than typing things in... If more professional programmers spent more time thinking and less type typing, the world would be

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-29 Thread Monte Milanuk
On 12/29/2012 11:52 AM, Roy Smith wrote: Chris Angelico ros...@gmail.com wrote: [regarding Bracket matching Language-sensitive auto-indentation and automatically indents Yeah, what he said, plus syntax coloring. And keyword highlighting. And autocompletion of variable names. I'll probably

  1   2   3   >