What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-21 03:29:22
arduino python matplotlib line
import serial # import Serial Library import numpy # Import numpy import matplotlib.pyplot as plt #import matplotlib library from drawnow import * tempF= [] pressure=[] arduinoData = serial.Serial('com11', 115200) #Creating our serial ob... Add solution -
Python 2021-11-20 21:42:21
pygame for loop for draw shape
import pygame from pygame.locals import * from sys import exit from random import * pygame.init() screen = pygame.display.set_mode((640, 480), 0,32) class Rectangle: def __init__(self, pos, color, size): self.pos = pos self.color =... Add solution -
Python 2021-11-20 20:37:29
revit dynamo select all categories
import clr # Import DocumentManager and TransactionManager clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager # Import RevitAPI clr.AddReference("RevitAPI") import Autodesk fr... Add solution -
Other 2021-11-20 01:23:18
get element selected dynamo revit
import clr clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager from System.Collections.Generic import List clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * def tolist(obj1):... Add solution -
-
Python 2021-11-18 20:12:14
tkiner border
from tkinter import * root = Tk() example = Label(root, Text="Hello World!", borderwidth="2", relief="groove") # Releif is the effect what goes with the border. #" flat", "raised", "sunken", &qu... Add solution -
Python 2021-11-18 11:17:29
how to run flask in another thread in python
from flask import * from threading import Thread app = Flask(__name__) @app.route("/", methods=["POST", "GET"]) def home(): return render_template("index.html") if __name__ == "__main__": app.run(deb... Add solution -
Javascript 2021-11-17 18:50:15
animation react native npm
// user this lib //https://github.com/oblador/react-native-animatable Example : import * as Animatable from 'react-native-animatable'; <Animatable.Text animation={fadeIn} >Fade me in</Animatable.Text> <Animatable.View animation={fadeIn}... Add solution