Visual Studio 2017 or pycharm as python IDE?

klarklar

Supremacy Member
Joined
Jan 8, 2012
Messages
9,288
Reaction score
647
Question to python programmers. Which IDE do you use for python? Visual Studio community 2017 or pycharm or something else? What is your preference?

Thanks.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
Question to python programmers. Which IDE do you use for python? Visual Studio community 2017 or pycharm or something else? What is your preference?

Thanks.

General programming advice. Not limited to Python. My recommendation- VIM
 

jgyy1990

Arch-Supremacy Member
Joined
Apr 28, 2012
Messages
12,422
Reaction score
88
i recommend VS CODE, that IDE do have quite a few good extensions for python
 

MoxLotus

Master Member
Joined
Aug 21, 2007
Messages
2,982
Reaction score
4
Depends on what kind of programmer u r.
1. Hardcore - vim/emac
2. Other - VSCode, Atom, Sublime, notepad++
 

addictzz

Senior Member
Joined
May 30, 2010
Messages
2,489
Reaction score
0
vim is kinda useful for quick editing and quick codes but for prolonged coding, not sure why people would want vim when other user-friendly text editor are readily available.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
vim is kinda useful for quick editing and quick codes but for prolonged coding, not sure why people would want vim when other user-friendly text editor are readily available.

When you have the capability to manage a powerful editor like VIM, the so called friendly text editors out there are just gimmicky. Besides what many of you are not in situations where your existing text editor would be rendered useless so as standing infront of the server just next to the KVM or using another person system accessing the server remotely without your favourite editor installed and all you have is the text console via SSH. That is when your knowledge of a sophiscated text editor comes extremely useful as oppose to just a simple one. Especially one which can let you edit quickly and search fast using regex. I also use VIM to open up directories and zip files. When you have trained up yourself managing a “simple looking” text editor like vim or emacs , then other friendly editors out there are merely hmmmm “interesting”.

That being said, there is nothing wrong with using a sophisticated IDE completed with bells and whistles. I normally do those stuffs suspending out of the VIM using GREP, LS, TREE, FIND and then jump into VIM after I found the file, which the IDE offers easy to use features searching for something in files. There are stuffs that the IDE offers which VIM doesn’t do well which makes IDE attractive and I uses it too such as IntelliJ. However there is nothing in the whole that stops you from being good at both the tools and weld them at proper scenarios.

When you do a lot of editing with console text editors, you do learn to have a spatial understanding on where you put your configuration files, your source files and where binaries are found. You can quickly navigate to them without clicking graphically in a IDE. Learning a console text editor also trained you in learning your platform like whet your other tools are to help you quicker in editing within a console environment. I also open numerous console, using screen, using tmux and lots of other tools when I am doing editing. In situation I am editing across unstable network, i start up the screen to ensure my session is consistent should the network dropped halfway. And so you see, the kind of software engineering skill set a developer can adapt to when you use simple tools instead of just depending on one big sophisticated tool. So what kind of developer you want to be :)
 
Last edited:

addictzz

Senior Member
Joined
May 30, 2010
Messages
2,489
Reaction score
0
Overall I think I get your point and agree with most of it. Just a few comments though :)

When you have the capability to manage a powerful editor like VIM, the so called friendly text editors out there are just gimmicky. Besides what many of you are not in situations where your existing text editor would be rendered useless so as standing infront of the server just next to the KVM or using another person system accessing the server remotely without your favourite editor installed and all you have is the text console via SSH. That is when your knowledge of a sophiscated text editor comes extremely useful as oppose to just a simple one. Especially one which can let you edit quickly and search fast using regex. I also use VIM to open up directories and zip files. When you have trained up yourself managing a “simple looking” text editor like vim or emacs , then other friendly editors out there are merely hmmmm “interesting”.

Certainly have not been in this situation before despite working closely in infrastructure environment, that is why I have not really find a good use for console text editor like VIM. But this opens up my eyes on good use-case for console text editor (which I would just refer by VIM from now on despite availability of others like emacs or nano).

That being said, there is nothing wrong with using a sophisticated IDE completed with bells and whistles. I normally do those stuffs suspending out of the VIM using GREP, LS, TREE, FIND and then jump into VIM after I found the file, which the IDE offers easy to use features searching for something in files. There are stuffs that the IDE offers which VIM doesn’t do well which makes IDE attractive and I uses it too such as IntelliJ. However there is nothing in the whole that stops you from being good at both the tools and weld them at proper scenarios.

Certainly! For me, I use VIM in a situational-based scenario. Day to day I have not found good use case for VIM given I work with my own machines and I have the means to setup my choice of tools on any machines I will be working on. But learning VIM certainly helps in situation where my choice of tools are not and will not be readily available.

When you do a lot of editing with console text editors, you do learn to have a spatial understanding on where you put your configuration files, your source files and where binaries are found. You can quickly navigate to them without clicking graphically in a IDE. Learning a console text editor also trained you in learning your platform like whet your other tools are to help you quicker in editing within a console environment. I also open numerous console, using screen, using tmux and lots of other tools when I am doing editing. In situation I am editing across unstable network, i start up the screen to ensure my session is consistent should the network dropped halfway. And so you see, the kind of software engineering skill set a developer can adapt to when you use simple tools instead of just depending on one big sophisticated tool. So what kind of developer you want to be :)

Again, totally agree esp on this point. I am against dependency to certain tools (or languages, or technology, or desk, or keyboard, or table, or xxx) as it limits our flexibility. And I am all for learning VIM. Just that at the time of writing my previous comment and for my daily use-case, I have not found a good use for VIM. You open up my mind though. Huge thanks, David! :)
 

MoxLotus

Master Member
Joined
Aug 21, 2007
Messages
2,982
Reaction score
4
Overall I think I get your point and agree with most of it. Just a few comments though :)



Certainly have not been in this situation before despite working closely in infrastructure environment, that is why I have not really find a good use for console text editor like VIM. But this opens up my eyes on good use-case for console text editor (which I would just refer by VIM from now on despite availability of others like emacs or nano).



Certainly! For me, I use VIM in a situational-based scenario. Day to day I have not found good use case for VIM given I work with my own machines and I have the means to setup my choice of tools on any machines I will be working on. But learning VIM certainly helps in situation where my choice of tools are not and will not be readily available.



Again, totally agree esp on this point. I am against dependency to certain tools (or languages, or technology, or desk, or keyboard, or table, or xxx) as it limits our flexibility. And I am all for learning VIM. Just that at the time of writing my previous comment and for my daily use-case, I have not found a good use for VIM. You open up my mind though. Huge thanks, David! :)

Actually there is another reason on why vim, when using vim, you fingers are always placed at the home keys, you will never need to reach out for the mouse or the direction keypad on your keyboard. This allows one to get a compact keyboard which is 60% in size. So what impact does it have for a day to day programmer? it helps to reduce a lot of health issues related to the posture. e.g. shoulder/neck pain.

http://sph.washington.edu/news/article.asp?content_ID=1649

At the end of the day, pick the right tool for the right job.
 

addictzz

Senior Member
Joined
May 30, 2010
Messages
2,489
Reaction score
0
That's a correct statement but I wouldn't say ergonomics is a strong reason to use VIM. Ergonomic chair, correct sitting posture, standing desk are better reasons to help with shoulder pain.

Nevertheless I will be glad if this topic leads into mechanical keyboard :).
 

jgyy1990

Arch-Supremacy Member
Joined
Apr 28, 2012
Messages
12,422
Reaction score
88
coding in general i dont see any need for mechanical keyboard other than the satisfaction of typing on one.
 

cwchong

Master Member
Joined
Jan 7, 2005
Messages
4,654
Reaction score
96
coding in general i dont see any need for mechanical keyboard other than the satisfaction of typing on one.

It allows ur colleagues to think that u are hard at work when u are in reality spamming backspace most of the time
 

addictzz

Senior Member
Joined
May 30, 2010
Messages
2,489
Reaction score
0
learning VIM and indeed it's awesome. Need some practice to get used with all the shortcuts though.
 

tangent314

Moderator
Moderator
Joined
Jul 26, 2002
Messages
5,136
Reaction score
224
Since I'm already using Eclipse as my main IDE for other stuff, I just install PyDev plugin for it for python dev
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
learning VIM and indeed it's awesome. Need some practice to get used with all the shortcuts though.

Below is a workflow of how you can directly edit the contents of the zip file. Especially useful in cases where you need to edit some property files inside a JAR(also ZIP) file.

Code:
$ unzip -l file.zip
Archive:  file.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
       15  05-03-2018 16:11   a.txt
       15  05-03-2018 16:11   b.txt
---------                     -------
       30                     2 files
$ shasum file.zip
5e8e6969d05957d2dac97780c5c912dea5554cd2  file.zip

$ unzip -p file.zip a.txt
This is file A
$ unzip -p file.zip b.txt
This is file B

$ vim file.zip

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

" zip.vim version v28
" Browsing zipfile $HOME/SAMPLE/file.zip
" Select a file with cursor and press ENTER

a.txt
b.txt
~
~
~

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This is file A2
~
~
~
~
~
~
~
~
zipfile:$HOME/SAMPLE/file.zip::a.txt [+]
" Select a file with cursor and press ENTER
file.zip [RO]

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

$ shasum file.zip
212f0ebd3b3cf6b522d5dff11608d34db2a654e2  file.zip

$ unzip -l file.zip
Archive:  file.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
       16  05-03-2018 16:13   a.txt
       15  05-03-2018 16:11   b.txt
---------                     -------
       31                     2 files

$ unzip -p file.zip a.txt
This is file A2
$ unzip -p file.zip b.txt
This is file B

Another which you might be interested.
h7mh6cy.gif


While it is not useful for me, but I know some people just love to make things work for what they are not originally designed for. Doesn't hurt to just try out though.
 
Last edited:

addictzz

Senior Member
Joined
May 30, 2010
Messages
2,489
Reaction score
0
@davidktw
feels that the in-zip file editing is quite useful. Dunno what the tetris one is for?

@moxlotus
be patient with newbie :)
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top