This file contains hidden or 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
# Importing Python MongoDB Connector | |
# Can Be Installed By -> "pip install pymongo" | |
import pymongo | |
# For Working With Date And Time | |
import datetime | |
# This Is The Connector With The URL From MongoDB Atlas | |
client = pymongo.MongoClient('...') # Enter Your URL From MongoDB Atlas |
This file contains hidden or 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
# Create a program that asks the user to enter their name and their age. | |
# Print out a message addressed to them that tells them the year that they will turn 100 years old. | |
name , age = input("Enter Your Name -> ") , int(input("Enter Your Age -> ")) | |
print(2020 + (100-age)) |
This file contains hidden or 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.filedialog import askopenfile | |
from pygame import mixer | |
file_name = "" | |
window=Tk() | |
window.title("Music Player") | |
window.geometry("650x400") |
This file contains hidden or 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
''' | |
draw a line using turtle | |
''' | |
import turtle | |
t = turtle.Turtle() | |
t.forward(100) |
This file contains hidden or 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
1) Connect your mobile device via usb (just this once) | |
2) Establish a port with your mobile device using 'adb tcpip <port number>'. | |
eg. adb tcpip 5555 | |
3) Remove USB and 'adb connect <mobile device ip><above mentioned port number>' . | |
Eg . adb connect 192.160.0.124:5555 | |
4) 'React-native run-android' in your project folder |