import sys
print sys.path # All directories where Python looks for packages
- Gennadiy
On Tue, Aug 16, 2011 at 11:12 PM, John Gordon wrote:
> In smith jack <
> thinke...@gmail.com> writes:
>
> > this package is already in the site-packages directory, but i cannot
> > import it , it's really
The maximum depth of the Python interpreter stack is limited to 1000 calls
by default. You can get it by import sys; sys.getrecursionlimit() and set a
new value to sys.setrecursionlimit(new_value)
- Gennadiy
On Mon, Aug 1, 2011 at 4:11 PM, jc wrote:
> # Get Fibonacci Value
> #Fibonacci(N
I tested my solution on python 2.5, 2.8 and 3.1 and everything seems working
well
- Gennadiy
On Mon, Mar 14, 2011 at 4:29 PM, Duncan Booth
wrote:
> Steven D'Aprano wrote:
>
> > On Mon, 14 Mar 2011 02:25:46 -0700, Alexander Schatten wrote:
> >
> >> is there an easy way (API) to get the direc
To get the directory of the current running script try:
import os.path
path = os.path.dirname(__file__)
- Gennadiy
On Mon, Mar 14, 2011 at 3:25 PM, Alexander Schatten wrote:
> Hi,
>
> could someone help me with a small problem? I wrote a Python script
> that does some RegEx... transformatio
Hi Ceonn,
Well it is obvious that these environment variables are pointing to your old
Python 2.2 installation that is located in
the C:\IBMTOOLS\Python22\tcl\tcl8.4
First, try to delete these variables and find out are they necessary to run
IDLE.
Type in console
set TCL_LIBRARY =
set TK_LIBRARY
It seems that you have already had Python 2.2 installed in the directory
C:/IBMTOOLS/Python22
Can you open the console and type there next commands and provide the
output?
echo %TCL_LIBRARY%
echo %TK_LIBRARY%
echo %PYTHONPATH%
You can unset environment variable in 'my computer' properties, more d
I can not open your link. Are you sure you provided the correct link?
- Gennadiy
On Fri, Mar 11, 2011 at 10:36 PM, Arthur Mc Coy <1984docmc...@gmail.com>wrote:
> Currently trying to pick up my ava
> http://en.gravatar.com/christinasanders21
> for StackOverflow, which site I found very good fo