Re: [Tutor] some web and python version questions

2013-03-05 Thread Lolo Lolo
>System32 should be on the PATH, and reg.exe should be available in XP. >C'est la vie. Try "%windir%\System32\reg.exe" instead of "reg". No >rush. It's just an icon. sorry eryksun its my fault i havent been clear... im actually using windows vista not xp. i mixed your new command with the old but

Re: [Tutor] some web and python version questions

2013-03-05 Thread eryksun
On Tue, Mar 5, 2013 at 9:03 AM, Lolo Lolo wrote: >>Check the output of the following command: > >>reg query HKLM\Software\Classes\Python.File\DefaultIcon > >>For me the value is "C:\Python33\DLLs\py.ico". > > i get: 'reg' is not recognized as an internal or external command, operable > progra

Re: [Tutor] some web and python version questions

2013-03-05 Thread Lolo Lolo
>Check the output of the following command: >    reg query HKLM\Software\Classes\Python.File\DefaultIcon >For me the value is "C:\Python33\DLLs\py.ico".   i get:  'reg' is not recognized as an internal or external command, operable program or batch file.__

Re: [Tutor] some web and python version questions

2013-03-05 Thread eryksun
On Tue, Mar 5, 2013 at 4:04 AM, Lolo Lolo wrote: > due to the last 2 posts i was able to locate and delete the Iconcache.db > through cmd. But after restarting, even though i have the refreshed cache, > the icons are still not displaying properly. Check the output of the following command: r

Re: [Tutor] some web and python version questions

2013-03-05 Thread Lolo Lolo
  due to the last 2 posts i was able to locate and delete the Iconcache.db through cmd. But after restarting, even though i have the refreshed cache, the icons are still not displaying properly. Will that website http://www.trishtech.com/winxp/rebuild_icon_cache_in_windows_xp.php provide an al

Re: [Tutor] some web and python version questions

2013-03-05 Thread eryksun
On Tue, Mar 5, 2013 at 2:43 AM, Lolo Lolo wrote: >>del /a %localappdata%\IconCache.db > >>It will be rebuilt at your next login. > > that last command returns "The system cannot find the path specified." Any > ideas which directory i should do that in? Sorry, I haven't used XP (NT 5) in a lon

Re: [Tutor] some web and python version questions

2013-03-05 Thread Dave Angel
On 03/05/2013 02:43 AM, Lolo Lolo wrote: Installing 3.3 associated .py files with %windir%\py.exe, but it seems the icon cache wasn't refreshed. You can trigger a refresh by setting any default in the "Default Programs" control panel applet. If that fails, you can manually delete the cache fro

Re: [Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
>Installing 3.3 associated .py files with %windir%\py.exe, but it seems >the icon cache wasn't refreshed. You can trigger a refresh by setting >any default in the "Default Programs" control panel applet. If that >fails, you can manually delete the cache from the cmd shell: >    del /a %localappd

Re: [Tutor] some web and python version questions

2013-03-04 Thread eryksun
On Tue, Mar 5, 2013 at 12:14 AM, Dave Angel wrote: > > #!c:\python3.3\python.exe (or wherever the installation directory > actually is) > > or what Eryksun suggested: > > #!/usr/bin/env python3.0 > > I can't tell which would be right, since I don't run Windows. Any more. Both forms work. The

Re: [Tutor] some web and python version questions

2013-03-04 Thread Dave Angel
On 03/04/2013 11:57 PM, eryksun wrote: On Mon, Mar 4, 2013 at 10:54 PM, Lolo Lolo wrote: no if i double click the .py file, Python 3.3 opens all of my python 3 files. A lot of 3.0 files won't run but that's okay. Now on my command line if i enter the correct version's directory, and use: python

Re: [Tutor] some web and python version questions

2013-03-04 Thread eryksun
On Mon, Mar 4, 2013 at 10:54 PM, Lolo Lolo wrote: > no if i double click the .py file, Python 3.3 opens all of my python 3 > files. A lot of 3.0 files won't run but that's okay. Now on my command line > if i enter the correct version's directory, and use: python myfile.py then > the correct versio

Re: [Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
> (Please get the quoting right in your messages.  Either you've got a > brain-dead mail program, or you're trying to bypass it's methods.  > On your last message you attributed Eryksun's comments as though they were > your own.)   sorry this is yahoo's fault, i have to manually insert the ">"

Re: [Tutor] some web and python version questions

2013-03-04 Thread Dave Angel
(Please get the quoting right in your messages. Either you've got a brain-dead mail program, or you're trying to bypass it's methods. On your last message you attributed Eryksun's comments as though they were your own.) On 03/04/2013 09:49 PM, Lolo Lolo wrote: no sorry i made a mistake it

Re: [Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
I don't know how that's working. There are no executables or batch files with those names in the default installations. It's always "python.exe". Plus the default install options don't muck with the PATH environment variable. Did you rename (or NTFS symlink) the executables and add the install dire

Re: [Tutor] some web and python version questions

2013-03-04 Thread eryksun
On Mon, Mar 4, 2013 at 2:58 PM, Lolo Lolo wrote: >>then you should be able to say >> python3.3 myscript.py >>or python3.0 myscript.py > > thanks it installed independently like you said. and those python3.3 or > python3.0 in the command line seems to do the trick! I don't know how that's wo

Re: [Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
thanks for the recommendations. I think i will try a smaller framework first (haven't decided which) to learn how it all works without the additional features. Then probably will go for Django after i get comfortable working with the web    ___ Tuto

Re: [Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
>Python 3.3 will definitely install independently of 3.0 on Windows. It's only >the minor versions that happen in place, like going from 3.3 >to 3.3.1 >If you're running your scripts explicitly, by something like: >   python  myscript.py >then you should be able to say >   python3.3  myscript.p

Re: [Tutor] some web and python version questions

2013-03-04 Thread Russel Winder
On Mon, 2013-03-04 at 17:58 +, Alan Gauld wrote: […] > There are so many web frameworks for Python that asking which is bet is > rather pointless. They are all fairly good, some are very good for > specific tasks, others are more general. The main thing to start with is > pick one and learn

Re: [Tutor] some web and python version questions

2013-03-04 Thread Alan Gauld
On 04/03/13 16:30, Lolo Lolo wrote: Also i want to learn web development ... ask which is a better bet, Bottle or Cherrypy? ... Also is Pyramid a lightweight framework as its description suggests or is it big/complex like Django? There are so many web frameworks for Python that asking which is

Re: [Tutor] some web and python version questions

2013-03-04 Thread Dave Angel
On 03/04/2013 11:30 AM, Lolo Lolo wrote: Hey all, i am running python 3.0 but i realized a lot of modules that support version 3 do not support 3.0. now i want to install Python 3.3 but im worried the two versions (3.0 and 3.3) might confuse my machine. i don't want to lose my work in 3.0 and

[Tutor] some web and python version questions

2013-03-04 Thread Lolo Lolo
Hey all, i am running python 3.0 but i realized a lot of modules that support version 3 do not support 3.0. now i want to install Python 3.3 but im worried the two versions (3.0 and 3.3) might confuse my machine. i don't want to lose my work in 3.0 and i installed some modules and saved some wor