This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
from tkFileDialog import * | |
''' | |
In this I have tried to make a text editor using | |
python's Tkinter module. | |
''' | |
filename = None | |
def new_file(): | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import re | |
import urllib2 | |
import urllib | |
''' | |
This is a small script written in order to | |
understand how beautiful soup works in python | |
and also what are all the functionalities it provides. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Give the name of the files you want to move with their relative paths (comma separated)" | |
read inp | |
echo "Give the destinations of the files to be moved (comma separated)" | |
read des | |
files=$(echo $inp | tr "," "\n") | |
destination=$(echo $des | tr "," "\n") | |
for i in $files | |
do | |
for j in $destination | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Give the name of the files you want to copy with their relative paths (comma separated)" | |
read inp | |
echo "Give the destinations of the files to be copied (comma separated)" | |
read des | |
files=$(echo $inp | tr "," "\n") | |
destination=$(echo $des | tr "," "\n") | |
for i in $files | |
do | |
for j in $destination | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game/bomb.py | |
[ 137] ········if·self.x·>·1·and·(perm[self.y][self.x-1]·==·2·or·perm[self.y][self.x-1]·==·0): | |
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] **** | |
! ! E501 line too long (87 > 80 characters) | |
[ ] *0. Do (N)othing | |
[ ] 1. (O)pen file | |
[ ] 2. Add (I)gnore comment | |
[ ] Enter number (Ctrl-D to exit): 0 | |
game/bomb.py |