always constant. Furthermore, I added a sleep(5) command
before the line to make sure it was not a synchronization issue.
Has anyone got any possible ideas as to what could possibly be going wrong?
Cheers
Peyman Askari
--
http://mail.python.org/mailman/listinfo/python-list
int, is being converted into a long int, and then leading to an exception.
Cheers
Peyman Askari
--
http://mail.python.org/mailman/listinfo/python-list
://www.maths.abdn.ac.uk/~igc/tch/eg1006/notes/node23.html). However, it
requires that you solve for two equations. How can I do this in Python, either
solve equations, or calculating intersection points some other way?
Cheers
Peyman Askari
c 'global %s'%module_name
but that does not work very well with exec
any suggestions?
Cheers
Peyman
--
http://mail.python.org/mailman/listinfo/python-list
I want to write a function which imports modules the first time, and reloads
them afterwards, but I am running into problems with global variables and exec.
I will include a full script, but let me elaborate first.
Essentially what you need is
def import_or_reload():
"""assume we want to load
PyUnit is.
Thanks
Peyman
--- On Thu, 3/11/10, Lan Qing wrote:
From: Lan Qing
Subject: Re: a newbie's question
To: "Python List"
Received: Thursday, March 11, 2010, 4:56 AM
hi Cheers, Think you, that helps me a lot.
On Tue, Mar 9, 2010 at 10:00 PM, Simon Brunning
wro
ort.py file as well as 4 module files which it
loads. Save the tes_import.py file to a folder, create another folder there,
and save ONLY the 4 modules files to that new folder. In the code, update line
26 to reflect to path of the newly created directory
Thanks in advanced
Peyman
#!/usr/b
Hi
I have a Natural Language Processing (NLP) code written in python that
reads into memory a large training file and then given a sentence tags
it, using the training data. I want to put this NLP code on a server
which handles all incoming client http requests via PHP. What I want
to do is to pro