LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-07-2008, 01:32 PM   #1
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
Kate - Writing Python programs PEP-8


I don't program enough to use VI or Emacs, so I've always just used Kate.

I recently started learning python, and I am trying to follow the style guide outlined in PEP-8, which states:
Use 4 spaces per indentation level

The default setting in Kate for Python code is 2 spaces per indentation level. I changed this very easily in the settings to align with PEP-8, but does anyone know why Kate doesn't follow PEP-8?

Surely the default setting in Kate should align with the recommended default indentation for Python?
 
Old 12-08-2008, 12:00 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,740

Rep: Reputation: 298Reputation: 298Reputation: 298
Did you go to the Tools menu, Indentatiion, and select Python Style?
 
Old 12-08-2008, 01:03 PM   #3
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bigrigdriver View Post
Did you go to the Tools menu, Indentatiion, and select Python Style?
I did indeed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Writing a Package in Python LXer Syndicated Linux News 0 09-22-2008 02:50 PM
Writing my own RPG in Python dudeman41465 Programming 1 05-05-2006 01:14 PM
LXer: Harley-Davidson, Pep Boys go Linux LXer Syndicated Linux News 0 04-05-2006 09:21 AM
Problem writing an extension for python! tuxfood Programming 0 01-09-2006 05:06 AM
Kate Is Not Working, Kate editor is not starting in Redhat 9 apur Linux - General 4 05-11-2004 09:52 AM


All times are GMT -5. The time now is 02:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration