Hi
Debian stretch OS
KDE Desktop
Code written with Kate
Run in command line with $python getFileNames.py
Code:
from os import walk
import subprocess
f = []
x = ""
for (dirpath, dirnames, filenames) in walk('.'):
print(filenames)
This prints [][]
What am I doing wrong or how do I remove t
Hi all,
I needed to switch a projects from python 2.7 to 3.4 and had trouble
setting up the virtual environment using the virtualenvwrapper utility.
It seemed to want to install python 2.7 no matter what I did. I switched
to pyvenv which solved the problem. But I now need to completely clean
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line
Hi all
I am new to python but not programming (Although rusty) and am using
Learning Python The Hard Way. I really like it.
System:
---
Debian 8 (jessie)
KDE Desktop
Python 2.7 (It's going to be a while before 2,7 goes away. There is just
too much code out there.
Ninja-IDE IDE
On 08/08/2015 09:08 PM, Dwight GoldWinde wrote:
I am both new to Python and I haven’t even touched Django yet.
I understand I that I need Django or something like it to develop my
website.
From what I have read, Python and Django somewhat go together.
Is that true?
Or is there another devel
On 07/30/2015 11:15 PM, dieter wrote:
Gary Roach writes:
Being new to Django and Python, I have two projects setup side by
side, each in it's own virtualenv wrapper.
The twr_project is running Django 1.7, python 2.7 and is set up to
duplicate the 'Tango With Rango' tutorial
On 07/30/2015 11:15 PM, dieter wrote:
Gary Roach writes:
Being new to Django and Python, I have two projects setup side by
side, each in it's own virtualenv wrapper.
The twr_project is running Django 1.7, python 2.7 and is set up to
duplicate the 'Tango With Rango' tutorial
Hi all
Being new to Django and Python, I have two projects setup side by side,
each in it's own virtualenv wrapper.
The twr_project is running Django 1.7, python 2.7 and is set up to
duplicate the 'Tango With Rango' tutorial.
The archivedb project is running Django 1.8, python 2.7 and is my act
On 07/22/2015 04:44 PM, Chris Angelico wrote:
On Thu, Jul 23, 2015 at 9:35 AM, Gary Roach wrote:
At this point, I'm confused about a few things. Does the postgresql server
and my archivedb reside globally or are they inside my archivedb virtual
environment. I think globally.
Your vi
On 07/16/2015 04:53 PM, Chris Angelico wrote:
On Fri, Jul 17, 2015 at 9:34 AM, Gary Roach wrote:
On 07/15/2015 11:25 AM, Chris Angelico wrote:
You should then be able to create a regular user, and grant
appropriate permissions:
postgres=# create user archives password
'traded-
On 07/16/2015 04:53 PM, Chris Angelico wrote:
On Fri, Jul 17, 2015 at 9:34 AM, Gary Roach wrote:
On 07/15/2015 11:25 AM, Chris Angelico wrote:
You should then be able to create a regular user, and grant
appropriate permissions:
postgres=# create user archives password
'traded-
On 07/15/2015 11:25 AM, Chris Angelico wrote:
On Thu, Jul 16, 2015 at 3:13 AM, Gary Roach wrote:
Every time I try to do a python manage.py migrate I get:
django.db.utils.OperationalError: FATAL: password
authentication failed for user "postgres"
FATAL: password authentication faile
Every time I try to do a python manage.py migrate I get:
django.db.utils.OperationalError: FATAL: password authentication
failed for user "postgres"
FATAL: password authentication failed for user "postgres"
System Debian linux jessie
python 2.79
Django 1.8
Postgresql 9.4.3 database
Using v
I'm trying to set up a python django_cms system using:
Debian OS
Wheezy distribution
Python 2.7.3
` Django 1.5.5
PostgreSQL 9.1
with pip and virtualenv.
The last test errored out and I traced the problem to the missing
cmsplugin-filer-0.9.4.tar.gz package not
Hi all,
I have been trying to set up a python, django, mysql, virtualenvwrapper
and git development project and am really confused. All of the
documentation seems to ignore the apt-get installation methods used by
Debian Linux and its derivatives. Does pip install the same as apt-get;
I don't
On 10/27/2013 04:38 AM, rusi wrote:
On Sunday, October 27, 2013 6:44:35 AM UTC+5:30, Gary Roach wrote:
Hi
In the process of trying to learn python, django, mysql and
virtualenvwrapper, I have created two projects and a mess. How can I
strip everything from a Debian, Wheezy, linux system. The
Hi
In the process of trying to learn python, django, mysql and
virtualenvwrapper, I have created two projects and a mess. How can I
strip everything from a Debian, Wheezy, linux system. The files are all
over the place. Much of the information in this area is for Mac or
Windoz systems that do
On 09/19/2013 11:15 AM, John Gordon wrote:
In Gary Roach
writes:
Installation of the django admin.py package worked fine. But. when I
tried to add my database to the admin page I get the following error:
ImportError at /admin/
Does /home/gary/ProgramFiles/mysite/mysite/models.py
On 09/19/2013 11:56 AM, John Gordon wrote:
In Gary Roach
writes:
On 09/19/2013 11:15 AM, John Gordon wrote:
Does /home/gary/ProgramFiles/mysite/mysite/models.py define an object
named 'membership'?
Yes. The following is the top part of the models.py file: q
class
Installation of the django admin.py package worked fine. But. when I
tried to add my database to the admin page I get the following error:
ImportError at /admin/
cannot import name membership
Request Method: GET
Request URL:http://127.0.0.1:8000/admi
Hi all,
System:
Debian Wheezy Linux
Python 2.7
Django 1.5
MySql 5.5
I am new to Python and Django and am having trouble matching Python data
types with those of MySQL. MySQL has about 7 basic data types including
Blobs, Binaries, etc. It also has a rich selectio
On 08/23/2013 08:38 AM, Jason Friedman wrote:
System Debian Wheezy Linux
Python 2.7
Mysql 5.5.31
Apache Server
I am somewhat conversant with html, css, SQL, mysql, Apache and Debian
Linux. Actually I have been using Debian for over 10 year. I spent over 5
year, prior to retirement, programming d
Hi all,
I'm now to the list so apologies if I don't always follow the local
protocol. My problem is the interface between python and mysql using a
three tier model. First, some background:
System Debian Wheezy Linux
Python 2.7
Mysql 5.5.31
Apache Server
I am somewhat conversant with html, cs
25 matches
Mail list logo