Patel Sohil
I dont know Who am I??? I also try to find out the ans of this question since last 20 years..
Sohil Patel
@sohil4932
Hitul Mistry
@hitul007
Purpose ?
Over six years ago, in December 1989, I was looking for a "hobby" programming project that would keep me occupied during the week around Christmas. My office ... would be closed, but I had a home computer, and not much else on my hands. I decided to write an interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python's Flying Circus).
- Salute this guy : Guino Van Rossum
- Python conceived in late 1980s
- Implementation was started in Dec 1989
and the list goes on...
Philips
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
#include
main()
{
cout << "Hello World!";
return 0;
}
Common sense: When you want to print a string, just print it.
>>> print "Hello, world."
#! /usr/bin/env python
print "Hello, world."
$ python hello.py
# The usual way
>>> a = 10
>>> b = 20
>>> c = b
>>> b = a
>>> a = c
>>> print a, b
20 10
# The Pythonic way
>>> a, b = 10, 20
>>> a, b = b, a
>>> print a, b
20 10
from BeautifulSoup import BeautifulSoup
import requests
url = 'http://pyvideo.org/category/33/pycon-us-2013/files'
req = requests.get(url)
data = req.text
soup = BeautifulSoup(data)
for link in soup.findAll('a', href=True):
# if link['href'].startswith(
#'http://s3.us.archive.org/nextdayvideo/psf/pycon2013/'):
if link.get('href', '').startswith(
'http://s3.us.archive.org/nextdayvideo/psf/pycon2013/'):
#print link.get('href')
print link.get('href').split('?Signature')[0]
By Patel Sohil
I dont know Who am I??? I also try to find out the ans of this question since last 20 years..