Follow The Black Python

jamb0ss

Junior Member
Feb 9, 2012
153
59
Everybody heard about this programming language.
It has a wide ecosystem, you can find any lib for any needs.
Web-scraping, bots creation, machine learning, image/video processing, seo tools, web-development, high-load projects etc. etc. etc. -> Python can handle it.
I really like this snake :)
So, Python programmers, why don't we share some tip&tricks, libs and snippets here?
Also we can create a Skype Group, just send me pm.
And feel free to ask any questions, I would be happy to help you.

python_ninja.jpg
 
Last edited:
Python is great tool to make money :) You can work as software engineer on odesk with good hourly rate or you can use python to build your own web-sites and tools to promote these web-sites. The strong benefit of using python is that it is good for both web-development and server-side development.
 
youtube-dl [https://github.com/rg3/youtube-dl/]

it's an amazing, cross-platform tool that can help you to download videos from different websites (youtube, vimeo etc.).
it's written in Python, but also can be simply used as a command-line program (basically you don't need to know Python to use it, but you have to install Python in your system)
it supports authentication, proxy, working with subtitles, audio extraction, post-processing and even more. also you can specify the video format to be downloaded.

a simple use case:
youtube-dl http://www.youtube.com/watch?v=blahblahblah

supported platforms:
1up.com
220.ro
3sat
4tube
56.com
5min
8tracks
9gag
AcademicEarth:Course
AddAnime
Aftonbladet
anitube.se
Aparat
AppleTrailers
archive.org
ARD
arte.tv
arte.tv:+7
arte.tv:concert
arte.tv:creative
arte.tv:ddc
arte.tv:embed
arte.tv:future
AUEngine
bambuser
bambuser:channel
Bandcamp
Bandcamp:album
bbc.co.uk
blinkx
blip.tv:user
BlipTV
Bloomberg
BR
Break
Brightcove
BYUtv
Canal13cl
canalc2.tv
canalplus.fr
CBS
CBSNews
CeskaTelevize
channel9
Chilloutzone
Cinemassacre
clipfish
cliphunter
Clipsyndicate
cmt.com
CNET
CNN
CNNBlogs
CollegeHumor
ComedyCentral
ComedyCentralShows
CondeNast
Criterion
Crunchyroll
CSpan
culturebox.francetvinfo.fr
d8.tv
dailymotion
dailymotion:playlist
dailymotion:user
daum.net
defense.gouv.fr
Discovery
divxstage
Dotsub
Dropbox
EbaumsWorld
eHow
eitb.tv
ElPais
Engadget
Escapist
EveryonesMixtape
exfm
ExtremeTube
facebook
faz.net
fernsehkritik.tv
fernsehkritik.tv:postecke
Firstpost.com
firsttv
Flickr
france2.fr:generation-quoi
FranceCulture
FranceInter
francetv
francetvinfo.fr
Freesound
freespeech.org
FunnyOrDie
Gamekings
GameSpot
Gametrailers
GDCVault
generic
Hark
Helsinki
HotNewHipHop
Howcast
HuffPost
Hypem
ign.com
imdb
imdb:list
Ina
InfoQ
Instagram
instagram:user
InternetVideoArchive
IPrima
ivi
ivi:compilation
JadoreCettePub
JeuxVideo
jpopsuki.tv
Jukebox
justin.tv
Kankan
keek
KeezMovies
KhanAcademy
KickStarter
kontrtube
la7.tv
lifenews
LiveLeak
livestream
livestream:eek:riginal
lynda
lynda:course
m6
macgamestore
mailru
Malemotion
MDR
metacafe
Metacritic
mixcloud
Mofosex
mooshare
Morningstar
Motorsport
movshare
MPORA
MTV
mtviggy.com
MusicPlayOn
muzu.tv
MySpace
MySpass
myvideo
Naver
NBA
NBC
NBCNews
ndr
NDTV
Newgrounds
nfb
nhl.com
nhl.com:videocenter
niconico
Normalboots
novamov
Nowness
nowvideo
NTV
ocw.mit.edu
OE1
on.aol.com
Ooyala
ORF
parliamentlive.tv
PBS
Photobucket
Playvid
plus.google
pluzz.francetv.fr
podomatic
PornHd
PornHub
Pornotube
prosiebensat1
Pyvideo
radiofrance
RBMARadio
RedTube
RingTV
RottenTomatoes
Roxwel
RTLnow
RTS
rtve.es:alacarta
rutube
rutube:channel
rutube:movie
rutube:person
RUTV
savefrom.net
screen.yahoo:search
ServingSys
Sina
Slideshare
smotri
smotri:broadcast
smotri:community
smotri:user
Sohu
soundcloud
soundcloud:set
soundcloud:user
southpark.de
southparkstudios.com
Space
Spankwire
Spiegel
Spike
stanfordoc
Statigram
Steam
streamcloud.eu
StreamCZ
Syfy
SztvHu
Teamcoco
TechTalks
techtv.mit.edu
TED
TestURL
TF1
ThePlatform
ThisAV
tinypic
tou.tv
Toypics
ToypicsUser
TrailerAddict (CURRENTLY BROKEN)
Trilulilu
TruTube
Tube8
Tudou
Tumblr
Tutv
tvigle
tvp.pl
udemy
udemy:course
Unistra
Urort
ustream
ustream:channel
Vbox7
VeeHD
Veoh
Vesti
Vevo
Viddler
video.google:search
video.mit.edu
VideoBam
VideoDetective
videofy.me
videolectures.net
VideoPremium
videoweed
viki
vimeo
vimeo:album
vimeo:channel
vimeo:group
vimeo:review
vimeo:user
Vine
vk.com
vube
WashingtonPost
wat.tv
WDR
WDRMaus
Weibo
Wimp
Wistia
WorldStarHipHop
XBef
XHamster
XNXX
XTube
XTubeUser
XVideos
Yahoo
yahoo:news
YouJizz
Youku
YouPorn
youtube
youtube:channel
youtube:favorites
youtube:history
youtube:playlist
youtube:recommended
youtube:search
youtube:search:date
youtube:search_url
youtube:show
youtube:subscriptions
youtube:toplist
youtube:truncated_url
youtube:user
youtube:watch_later
ZDF
 
Last edited:
Having come from a pure java background I taught myself python and was amazed, I'll never go back to another language!
If you want to learn I'd suggest going deeper into a web framework like django or web2py, you can then build your own seo platform/sites or even your own bot. In terms of hosting I'd highly recommend pythonanywhere, they're awesome and very responsive (i use them!)
 
Yep, 1 up-vote for python. It's really the best programming language that I've came across. Easy to learn and implement. :)
 
Hey guys! Where is a good place to start learning Python? I downloaded it about 4 months ago, but life got in the way. I think back to where I could've been in 4 months....even if I would've just practiced/learned in a passive effort and to be honest, it hurts. It stops today! I want to learn. Where are some great resources to get me educated?
 
I wish Python had been the first programming language I learned. It's so newbie friendly, yet so powerful.

As jamb0ss said, docs are really all you need. The problem is you can't read them like a book.

I'm not new to programming, but I've never touched Python up until a couple months ago. For me, the best way to learn the basic syntax (for any language) is to try to solve Project Euler exercises (can't post links yet, just google "Project Euler").

I did it while following the guidelines posted on the accepted answer of a stackoverflow question titled "Python progression path - From apprentice to guru" (sorry again for not posting the link).
 
livestreamer :: Command-line utility written in Python that extracts streams from various services and pipes them into a video player of choice or writes stream data to file instead of playing it. If you are going to use livestreamer in your project, then check it's API that is pretty nice implemented and well-documented.

Code:
[COLOR=#333333][FONT=Consolas]$ pip install livestreamer
[/FONT][/COLOR][COLOR=#333333][FONT=Consolas]$ [/FONT][/COLOR][COLOR=#333333][FONT=Consolas]livestreamer twitch.tv/day9tv best
[/FONT][/COLOR][COLOR=#1D3E81][FONT=Consolas][cli][info] Found matching plugin twitch for URL twitch.tv/day9tv
[/FONT][/COLOR][COLOR=#1D3E81][FONT=Consolas][cli][info] Opening stream: source[/FONT][/COLOR][COLOR=#333333][FONT=Consolas] [/FONT][/COLOR][COLOR=#1D3E81][FONT=Consolas]
[/FONT][/COLOR][COLOR=#1D3E81][FONT=Consolas][cli][info] Starting player: vlc
[/FONT][/COLOR]

Github :: https://github.com/chrippa/livestreamer
Docs :: http://docs.livestreamer.io/
Supported platforms :: http://docs.livestreamer.io/plugin_matrix.html
 
Python is a good tool if you use it proper way. Used it for developing a droplr grabber. Thousands of private photoes in a second.
 
newbies shouldn't bother reading the docs. Trust me. It'll just confuse you more. Stick to youtube tutorials and when you have a better grasp at the fundamentals then go to the docs.
 
I agree with the above :) been my expeirnce so far as a newbie. I will know Im really progressing once I begin to understand wtf is going on in those docs :)
 
Python ow holy Python, i know the first steps we made.
Best language to start with, i recommend everybody this.
 
hellow all i am soo soo new on programming i am soo lost what should i start first to learn ? i wanna be soo good to have an job on IT bussines' i know i am a dreamer :)) . thanks :eek:
 
Python is a powerfull...
Most of the time i develop web applications, so i code in PHP but all the background tasks i code in Python...
 
python is very good. when you are tired of single thread and looks-like concurrency (yeah you Twisted) move on to go or rust.
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock