Posts

Showing posts from December 4, 2018

1910 Baylor football team

Image
1910 Baylor football team From Wikipedia, the free encyclopedia Jump to navigation Jump to search This article does not cite any sources . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (July 2018) (Learn how and when to remove this template message) 1910 Baylor football Conference Independent 1910 record 6–1–1 Head coach Ralph Glaze (1st season) Seasons ← 1909 1911 → The 1910 Baylor football team represented Baylor University during the 1910 college football season. The 1910 record of 6–1–1 included a sole loss because Baylor left at halftime, with the score tied 6– against Texas, due to a dispute with the referee. Schedule [ edit ] Date Opponent Site Result Overall record Oct. 1 at Daniel Baker College Brownwood, Texas T  0–0 32–33–7 Oct. 8 Austin College Waco, Texas W  31–0

Lima Region

Image
This article is about the Peruvian region. For Peru's capital city, see Lima. For other uses, see Lima (disambiguation). Region in 9 provinces and 128 districts, Peru Lima Region Region Flag Seal Location of the Lima region in Peru Country Peru Subdivisions 9 provinces and 128 districts Capital Huacho Government  • Governor Nelson Chui (2015–2018) Area  • Total 32,129.31 km 2 (12,405.20 sq mi) Highest elevation 5,654 m (18,550 ft) Lowest elevation 0 m (0 ft) Population (2011)  • Total 800,588  • Density 25/km 2 (65/sq mi) UBIGEO 15 Dialing code 01 ISO 3166 code PE-LIM Principal resources N/A Poverty rate N/A Percentage of Peru's GDP N/A Website www.regionlima.gob.pe Lima Region ( Spanish pronunciation:  [ˈlima] ) is located in the central coast of the country, its regional seat (capital city) is Huacho. Lima Province, which contains the city of Lima, the country's capital, is

How should i load a file in python efficiently using all my cpu power?

Image
up vote 0 down vote favorite I decided to create a python code to encrypt my data a while back, when i am half way through, i decided to do a performance test, and the result is horrible, like only 430kB/s encrypting speed. Opening System monitor showed that only 1 thread of my 8C16T processor is being used by my program. After I try temporary deleting the encrypting part in my code, it was only like 10kB/s faster. So i analyzed the code and found out this part of code with open("10MB.test", 'rb') as f: byte = f.read(1) if(i == 0): test = (str("".join([ch.encode("hex") for line in byte for ch in line]))) i = 1 while byte != "": g = g + 1 byte = f.read(1) a = str("".join([ch.encode("hex"