ZacBlog

  • Home
  • Python
  • About
Python

Python SyntaxError: invalid syntax

Python SyntaxError: invalid syntax
The first example: If you are new in Python, it is very easy to ignore some necessary signs in your Python code. It is normal to occurred SyntaxError: invalid syntax. This is the f……Load more »

Zac 3 years ago (2018-02-20) 2398 views 0 comments 7likes

Python

Python Examples: Extract Data With BeautifulSoup

Python Examples: Extract Data With BeautifulSoup
Description: In order to develop Web Scarper, BeautifulSoup is a useful module to extract data. BeautifulSoup is easy to use. The code is not hard to understand. Today, I will show……Load more »

Zac 3 years ago (2018-02-19) 5423 views 0 comments 3likes

Python

Python Slice: Start, Stop and Step

Python Slice: Start, Stop and Step
Description: [:]    Extract all elements from List or String   [start:]    Extract elements from start to the end (“start” can change)   [:end]    Extra……Load more »

Zac 3 years ago (2018-02-18) 2081 views 0 comments 5likes

Python

Drawing Heart Shape Through One Line Python code

Drawing Heart Shape Through One Line Python code
Today is Valentine’s Day. I will show you how to draw heart shape through one line Python code. Showing results:   Python print('\n'.join(['……Load more »

Zac 3 years ago (2018-02-15) 15410 views 0 comments 36likes

Python

Mongo: Couldn’t connect to server 127.0.0.1:27017

Mongo: Couldn’t connect to server 127.0.0.1:27017
Error: D:\>mongo MongoDB shell version v3.6.0 connecting to: mongodb://127.0.0.1:27017 2018-02-14T13:33:47.147+0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017 afte……Load more »

Zac 3 years ago (2018-02-14) 8868 views 0 comments 19likes

Python

Download Instagram Photo Through Python

Download Instagram Photo Through Python
Description: As you know, there are many websites can let you download Instagram photos online. What if we use Python to achieve the same effect? It is not difficult.    ……Load more »

Zac 3 years ago (2018-02-13) 5876 views 0 comments 14likes

Python

Reset Django Admin Password Through Two Simple Ways

Reset Django Admin Password Through Two Simple Ways
There are two simple ways can reset Django admin password: 1. Python python mange.py changepassword your_username 1 ……Load more »

Zac 3 years ago (2018-02-12) 2671 views 0 comments 7likes

Python

Scraping Tumblr Photos Under 50 Lines of Python Code

Scraping Tumblr Photos Under 50 Lines of Python Code
Description: I will show you how can I crawl Tumblr photos and save to local storage under 50 lines of Python code. I hope this article is useful for someone who is new to Python W……Load more »

Zac 3 years ago (2018-02-11) 2944 views 0 comments 9likes

Recent Posts

  • Python SyntaxError: invalid syntax
  • Python Examples: Extract Data With BeautifulSoup
  • Python Slice: Start, Stop and Step
  • Drawing Heart Shape Through One Line Python code
  • Mongo: Couldn’t connect to server 127.0.0.1:27017

Archives

  • February 2018

Python (8)Web Scraper (3)MongoDB (1)Django (1)
Welcome to ZAC BLOG