Vblaster's Profile
Reputation: 1
Apprentice
- Group:
- Contributors
- Active Posts:
- 18 (0.02 per day)
- Joined:
- 16-January 11
- Profile Views:
- 1,053
- Last Active:
Mar 07 2012 02:36 PM- Currently:
- Offline
Previous Fields
- Country:
- CA
- OS Preference:
- Linux
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- Playstation
- Your Car:
- Dodge
- Dream Kudos:
- 150
Posts I've Made
-
In Topic: Counting words in a txt file.
Posted 2 Feb 2012
Shorter, and no for loop:
filename = r'C:\Users\Chris\Desktop\test.txt' textfile = open(filename, 'r') #Print the result print("The number of words are: " + len(textfile.split(" "))) -
In Topic: Python File error
Posted 24 Jan 2012
My Bad. Is that a windows problem only?( linux uses forward slashes
)?
-
In Topic: Python File error
Posted 24 Jan 2012
Try it with a mode argument eg. f = open('log.txt', 'r') for read or f = open('log.txt', 'w') for write. -
In Topic: Python File error
Posted 24 Jan 2012
In your directory screenshot the files are log and ndfa, not log.txt and ndfa.txt
Try removing the .txt extension from the open command. -
In Topic: What are your favorite music genres?
Posted 16 Jan 2012
Dubstep/Rap/Hip-Hop/House/Techno/Goth Rock, And some classical.
My Information
- Member Title:
- New D.I.C Head
- Age:
- 13 years old
- Birthday:
- July 19, 1999
- Gender:
-
- Years Programming:
- 2
- Programming Languages:
- PHP, Python, HTML, CSS
Contact Information
- E-mail:
- Private
- Twitter:
- @onlitetech
Friends
Vblaster hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Vblaster has no profile comments yet. Why not say hello?