Questions tagged [python-3.4]

The version of the Python programming language released on March 16, 2014. For issues that are specific to Python 3.4. Use the more generic [python] and [python-3.x] tags where possible.

Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability.

Python 3.4 (released on March 16, 2014), the first beta having been released on November 24, 2013) introduces a new enum module providing an enumerated type, and an improved marshal format. Other new modules include:

3.4 also includes a bundled installer for pip to standardize installation of third-party modules.


Use this tag if your question is specifically about . If your question applies to Python in general, use the tag . If your question applies to Python 3.x but not to Python 2, use the tag . If you aren't sure, tag your question and mention which version you're using in the body of your question.

2588 questions
0
votes
2 answers

How to install MySQL Connector for Python on Windows when according to the installation manager Python is not installed?

I've been struggling outstandingly lot with the installation of MySQL for Python recently. I've read all forum comments that I could find, either here or other related forums, but none of the recommendations seemed to help. Below are some…
lazarea
  • 1,129
  • 14
  • 43
0
votes
1 answer

serializers validation method is not validating list of objects for the first time

models.py class Customer(models.Model): name = models.CharField(max_length=128) email = models.EmailField(null=True, blank=True) phone = models.CharField(max_length=128) serializers.py class…
Thameem
  • 3,426
  • 4
  • 26
  • 32
0
votes
2 answers

Object persistence in WSGI

I've been developing a web interface for a simple raspberry pi project. It's only turning lights on and off, but I've been trying to add a dimming feature with PWM. I'm using modWSGI with Apache, and RPi.GPIO for GPIO access. For my prototype I'm…
0
votes
2 answers

Issue sorting tuples in python3

Below is my code and i am trying to sort the tuple with respect to 2nd element. list = ["abc14_90","abc44_88","abc14_89"] listLength = len(list) for i in range(0,listLength): tempList = list[i].split('_') tempList1 = tempList[0].split('c') …
moooni moon
  • 333
  • 1
  • 5
  • 19
0
votes
1 answer

Query for manytomany multiple tables for getting data of multiple models in django

I'm trying to solve following case: many Student has many subjects but only some subjects are marked as his current subjects, one classroom has multiple subjects, student may carry subjects of other classroom which can be checked from his current…
0
votes
1 answer

Python3 gspread error when opening sheet

I downloaded gspread with pip and pip3 for both python 3.4 and python 2.7. When running the code below with python (2.7.6) it runs without a problem, but when running it on python3 (3.4.3) it throws this error, please help, I dont know what to do. I…
Martin Björn
  • 51
  • 1
  • 3
0
votes
1 answer

object oriented python 3 input error

I'm currently working with Python 3.4 on Debian 8.5 linux. I'm working with "Learn Python 3 the Hard way" and I'm working with the section about running test (via nosetests). I have code (which I will include in full) and it's giving me an error on…
KoshVorlon
  • 144
  • 8
0
votes
2 answers

Django: best way to handle foreign key requests in template pages

Suppose you are making a site to simply list your products. You want to upload an unspecified number of pictures for your each of your products. So you, following Django's many-to-one documentation, make two models: # files stored under…
SumNeuron
  • 4,850
  • 5
  • 39
  • 107
0
votes
0 answers

Javascript file. Failed to load Resource: 404 not found

I'm developing a website using flask and python3.4. In an html template I link a javascript file that I wrote containing functions defining datepicker properties. The line looks like this.