Digistump Forums
Back to Digistump.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
DigRGBMail.py syntax error on line 25
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: DigRGBMail.py syntax error on line 25 (Read 12428 times)
bhodgs01
Newbie
Posts: 15
Re: DigRGBMail.py syntax error on line 25
«
Reply #15 on:
February 07, 2013, 06:06:07 pm »
I get this when I run the exe
Logged
bhodgs01
Newbie
Posts: 15
Re: DigRGBMail.py syntax error on line 25
«
Reply #16 on:
February 07, 2013, 06:07:25 pm »
actually I added the directory in the python code
os.system('python C:\Python27\DigiRGB.py ' + str(newest_subject[0]) + ' ' + str(newest_subject[1]) + ' ' + str(newest_subject[2]))
Logged
digistump
Administrator
Hero Member
Posts: 1465
Re: DigRGBMail.py syntax error on line 25
«
Reply #17 on:
February 07, 2013, 06:10:49 pm »
try running from the same directory you are in - you want to be in the current working directory and changing the os,system line won't do that.
regarding the exe - strange - lets keep trying with the script instead
Logged
bhodgs01
Newbie
Posts: 15
Re: DigRGBMail.py syntax error on line 25
«
Reply #18 on:
February 07, 2013, 06:40:08 pm »
when I try changing the directory by adding cd C:\python27
I get the same errror
Logged
bhodgs01
Newbie
Posts: 15
Re: DigRGBMail.py syntax error on line 25
«
Reply #19 on:
February 07, 2013, 10:35:01 pm »
one more thing to note.... right before it fails the digi blinks for 1 second with the correct color. I am going to get this to work if it kills me
***edit**** actually it is just making the digi reset. doesn't display the right color.
«
Last Edit: February 07, 2013, 11:08:57 pm by bhodgs01
»
Logged
Print
Pages:
1
[
2
]
« previous
next »
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
DigRGBMail.py syntax error on line 25