CODEPROGRAMMER Telegram 2912
🖥 Python cheat sheet, which contains small scripts for solving everyday problems

By the way, here are some of them:

✔️ add the sample.txt file to the .tar.gz archive:
import tarfile
with tarfile.open('sample.tar.gz', 'w:gz') as tar:
tar.add('sample.txt')


✔️ clear output of differences between strings
import difflib
diff = difflib.ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
'ore\ntree\nemu\n'.splitlines(keepends=True))
print(''.join(diff))


📎 Crib ✔️ #python

🌐 http://www.tgoop.com/codeprogrammer ✅️
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM



tgoop.com/CodeProgrammer/2912
Create:
Last Update:

🖥 Python cheat sheet, which contains small scripts for solving everyday problems

By the way, here are some of them:

✔️ add the sample.txt file to the .tar.gz archive:

import tarfile
with tarfile.open('sample.tar.gz', 'w:gz') as tar:
tar.add('sample.txt')


✔️ clear output of differences between strings
import difflib
diff = difflib.ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
'ore\ntree\nemu\n'.splitlines(keepends=True))
print(''.join(diff))


📎 Crib ✔️ #python

🌐 http://www.tgoop.com/codeprogrammer ✅️

BY Python | Machine Learning | Coding | R








Share with your friend now:
tgoop.com/CodeProgrammer/2912

View MORE
Open in Telegram


Telegram News

Date: |

With the administration mulling over limiting access to doxxing groups, a prominent Telegram doxxing group apparently went on a "revenge spree." According to media reports, the privacy watchdog was considering “blacklisting” some online platforms that have repeatedly posted doxxing information, with sources saying most messages were shared on Telegram. Matt Hussey, editorial director of NEAR Protocol (and former editor-in-chief of Decrypt) responded to the news of the Telegram group with “#meIRL.” A few years ago, you had to use a special bot to run a poll on Telegram. Now you can easily do that yourself in two clicks. Hit the Menu icon and select “Create Poll.” Write your question and add up to 10 options. Running polls is a powerful strategy for getting feedback from your audience. If you’re considering the possibility of modifying your channel in any way, be sure to ask your subscribers’ opinions first. A vandalised bank during the 2019 protest. File photo: May James/HKFP.
from us


Telegram Python | Machine Learning | Coding | R
FROM American