Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~14.8K People Reached

7 Posted Topics

Member Avatar for alicem

I just want to scan through a directory containing several subdirectories, each containing several text files, and display the name/word count/character count of each text file in each subdirectory. All I'm looking for is a quick and simple way to do the scanning through all subdirectories finding each file. thanks …

Member Avatar for HavocAngel
0
7K
Member Avatar for alicem

Hi, I'm a beginner, and just want to display an image using Python. I have this code... [code]from PIL import Image Image.open("pic.jpg").show()[/code] which according to what I've read, should work. However, it just opens Windows Photo Gallery and says 'There are no photos or videos selected'. I have ensured that …

Member Avatar for alicem
0
76
Member Avatar for alicem
Member Avatar for alicem

'bitstream' is an array where each element contains 8 bits, i.e. ['01100000', '11110101' .... ] etc. etc. I want to print out this array to a file so it'll be recognised and can be opened as a jpeg. I have tried the following: [code]output = open('outputfile.jpg', 'wb') for i in …

Member Avatar for vegaseat
0
178
Member Avatar for alicem

I'm using XAMPP to test a mini-website - I have some zip files I'd like to be able to place on the server, then for them to be unzipped using PHP via a browser. How can I do this? I've tried the following... [code] <?php $zip = new ZipArchive; $res …

Member Avatar for alicem
0
674
Member Avatar for alicem

Hello, I have just started learning Python. Please can you tell me if there is a way to read in a file one bit or byte at a time (i.e. in binary). Thank you!

Member Avatar for jlm699
0
6K
Member Avatar for alicem

The data is stored as an array with each element being an 8-bit binary number. I know this seems like a simple question, but I've looked and can't seem to find a simple answer on how to do it anywhere.

Member Avatar for slate
0
70

The End.