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 tkinter import Scrollbar | |
from bs4 import BeautifulSoup | |
import requests | |
import webbrowser | |
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'} | |
# import manan as m | |
flipkart='' | |
ebay='' |
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
#this is comments,it won't be executed. | |
print("hello from python") #single line comment | |
"""" this is multi line | |
comments.this won't | |
be executed """" | |
print(10+5) |
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
$ python | |
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> print("hello world!") | |
hello world! | |
# Now we can type any valid python expression at the prompt. python reads the typed expression, evaluates it and prints the result. | |
>>> 11 | |
11 |
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
def creat(user,password): | |
with open('account.txt','a') as file: | |
file.write(f'{user} {password}\n') | |
def loginfunction(user,password): | |
logininfo = f'{user} {password}' | |
with open('account.txt','r') as file: | |
users = file.readlines() | |
loop = True | |
f= 0 |