galaxywar01 / galaxywar01/split_file

Error 'NoneType' object has no attribute 'write' with .exe from .py

Open
#1 0 comments 0 reactions 1 assignee Claimed by @galaxywar01 View on GitHub
good first issue help wanted question
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi,
first try publishing in this platform so here is my problem.
I have this code. And it is supposed to take a csv file with x000 lines and split it into x csv files with 1000 max lines. The problem is...
I turned it into an .exe and when i use it there's no problem, but when i try give it to another pc it doen't matter if i do it with zip, zip with password, or usb o any other method it always give the same error:
Error : 'NoneType' object has no attribute 'write':

Has this problem ever happend to anyone? if yes how to solve it? thanks in advance

[split_file.txt](https://github.com/user-attachments/files/17145619/split_file.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.