Re: Windows vs. Linux
Python should port nicely between Windows and Linux so there should be no need to dual-boot. [EMAIL PROTECTED] wrote: > Okay, once-upon-a-time I tried to start programming by learning C. At > the time I was younger and didn't really understand all that C had to > offer. I eventually moved over to Microsoft's Visual Basic. It was > nice to be able to design a visual application with no effort (too bad > I didn't really learn the ins and outs of programming) > > Long story short, I want to get back into programming, and Python looks > like a good choice for me to start with, and maybe become advanced > with. Right now I run Windows as my main operating system. On my old > laptop I ran Ubuntu, and liked it very much; however, my new laptop has > a Broadcom wireless card, and it's not very Linux friendly. Is Windows > an okay enviornment in which to program under Python, or do you > recommend that I run a dual-boot of Linux or maybe a VMWare install to > program under Python? -- http://mail.python.org/mailman/listinfo/python-list
Re: Windows vs. Linux
That is important, but apparently Windows (at least XP) will work fine
with the forward slash that Linux uses. I just tried it in the command
prompt and it works. I'm sure other platforms use the forward slash
separator as well. You've just covered three major platforms (Mac OS X,
WinXP and Linux) without using os.path.join.
And finally, from the Wikipedia entry on Slash (punctuation):
``Note however that the "forward slash" will be translated into a
backslash by most versions of DOS and Windows, in contexts where there
is little ambiguity with command-line options.''
-Rudolf
James Stroud wrote:
> jean-michel bain-cornu wrote:
> >Take care to use os.sep
>
> This is an important point. You should read up on the os.path module to
> make sure you are doing things in a platform independent way, for
> example, its better to use:
>
>os.path.join('my', 'favorite', 'dir')
>
> than
>
>"\\".join(['my', 'favorite', 'dir'])
>
> because the latter will bonk on linux. The former is platform
> independent. This hits at the same issue as using os.sep:
>
>os.sep.join(['my', 'favorite', 'dir'])
>
> But os.path has takes care of many of these issues in one module.
>
> James
>
> --
> James Stroud
> UCLA-DOE Institute for Genomics and Proteomics
> Box 951570
> Los Angeles, CA 90095
>
> http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list
Re: languages with full unicode support
> As far as i know, here's few other lang's status: > > C → No. I think C has the wchar type to handle larger values. And C++ has std::wstring. So really, the support is there. http://www.cl.cam.ac.uk/~mgk25/unicode.html#c I think the problem is that most C/C++ coders don't care about unicode support and so they stick to char and std::string. -- http://mail.python.org/mailman/listinfo/python-list
Re: Distributed RVS, Darcs, tech love
For the love of the Perl, Python, Lisp, Java and functional programmers, please just give an abstract of what you've written and link to it? -Rudolf -- http://mail.python.org/mailman/listinfo/python-list
Re: how to get 20000 html pages content quickly from one server?
JuHui wrote: > Hi > I want to get 20 html pages content from one server, you know > urllib.urlopen need construct network connection, it will be very > slowly, how to speed up this function? > I try to using multi-thread, it speed up, but I want to quickly more, > any idea about it? > Thanks! Why don't you try and use wget? -- http://mail.python.org/mailman/listinfo/python-list
