Python Forum
Help with try and open 6.txt file and print as perfect or not
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with try and open 6.txt file and print as perfect or not
#3
I'm getting this error. I still need help thanks.

Traceback (most recent call last):
File "C:\Python27\perfect numbers cheker.py", line 19, in <module>
with open('c:\python27\6.txt', buffering=1*MB) as bigggg:
IOError: [Errno 22] invalid mode ('r') or filename: 'c:\\python27\x06.txt'
Reply


Messages In This Thread
RE: Help with try and open 6.txt file and print as perfect or not - by Pleiades - Jan-02-2019, 02:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Open/save file on Android frohr 0 363 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 1,270 Dec-14-2023, 08:03 AM
Last Post: shanoger
  Are there errors in the code for my coin toss systems? Matlibplot is too perfect . Coolkat 0 411 Nov-13-2023, 11:54 AM
Last Post: Coolkat
  How can i combine these two functions so i only open the file once? cubangt 4 919 Aug-14-2023, 05:04 PM
Last Post: snippsat
  Start print a text after open an async task via button Nietzsche 0 736 May-15-2023, 06:52 AM
Last Post: Nietzsche
  I cannot able open a file in python ? ted 5 3,533 Feb-11-2023, 02:38 AM
Last Post: ted
  testing an open file Skaperen 7 1,432 Dec-20-2022, 02:19 AM
Last Post: Skaperen
  Saving the print result in a text file Calli 8 1,908 Sep-25-2022, 06:38 PM
Last Post: snippsat
  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str decoded 1 1,433 May-06-2022, 01:44 PM
Last Post: Larz60+
  failing to print not matched lines from second file tester_V 14 6,230 Apr-05-2022, 11:56 AM
Last Post: codinglearner

Forum Jump:

User Panel Messages

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