[issue31582] Add _pth breadcrumb to sys.path documentation

2017-09-25 Thread Traveler Hauptman
New submission from Traveler Hauptman: Python on windows (winpython) was not adding PYTHONPATH to sys.path as documented and I could not understand why. It took a lot of time, web searches, and finally a tour through the code to find out about _pth; which is well documented but difficult

Re: Smaple of recursive directory walker

2006-07-30 Thread Traveler
Thank you very much that is what i was looking for. On 30 Jul 2006 13:18:51 -0700, Ant [EMAIL PROTECTED] wrote: Traveler wrote: yes this is great i will work from that but how can i use say a list to pass 10 words? mylist = ['word1','word2','word3','word4'] ... for root, dirs, files

Smaple of recursive directory walker

2006-07-29 Thread Traveler
Hello, At work I have a directory of about 50 large text files and i need to search thru them for 10 separate words and print how many were found in total. I am new to python so could somebody please show me some sample code that would help me get this done and i will work from that. Thanks.

Re: Smaple of recursive directory walker

2006-07-29 Thread Traveler
yes this is great i will work from that but how can i use say a list to pass 10 words? mylist = ['word1','word2','word3','word4'] On 29 Jul 2006 12:01:03 -0700, Ant [EMAIL PROTECTED] wrote: At work I have a directory of about 50 large text files and i need to search thru them for 10