python glob module|glob.glob pattern in python|| Python Tutorial #10|| Python Tutorial for Beginners

Veröffentlicht am: 13 November 2017
auf dem Kanal: Code4You
4,960
50

This is my eleventh python tutorial for beginners -
python glob module|metadata search in python|Python Tutorial | Python Tutorial for Beginners

Links :
if you have not completed my previous tutorial. Please check    • Python os.path|os.path in Python|| Py...  
Be sure to SUBSCRIBE HERE:    / @code4you753  
You may follow me on facebook :   / python-tutorial-for-beginners-141028486539665  
For more information. You may visit https://docs.python.org/2/tutorial/da...

#The glob module finds all the pathnames matching a specified pattern according to the rules used by the Unix shell, although results are returned in arbitrary order.

===Code===
import glob
import os

dir_name = '/u01/pCode/tutorial/glob/working'
os.chdir(dir_name) #changing directory

print glob.glob('*.log')
pattern = 't_*.log'
for x in glob.glob(pattern):
file_name = os.path.join(dir_name,x)
os.remove(file_name)
print file_name," = deleted"

python glob
metadata search in python
glob module in python
pattern searching in python
python tutorial for beginners
Learn Python Programming
python programming
python tutorial for beginners with examples
python tutorial for beginners video
python scripting tutorial
learning python programming
python install ubuntu python install
python install tutorial
python installation in windows
Tutorial python
Tutorial series
Learning Tutorial
language model python
Tutorial python
Tutorial series
Learning Tutorial
language model python

In this course of my tutorial . I will tell you :
How to use Python programming?
How to get experience in Python programming ?
What is Python ?
How to learn Python ?

We recommend:
Learning Python, 5th Edition by Mark Lutz http://a.co/hJzjfuh
Shop Amazon Used Textbooks - Save up to 90% http://amzn.to/2pllk4B

To know about youtube : https://en.wikipedia.org/wiki/YouTube

Later sections : We will learn oracle database and how to connect database :
http://www.oracle.com/technetwork/art...
python kivy
desktop application
mobile apps
python project


Auf dieser Seite können Sie das Online-Video python glob module|glob.glob pattern in python|| Python Tutorial #10|| Python Tutorial for Beginners mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code4You 13 November 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,960 Mal angesehen und es wurde von 50 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!