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
0 answers

OAuth1Session.fetch_request_token

Firstly I am very much learning to code, so I apologies if this turns out to be something extremely silly on my end. I am trying to implement a small app to obtain keys from the Etsy site using python, and to implement a tkinter GUI, however, when…
Nataku62
  • 33
  • 1
  • 8
0
votes
1 answer

Error when install psycopg2 on mac

When i try to install psycopg2 on mac using pip install -r requirements.txt I got error. Collecting psycopg2==2.6 (from -r requirements.txt (line 30)) Using cached psycopg2-2.6.tar.gz Complete output from command python setup.py egg_info: running…
0
votes
1 answer

Pyvmomi - Assign VM to specific folder with non-unique name

I'm trying to figure out how to assign a VM to a folder that does not contain a unique name. I'm currently testing with the clone_vm.py template. With the sample, I have the ability to set the folder, but it does not work correctly if there's nested…
user3704433
  • 33
  • 1
  • 5
0
votes
1 answer

Change Version While Running - Python 3.4 - Python 3.6.3

Quick question, hoping to write right. Is it possible, while a Python script is running, to change the Python version? Let me explain: Script started (Python 3.4) Open window in Pyqt5 (loading resources and others) Window closed in Pyqt5 Version…
BlackFenix06
  • 577
  • 1
  • 6
  • 22
0
votes
1 answer

Python, The fastest way to find string in multiple text files (some files are big)

I try to search a string in multiple files, my code works fine but for big text files it takes a few minutes. wrd = b'my_word' path = 'C:\path\to\files' #### opens the path where all of .txt files are #### for f in os.listdir(path): if…
BaFouad
  • 87
  • 1
  • 12
0
votes
1 answer

Error of importing BeautifulSoup in python 3

I am working with Jupyter Notebook and have python 2.7 and 3.4 installed on it. I installed BeautifulSoup before importing it by this line: pip install beautifulsoup4 The problem is that it is installed on python 2.7 while beautifulsoup4 is working…
user8034918
  • 441
  • 1
  • 9
  • 20
0
votes
1 answer

How to make windows executable including dependencies for python 3.6

I have tried pyinstaller and py2exe (both are expected to work on python 3.4 environment), but pyinstaller is throwing error "No system module pywintypes.dll" and py2exe is throwing error (async def concat_async(async_gen): invalid syntax) I have…
0
votes
0 answers

shelve module on windows

I'm trying to add object-persistence to my python app. I'm currently using python 3.4 on windows. The only module I found useful was shelve but on windows, it appears, it creates three different files rather than one: 'db.bak' ,'db.dat' and…
0
votes
0 answers

Logging exception error upgrading to python 3.4 from python 2.7

My application was running well but as I upgraded it to python version 3.4 . I am getting the error shown bellow. Looking at the error message I am not exactly able to debug the problem Error: --- Logging error --- Traceback (most recent call…
Tara Prasad Gurung
  • 3,422
  • 6
  • 38
  • 76
0
votes
1 answer

ANTLR4 with Python3 : "IndentationError : unexpected indent"

I am learning ANTLR4 with Python 3.4.2 and my goal here is just to write multiple lines of Python code inside the {} of a rule. When I define the rules of my parser, I have the following block of code : ... term : term '*' fact | term '/'…
Zinxira
  • 11
  • 1
0
votes
1 answer

im using .get() to return the value of the entry box named 'fName' and then print it on the click of the button... but its not working

from tkinter import * root = Tk() fN = StringVar() sN = StringVar() age = StringVar() yG = StringVar() Label(root, text="First Name").grid(row=0, sticky=W, padx=4) fName = Entry(root, width=50, textvariable=fN ).grid(row=0, column=1, sticky=E,…
Ethan2001
  • 51
  • 4
0
votes
3 answers

lxml error in python3.4 installation

I'm trying to run the following command in command prompt - pip install -r requirements.txt But it shows so many errors and I have no idea how to resolve them as I'm not familiar with python. The errors are: 1. Collecting lxml==3.5.0 (from -r…
The doctor
  • 29
  • 1
  • 8
0
votes
3 answers

Get rid of blank rows when my CVS file is being created - Python

When I run the below code and it creates the CSV. In my CSV file there are blank rows. I am wondering how to get rid of the blank rows. For example. Row 1 – will have the data I need Row 2 – will be blank Row 3 – will have the data I need Row 4 –…
Rich
  • 177
  • 2
  • 3
  • 13
0
votes
0 answers

Python lxml won't install on the proper platform

I have the following configuration: Windows 7 Enterprise SP1 64-bit Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)] on win32 pip 1.5.6 I do not have access to internet I am not an administrator on my…
someone
  • 1
  • 1
0
votes
1 answer

Pyqt4 to Pyqt5 and python code error

i switch from Pyqt4 to Pyqt5 and from python2.7 to 3.4 and i found a bug in Pyqt5 so i upgrade it to the last version which is not suppoted by python3.4 . than i used python3.5 and it work fine except one module called pymaxwell. always the app…
seghier
  • 167
  • 1
  • 2
  • 11
1 2 3
99
100