Message from Python discussions

November 2018

— ```


from swampy.TurtleWorld import *
from math import pi

def polygon(t, length, n):
degrees = 360.0/n;
for i in range(n/2):
fd(t, length)
rt(t, degrees)

def circle(t, r):
circumference = pi*r
n = int(round(circumference))
polygon(t, 1, n)

world = TurtleWorld()
bob = Turtle()
bob.delay = 0.001
while True:
a = int(raw_input("Enter the radius"))

— Https://

— I want the turtle to draw half circles multiple times with the given radius. The code works but if you make it draw few times it starts to go upwards.

Message permanent page

— I want to keep him straight

— Can we fatch data from link? Example :- Lets take video from fb or youtube and i need to download it with different quality. So my question is python can fatch detail and show us different video quality ?

Message permanent page

— Yes.

— Can you provide little information about it or any google source? I used urllib but i fail..

— Here's an example for doing the YouTube part:

— Thank you . :)

— For the Facebook part, here's another example I found: or maybe this

I guess just read the source code (it's tiny) and see how it works.

Message permanent page

— youtube-dl is da bezt 😘