Python Forum
looks like i need to rename something
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
looks like i need to rename something
#1
this is the name of a set of scripts in bash that i started to convert to python. i did o.py (the subject of another post) and i.py. the 3rd one is io.py which conflicts with a module.

Output:
lt2a/forums /home/forums 1> python3 Python 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> exit() lt2a/forums /home/forums 2> touch io.py lt2a/forums /home/forums 3> python3 Fatal Python error: Py_Initialize: can't initialize sys standard streams AttributeError: module 'io' has no attribute 'OpenWrapper' Current thread 0x00007f2f838b5700 (most recent call first): Aborted (core dumped) lt2a/forums /home/forums 4>
there was also a "whoopsie" pop-up reporting this. it also created an entry in /var/crash.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

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