Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
my "keep" script
#31
i do pretty much all my coding under cc0. i waited until the fsf said it was gpl-compatible (its mit compatible too.)

no one here is going to steal my code-- i mostly do stuff for python 2!

(ive made a python 3 version of some of my code, the encoding works most of the time...)

this code isnt getting stolen by anyone. its like cheap ugly sunglasses-- no ones taking those:

    if fon == "nt": sep = chr(13) + chr(10)
    try: figfilehandles[s].write(bytes(str(x) + sep,encoding="latin-1").decode("utf-8"))
    except UnicodeDecodeError: figfilehandles[s].write(str(x) + sep)
    except UnicodeEncodeError: figfilehandles[s].write(str(x) + sep)
Reply
#32
that's why my street car is an old beat up Ford ... no one would steal it so i can leave the windows down.
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