On 2014-08-10 04:30, Bill wrote:
Hi,
I'm relatively new to Python and I'm trying to write a script to
iterate through a series of text files in folder searching for some
specific text and write it to a CSV.
I plan to use Regex to match the text and I have already identified
the Regex to do this
On 2014-08-10 08:58, Joel Goldstick wrote:
You need to look at os.walk:
https://docs.python.org/2/library/os.html#os.walk
is os.path.walk depricated?
https://docs.python.org/2/library/os.path.html
___
Tutor maillist - Tutor@python.org
To unsubscr
On Sun, Aug 10, 2014 at 7:30 AM, Bill wrote:
>
> Hi,
>
> I'm relatively new to Python and I'm trying to write a script to iterate
> through a series of text files in folder searching for some specific text
> and write it to a CSV.
>
> I plan to use Regex to match the text and I have already identi
Thanks for your response. I have tried your suggestion and get the same error.
Here's the text from terminal.
Richards-MacBook-Pro:Python resources richardkentish$ pwd
/Users/richardkentish/desktop/Python resources
Richards-MacBook-Pro:Python resources richardkentish$ python blankgame.py
Traceba
Hi All,
I have found a work around - not entirely sure what I did but followed this
website
http://www.reddit.com/r/pygame/comments/21tp7n/how_to_install_pygame_on_osx_mavericks/
Still can't run through idle but dragging the saved .py file to the python
launcher works!
Thanks for your help.
Hi,
I'm relatively new to Python and I'm trying to write a script to iterate
through a series of text files in folder searching for some specific
text and write it to a CSV.
I plan to use Regex to match the text and I have already identified the
Regex to do this. I've also got as far as cre
Thanks you to the list for helping me solve my problem. I never
had problem using and printing on paper "pr.write" in my coding
until this latest one popped up. Yeah, this old dog is still
learning new tricks here. LOL.
Again, thanks.
Ken
___
Tutor m
On 08/10/2014 10:38 AM, Alex Kleider wrote:
On 2014-08-10 06:41, Ken G. wrote:
Receiving the following error from the terminal screen:
Traceback (most recent call last):
File "Blood Pressure05Print45.py", line 95, in
pr.write(totalSystolic)
TypeError: expected a character buffer object
Por
Ken G. wrote:
> Receiving the following error from the terminal screen:
>
> Traceback (most recent call last):
>File "Blood Pressure05Print45.py", line 95, in
> pr.write(totalSystolic)
> TypeError: expected a character buffer object
>
> Portion of strip:
> =
>
> pr.wri
Receiving the following error from the terminal screen:
Traceback (most recent call last):
File "Blood Pressure05Print45.py", line 95, in
pr.write(totalSystolic)
TypeError: expected a character buffer object
Portion of strip:
=
pr.write (" "), pr.write (pulse), pr.write (
On Sun, Aug 10, 2014 at 10:32:52AM +0100, RICHARD KENTISH wrote:
> Hi!
>
> Ive installed Python 2.7.8 and pygame 1.9.1 onto a macbook pro 10.9.4
> Mavericks.
>
> The code is taken direct from the 'making games' book. Here it is pasted from
> idle:
Whenever you have a mysterious error in Python
Hi!
Ive installed Python 2.7.8 and pygame 1.9.1 onto a macbook pro 10.9.4 Mavericks.
The code is taken direct from the 'making games' book. Here it is pasted from
idle:
import pygame, sys
from pygame.locals import *
pygame.init()
displaysurf = pygame.dispaly.set_mode((400, 300))
pygame.display
12 matches
Mail list logo