Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

from datetime import datetime import sys import csv import os class Bank: ifname = "" ofname = "" def __init__(self, ifile): self.ifname = ifile self.ofname = str(o...
Onanism Homework 15 5,851 Mar-24-2022, 04:30 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

When i run the script it gives empty rows
Onanism Homework 15 5,851 Mar-24-2022, 01:09 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

I have edit the code now it gives the error Error:c:\tmp>python file.py import.csv Traceback (most recent call last): File "c:\tmp\file.py", line 62, in <module> bank.gencsvk() File...
Onanism Homework 15 5,851 May-23-2021, 01:34 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

I have replace line 27 ofile = open(self.ofname, "wb") with ofile = open(self.ofname, "w", encoding='utf-8')No I am getting the error's Traceback (most recent call last): File "c:\TMP\knab.py", l...
Onanism Homework 15 5,851 May-21-2021, 06:43 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

Running the commando python knab.py import.csv gave the error. Traceback (most recent call last): File "C:\TMP\knab.py", line 63, in <module> bank.gencsvk() File "C:\TMP\knab.py", line...
Onanism Homework 15 5,851 May-20-2021, 04:46 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: RE: How do I use tabs and spaces? (how to resolve ...

Now it it gives the IndexError: list index out of range line 59 bank = Bank(sys.argv[1])
Onanism Homework 15 5,851 May-17-2021, 05:47 PM
    Thread: How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Post: How do I use tabs and spaces? (how to resolve erro...

Hello I like to import transactions into Gnu-Cash. By default my bank export is not suitable for Gnu-cash. To make it suitable I need to run it through a Python script. I am using this script below th...
Onanism Homework 15 5,851 May-16-2021, 12:32 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020