Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Replace characters from file in Python 2.7
Post: RE: Replace characters from file in Python 2.7

Hello, I use three methods to replace "\xe2\x80\x9c and" "\xe2\x80\x9d" : The first give me a good result stripped = lambda s: "".join(i for i in s if 31 < ord(i) < 127) #en dur ça marche print...
melmouja General Coding Help 2 2,454 Feb-04-2019, 01:32 PM
    Thread: Replace characters from file in Python 2.7
Post: Replace characters from file in Python 2.7

Hello I can't replace more strings from file, i use two ways:function lambda expr regulier #! /bin/python import re import sys import fileinput import os stripped = lambda s: "".join(i for i in s...
melmouja General Coding Help 2 2,454 Feb-03-2019, 09:54 PM

User Panel Messages

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