Zpic
-
Posts
2 -
Joined
-
Last visited
Posts posted by Zpic
-
-
Hi I'm sure this is a very basic question and trust me I have tried searching fo an answer but I can't find one
I have a Python script that is using a SQLite database - all works fine when running on my local web server but try as I might, it won' work on my Hellios account, I have done some basic de bugging and found that the problem starts with the import sqlite3 statement. I have even gone back to basics with a noddy page which works when I # out the import sattment
I recon I am missing something pretty silly here, but can anyone help
Thanks in advance
My domain is zpic
And one of my test pages is
[Answered] Import Sqlite3 Not Working In Python Script
in Questions
Posted
Thanks for getting back to me, I realise the older versions don't have SQLite as I had to upgrade my version of Python to get it to work , the key thing here is I missed the signicance of the shebang line which seems to select the version of Python
School boy error on my part not question what code does when I copy paste
I will give that a go altering that
Many thanks
Just tried 2.7 and it's working like a dream can thank you enough !
Need to swot up on this now