On Mon, Jan 6, 2014 at 10:31 PM, mes...@juno.com wrote:
> I tried eryksun's suggestion on installing python3.3:
> "Ubuntu has a Python 3.3 package. Installation should be simple:
> $ sudo apt-get update
> $ sudo apt-get install python3.3"
> on my Ubuntu 12.04 system and got the following m
I tried eryksun's suggestion on installing python3.3:
"Ubuntu has a Python 3.3 package. Installation should be simple:
$ sudo apt-get update
$ sudo apt-get install python3.3"
on my Ubuntu 12.04 system and got the following message:
E: Unable to locate package python3.3
E: Couldn't find any
On Tue, Jan 7, 2014 at 12:40 AM, eryksun wrote:
>
> virtualenv allows you to specify the target Python:
>
> virtualenv --python=/usr/bin/python3.3 myenv
>
> Refer to `man virtualenv` for more options.
>
> Or use synaptic if you prefer a GUI interface.
>
> Ubuntu has a Python 3.3 package. Ins
On Mon, Jan 6, 2014 at 11:38 AM, Matthew Ngaha wrote:
>
> 2) I really need to use virtualenv for python3.2. The problem is
> python3.3 seems to be the default and overrides every virtualenv thing
> i try doing. whether it is pyvenv or virtualenv, the 3.3 version takes
> priority. It is located in
Hello Matthew,
You likely want to investigate the Linux "Alternatives" system which
handles default pointers to a given version of a program. People usually
encounter this system for the first time while dealing with different
versions of Java JRE needing to be installed at the same time.
I'm a R
consider this:
sudo apt-get search python3
to find out the exact name or how python 3.3 is registered
sudo apt-get uninstall [that-exact-name]
sudo apt-get reinstall python32
sudo apt-get reinstall python-virtualenv
Wolf Halton
--
This Apt Has Super Cow Powers - http://sourcefreedom.com
Securi
On 06/01/14 08:57, Amrita Kumari wrote:
up to this extent it is ok; it is ok it is giving the output as:
['1' , ' GLY' , 'HA2=3.7850' , 'HA3=3.9130' , ' ' , ' ' , ' ' , ' ']
[ '2' , 'SER' , 'H=8.8500' , 'HA=4.3370' , 'N=115.7570' , ' ' , ' '
, ' ']
--
-
Hi i wrote about a week ago about the problems i had with importing
sqlite3 on python 3.3 on ubuntu 12.04. Due to this ive tried to revert
back to python 3.2 which is the default installation along wit 2.7.
I've run into 2 problems.
1) I'm new to ubuntu and someone helped me install python3.3 from
Amrita, it doesn't seem like the code you are providing is the code you are
running. I wonder if you are running it all at the Python command line or
something, and have to type it in every time? You should put it in a file,
and save & run that file, and then cut and paste it directly into your
em
On 01/05/2014 08:40 PM, Keith Winston wrote:
On Sun, Jan 5, 2014 at 2:52 AM, Mark Lawrence wrote:
Homework for you :) Write a line of code that creates a list of say 3 or
4 integers, then write a line that creates a tuple with the same integers.
Use the dis module to compare the byte code th
On Mon, Jan 6, 2014 at 5:59 AM, Rafael Knuth wrote:
>
> does anyone know how to activate virtualenv in Windows?
> In Terminal it's:
>
> source bin/activate
>
> Couldn't find the corresponding command for Windows that actually worked.
> Any ideas?
Scripts are installed to `Scripts` on Windows.
ht
Hello
> On Jan 6, 2014, at 6:08 AM, Rafael Knuth wrote:
>
> Hej guys,
>
> does anyone know how to activate virtualenv in Windows?
> In Terminal it's:
>
> source bin/activate
Just run the script directly from the prompt -
C://bin/activate
HTH
-Srini
Hej guys,
does anyone know how to activate virtualenv in Windows?
In Terminal it's:
source bin/activate
Couldn't find the corresponding command for Windows that actually worked.
Any ideas?
Thanks!
Rafael
___
Tutor maillist - Tutor@python.org
To uns
Hi Steven,
I tried this code:
import csv
with open('file.csv') as f:
reader = csv.reader(f)
for row in reader:
print(row)
row[0] = int(row[0])
up to this extent it is ok; it is ok it is giving the output as:
['1' , ' GLY' , 'HA2=3.7850' , 'HA3=3.9130' , ' ' , ' ' ,
oops, I see Steven pointed out a much cleaner approach. Oh well. Shock &
surprise ;)
Keith
On Mon, Jan 6, 2014 at 3:27 AM, Keith Winston wrote:
> Hi Amrita: I tried to figure out, for kicks, how to do what I THINK is
> what you're trying to do... I've never even opened a .txt file in Python
>
Hi Amrita: I tried to figure out, for kicks, how to do what I THINK is what
you're trying to do... I've never even opened a .txt file in Python before,
so you can take all this with a big grain of salt... Anyway, if you take
your example of your original database:
1 GLY HA2=3.7850 HA3=3.9130
2 SER
16 matches
Mail list logo