Le lundi 16 novembre 2009 à 16:09 -0800, Mark Voorhies a écrit :
> A good way to test the environment that python/idle is seeing is:
> import os
> os.environ["PYTHONSTARTUP"]
Here are the results:
>>> import os
>>> os.environ["PYTHONSTARTUP"]
'/home/fred/.pythonrc.py'
So for me the variable is c
Le lundi 16 novembre 2009 à 13:15 -0800, Mark Voorhies a écrit :
> One such hackish solution is to use a modified version
> of /usr/bin/idle-python2.5 that invokes the python interpreter with "new"
> division, e.g.:
>
> #!/usr/bin/python2.5 -Qnew
>
> from id
Hi,
first of all sorry for writing my first post in french. Hereafter is the
english version of my text:
I'm using python (version 2.5.2, under debian lenny for personnal use on
my notebook, and version 2.6 under Windows XP with my students) for
teaching an introduction to algorithmic at High Sch
Bonjour,
je travaille sous lenny et gnome avec python 2.5.2 et IDLE, que
j'utilise pour une introduction à l'algorithmique au lycée (en maths).
Voilà mon problème:
1) J'ai créé un fichier .pythonrc.py file contenant les deux lignes
from __future__ import division
from math import *
2) Dans mon .
4 matches
Mail list logo