Re: [PythonCE] Can't Get My Import Module Command to Work Properly
The *.pth is the easiest solution to the problem of being able to run a script within a given directory. Mark, your solution also works wrt to appending the needed directory. In fact it is the same as mine. Only difference is the name of the file and the fact that I don't use an os import line. The problem I was having related to the following command line within my paths.py file from calctaxes import * This wasn't working. It turns out that the reason it didn't work was because I typed import paths What I should have typed was from paths import * Now when I use function within calctaxes, they work. That is, I can type the following tx = calc(10,5) Before I would get an error. calc does not exist. -- View this message in context: http://www.nabble.com/Can%27t-Get-My-Import-Module-Command-to-Work-Properly-t1631521.html#a4429981 Sent from the Python - pythonce forum at Nabble.com. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce
Re: [PythonCE] raw_input for pythonce ver 2.4.3 gives EOF Error
Thank you for this input. I suppose python ce also doesn't support the launching of scripts with the python myscript.py -i %1 for the same reason. I tried creating a file extension *.pyi that called the above command in order to circumvent the lack of a console. I get a Null : Null error. These limitations prevent me from running a script in such a way as use the interpreter to debug the script, check variable values, etc. Even if I execute a script via the idlece utility, the resulting pythonce interpreter that pops up only shows output. I can't get it to accept inputs so that I can debug things. Looks like I have to use my destop tools in order to get things debugged. Is this your experience too? -- View this message in context: http://www.nabble.com/raw_input-for-pythonce-ver-2.4.3-gives-EOF-Error-t1614478.html#a4431634 Sent from the Python - pythonce forum at Nabble.com. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce
[PythonCE] dll loading error
I have been experimenting with the ports of wxwindows/wxpython and pygame to the pythonce port. Any program I use that uses pygame or wxpython/wxwindows comes up with a load dll error, file not found. I have the files name_of_file.pyd in both the DLL directory and in the Lib directory in its corresponding folder. Am I putting the files in the wrong spot, or is there something deeper? ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce