On Wed, Dec 19, 2012 at 6:45 PM, Steven D'Aprano wrote:
>
> 4) Bundle the modules together in one file. If you zip up the modules
> in a zip file as if it were a package, *without* the package directory,
> then change the file extension to .py, you can run it as if it were a
> single Python script
On 19 December 2012 23:45, Steven D'Aprano wrote:
> On 20/12/12 04:37, rail shafigulin wrote:
>
>> I'm attempting to write a script with command-line arguments. Based on
>> some
>> reading I have done online and some advice from this mailing list I'm
>> going
>> to use docopt and schema modules. T
On 20/12/12 04:37, rail shafigulin wrote:
I'm attempting to write a script with command-line arguments. Based on some
reading I have done online and some advice from this mailing list I'm going
to use docopt and schema modules. The problem I'm facing is that I'd like
to be able to give this scri
On 19 December 2012 01:19, Brandon Merritt wrote:
> Sorry, I am just so confused and aggravated as to why this won't work - why
> doesn't it print out the whole list? :
>
> number = raw_input('Enter a 7-unit number: ')
>
> for i in number:
> count = []
> count.append(i)
>
> print count
>
>
Hi Rail,
> I'm attempting to write a script with command-line arguments. Based on some
> reading I have done online and some advice from this mailing list I'm going
> to use docopt and schema modules. The problem I'm facing is that I'd like to
> be able to give this script to anyone who needs i
I'm attempting to write a script with command-line arguments. Based on some
reading I have done online and some advice from this mailing list I'm going
to use docopt and schema modules. The problem I'm facing is that I'd like
to be able to give this script to anyone who needs it by just using one
f
On Wed, Dec 19, 2012 at 5:43 AM, Albert-Jan Roskam wrote:
>
>So MBCS is just a collective noun for whatever happens to be the
>installed/available codepage of the host computer (at least with
>CP_ACP)?
To be clear, the "mbcs" encoding in Python uses CP_ACP. MBCS means
multibyte character set. The
Steven D'Aprano wrote:
> On 19/12/12 16:52, Dae James wrote:
> > My linux distribution is CentOs 6.3. And python attached to the OS is 2.6.
> > How can I overwrite the previous version with python 2.7 ? Or how can I
> >uninstall the previous version?
>
> Why? Do you like breaking your operating sy
On 12/19/2012 12:40 AM, Brandon Merritt wrote:
I feel silly, but I'm having the darndest time trying to figure out
why this for counter won't work. I know that there is the count method
for the string class, but I was just trying to do it the syntactical
way to prove myself that I know the very
On 19/12/12 16:52, Dae James wrote:
My linux distribution is CentOs 6.3. And python attached to the OS is 2.6.
How can I overwrite the previous version with python 2.7 ? Or how can I
uninstall the previous version?
Why? Do you like breaking your operating system?
Never, ever mess with the oper
>
> From: eryksun
>To: Albert-Jan Roskam
>Cc: Python Mailing List
>Sent: Tuesday, December 18, 2012 4:07 PM
>Subject: Re: [Tutor] sys.getfilesystemencoding()
>
>On Tue, Dec 18, 2012 at 8:13 AM, Albert-Jan Roskam wrote:
>>
>>In windows xp, the characters can,
On 19/12/12 05:52, Dae James wrote:
My linux distribution is CentOs 6.3. And python attached to the OS is 2.6.
How can I overwrite the previous version with python 2.7 ? Or how can I
uninstall the previous version?
You sh
On 19/12/12 05:40, Brandon Merritt wrote:
the string class, but I was just trying to do it the syntactical way to
prove myself that I know the very basics.
Which is not a bad thing.
just returning 1 or 0, even if I very clearly make sure that I specify
at least 4 instances of the digit in my
On 12/19/2012 12:40 AM, Brandon Merritt wrote:
> I feel silly, but I'm having the darndest time trying to figure out why
> this for counter won't work. I know that there is the count method for the
> string class, but I was just trying to do it the syntactical way to prove
> myself that I know the
On 19/12/12 03:54, boB Stepp wrote:
systems. Now after the upgrades some machines now have Python 2.4.4
and others Python 2.4.6. For the purposes of creating/manipulating
text files and running Solaris-flavored Unix commands, is there
anything I should be specially aware of?
The major versions
On 19 December 2012 03:54, boB Stepp wrote:
> BTW, does 2.4.x come with Tkinter standard?
>
Yes: http://docs.python.org/release/2.4.4/lib/module-Tkinter.html
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://
Dae James writes:
> My linux distribution is CentOs 6.3. And python attached to the OS is 2.6.
> How can I overwrite the previous version with python 2.7 ? Or how can I
> uninstall the previous version?
>
This is not recommended. The python version supplied with your OS might
be used by a num
17 matches
Mail list logo