import os
a = os.walk('.')
for i in a:
print(i)

pyhton More articles on small methods

  1. android Little way

    Little way 1. Get screen resolution : public class BaseTools { public static int getWindowWidth(Context context) { // Get screen points ...

  2. jQuery The little way to provide

    jQuery The little way to provide : 1. Selectors + event + function = Complex interactions 2. Loop through the elements that match the selector :each() $("#").each(function(){     ...

  3. WinForms C#:html Editor project source code , Including direct writing WebBrowser File stream for 、IPersistStreamInit Interface declaration and some related small methods

    original text :WinForms C#:html Editor project source code , Including direct writing WebBrowser File stream for .IPersistStreamInit Interface declaration and some related small methods First of all, thank you for your support : Today I bring you a ...

  4. SharePoint A small way to find the internal name of a field

    Today, I went to the blog park , I happened to see the following article , Introduce how to view without tools SharePoint Field internal name , Also introduce their own small method . http://www.cnblogs.com/sunjunlin/archive/2012 ...

  5. wdatepicker Control de Use small methods to summarize

    In conclusion wdatepicker Control before use , Let's cut in one first , In the afternoon, just on a whim, one of Baidu's ask ?C# in Int16.Int32.Int64. The difference between ,::: In fact, Baidu knows that there are , But write it down ! Int16 Express ...

  6. Improve django model A few small ways to improve efficiency

    django Of model Not very efficient , Especially when doing a lot of database operations , If you only use django To open an enterprise station or outsource a project , That's a little jump , And you happen to be an efficiency maniac, or if you have high requirements for the efficiency of the program , Then pay attention to ...

  7. python - Common little methods

    Common little methods : bin() oct() hex() chr() ord() dir() id() len() int() str() type() help() range(10)   /  rang ...

  8. ( turn )java Search for List It's a quick way to

    Believe in java Development programmer , It's always traversing list The data in , To find the data you want . After that, I chose to do the processing , I have a small method that can be faster in the case of a large amount of data , Of course, this method is only useful for novices , Maybe there's a better way for the old bird , Please point out. Traverse ...

  9. C# in DEV Control ,XtraTabPage It's a small way

    DEV Control design form program ,XtraTabPage The little methods used , Welcome to comment , Share technology ! //DEV Tabs in private bool TabCtlPageExist(string pageName) ...

Random recommendation

  1. ssh Found out error while loading shared libraries This kind of mistake

    stay Linux When running a program under , Found out error while loading shared libraries Such mistake , I don't know the solution for a while , Search online , It's finally settled : ./tests: error whil ...

  2. POJ1201 Intervals

    Description You are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn. Write a p ...

  3. Reflection reflect Initial learning

    Class is also an object , Itself is java.lang.Class Class object . Class There are three ways to express : 1.Class a = A.class: Class name .class The way . Often in the Journal , Get the log generation of the current class ...

  4. java It's a reflection, it's a pit

    I used a reflex when I was working today . Its business is simply described as : When the system starts, save the signature of the method that needs to be called regularly to the database , Start the thread to read the corresponding method signature from the database regularly , After the example is generated by reflection, the method is called . Complete certain timing tasks . The way to write ...

  5. python Find the numerical solution curve of differential equations 01

    I am writing an article about neural network synchronization recently , Part of the model is : x_i^{\Delta}(t)= -a_i*x_i(t)+ b_i* f(x_i(t))+ \sum\limits_{j \in\{i-1, ...

  6. How to do the machine learning contest Kaggle The top 2%

    Original article , I started my blog at the same time . Please make sure to indicate the source at the beginning of the article Abstract This article details how to preview through data , Exploratory data analysis , Missing data fill in , Delete associated features and derive new features , stay Kaggle Of Titanic ...

  7. codevs 2606 Sum of divisors ( The mathematical formula of block optimization )

    Background Smart Recently, I am addicted to the study of divisors . Title Description For a number X, function f(X) Express X The sum of all divisors . for example :f(6)=1+2+3+6=12. For one X,Smart It's a quick calculation f(X). The problem now is ...

  8. 【Java Multithreading 】 Overview of thread synchronization methods

    One : Use syncrhoized Built in lock for synchronization Use mutex to synchronize threads , Ensure that the shared data is used by only one thread at the same time .Java The most basic means of mutual exclusion is syncrhoized keyword . syncrhoized Of ...

  9. nmap Medium idle scan

    http://www.offensive-security.com/metasploit-unleashed/Port_Scanning http://blog.csdn.net/dong976209 ...

  10. Linux command ( Basics 3)

    Shut down and restart reboot poweroff ============================ linux Order classification 1. Management commands for different files 1.1 Catalog FHS File system hierarchy standard Absolute path : ...