Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about nothing

Read more about nothing

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - nothing

Python file handling / counting amounts in file

This code is to read from a file then count the amount of times the same ip comes up and print the results to a file i have made called results.csv, it is printing to the PowerShell on python but not ...
test-img

papabeale

file

printing

counting

nothing

Votes: 0

Answers: 1

Latest Answer

Not sure what happens if you indent it wrong like this: But if that's the place where your bug is, I'm guessing it's the reason. This is how you indent if-else: for key in iplist.keys(): line = &...
test-img

James Z

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved