Le 23/07/2013 17:25, Steven D'Aprano a écrit :
On Tue, 23 Jul 2013 13:42:13 +0200, Vincent Vande Vyvre wrote:
On Windows a script where de endline are the system line sep, the files
are open with a double line in Eric4, Notepad++ or Gedit but they are
correctly displayed in the MS Bloc-Notes
Le 30/07/2013 18:10, cool1...@gmail.com a écrit :
What if I want to use only Python? is that possible? using lib and lib2?
Have a look here:
http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/trunk/view/head:/parsers.py
This script get a web page and parse it to find downloadable objects.
Le 04/08/2013 18:06, Jacknaruto a écrit :
Hi, Guys!
I created a thread class based QThread, and defined some signals to
update UI through main thread.
the UI used a stackedWidget,someone page named 'progressPage' have a
progressBar and a Label, the next page named 'resultsPage' shows
Le 04/09/2013 08:05, vnkumbh...@gmail.com a écrit :
how works python interpreter for finding comment ?
if possible find nested comment ?
If you need to find it yourself, you can use the module tokenize.
ex.:
---
import tokenize
from
Le 13/09/2013 02:33, Mohsen Pahlevanzadeh a écrit :
Dear all,
QtCore.QObject.connect(self.checkBox,
QtCore.SIGNAL(_fromUtf8(clicked(bool))), lambda:
self.interfaceCodesConstructor.setFilterList(self,name,self.lineEdit.text()))
I code pyqt, I have the following code:
///
Le 15/09/2013 09:34, Mohsen Pahlevanzadeh a écrit :
Dear all,
My program have a set of checkbox,
When user check a checkbox, i should
call slot1() and when user uncheck
checkbox, i should call slot2(),But
i can't understand when user checks
and unchecked.
My questions is, How can i find
Le 17/09/2013 11:05, Steven D'Aprano a écrit :
On Tue, 17 Sep 2013 08:42:35 +0430, Mohsen Pahlevanzadeh wrote:
Dear all,
Unfortunately, i confused and need help... the following code is:
###
##CheckBox:
QtCore.QObject.connect(self.checkBox,
Le 18/09/2013 05:41, Mohsen Pahlevanzadeh a écrit :
Dear all,
I need to draw a rectangle , according to attached picture , you see a
rectangle in a form that enclosed with a text: Rebuild Last Target.
Question: How can i draw a same rectangle with qt-designer?
Yours,
Mohsen
See :
Le 27/09/2013 21:57, Joel Goldstick a écrit :
2013/9/27 jonathan.corriv...@gmail.com
mailto:jonathan.corriv...@gmail.com
Je sais qu'il y a plein d'information à lire un peu partout, mais
j'ai vraiment du mal à voir pourquoi Python est si fantastique...
Je m'explique
Le 16/10/2013 11:21, Jérôme a écrit :
Hi all.
I'm having troubles with urllib2 timeout.
See the following script :
import urllib2
result = urllib2.urlopen(http://dumdgdfgdgmyurl.com/;)
print result.readline()
If run on my Debian
Le 22/10/2013 15:01, Forsgren a écrit :
I'm really embarrassed to be asking this, I feel that there is a really
simple answer to this, but I cant for the life of me find it.
So, I have this app, which loads a ui, which has a scrollarea that is a
parent to a gridlayout.
So in QT designer it
On 06/09/12 08:21, coldfire wrote:
I have a web scrapper script which run every day at 0100 hrs using cron Job
over a shell account.
Now what I am looking for is to re run the same script.
1 The script goes online to scrape some data including a schedule time for
my meeting.
I want to re
Le 10/09/12 19:24, jayden.s...@gmail.com a écrit :
Anybody has the experience of the performance of the program developed by
pyQT? Is it much slower than the one made by QT, such as (20%)?
For my experience, 20% is really surestimated.
I'm developping only with PyQt and essentially in the
In my application I import a module and I want to set the same logging
level
as the main app to this module.
I've tried this code
main.py
import logging
logger = logging.getLogger(__name__)
lvl = logging.DEBUG
LOG_FORMAT = %(asctime)-6s %(levelname)s: %(name)s - %(message)s
Le 25/09/12 19:01, Peter Otten a écrit :
Vincent Vande Vyvre wrote:
In my application I import a module and I want to set the same logging
level as the main app to this module.
Isn't that the default? If you set the logging level with basicConfig() that
level should be applied to all
Le 25/09/12 19:47, Jean-Michel Pichavant a écrit :
- Original Message -
In my application I import a module and I want to set the same
logging
level
as the main app to this module.
I've tried this code
main.py
import logging
logger = logging.getLogger(__name__)
lvl =
Le 04/11/12 03:27, kapetanovic.zer...@gmail.com a écrit :
Hi,
I'm using Qt Designer to create a GUI that reads data from a file and plots
in on a graph. I downloaded the Qt Developer and followed the directions in
the readme.txt to add the plugins. My issue is that when I open Qt Designer
Le 12/11/12 22:02, Juhani Ylikoski a écrit :
Following comes a working, debugged Python program which computes the
permutations of the integers 1, 2, 3 - n after Donald E. Knuth. I
present it as an example of writing straightforward, easy Knuth-based
code in a language with no GOTO statement.
Le 24/11/12 11:20, bakie a écrit :
when I run py script in pycharm for UI
Code:
import from PySide.QtCore import * from PySide.QtGui import * import urllib2
class Form(QDialog): def __init__(self, parent=None): super(Form,
self).__init__(parent) date = self.getdata() rates =
Le 16/12/12 20:43, jwe.van.d...@gmail.com a écrit :
I want to resize an image but retain the exif data
I now have:
import Image
img = Image.open('photo.jpg')
img.thumbnail((800, 800), Image.ANTIALIAS)
img.save('photo800.jpg', 'JPEG')
The saved image photo800.jpg has no exif info anymore.
Le 03/02/2014 10:15, Fernando Masanori
Ashikaga a crit:
Does anyone know if there is already a Python library for Myo [1] Gesture Control Armband? There are other gesture controls with Python libraries?
Thanks in advance
[1] https://www.thalmic.com/en/myo/
Le 20/02/2014 08:32, ApathyBear a écrit :
I have two questions that come along with the following code:
--
from __future__ import print_function
def sanitize(time):
if '-' in time:
splitter = '-'
Le 17/04/12 08:09, alhad a écrit :
Hi Guys,
I am using Python 2.5 Qt4.4.1 on windows xp machine. I am trying to use
printpreviewdialog for my application.
printer = QtGui.QPrinter(QtGui.QPrinter.HighResolution)
preview = QtGui.QPrintPreviewDialog(printer,self)
Le 18/04/12 18:15, Ian Kelly a écrit :
On Wed, Apr 18, 2012 at 9:56 AM, cheung mwpche...@gmail.com wrote:
how does the function dir works, where can I get the python-c source of
dir in py2.7 project.
I looked the python_c source for hours, can't find how dir works.
Le 29/04/12 00:52, Santosh Kumar a écrit :
System Information
Ubuntu 11.10
Python 2.7.2
Problem
I think my Ubuntu has PyGTK and GTK both already installed. But
however when I am importing gtk in Python interactive mode then I am
getting the
Hi,
I use 2to3 into a python script wich convert all .py files of an
application.
2to3 is executed into the same directory as files.
All import are now relative import:
-
--- main_ui.py (original)
+++ main_ui.py (refactored)
@@ -15,18 +15,18 @@
-from
On 18/05/12 02:52, Simon Cropper wrote:
Hi,
There has been some discussion on this list regarding GUI toolkits and
it reinvigorated my search for one to meet my needs.
I would like to create windows with grids (AKA rows and column of a
table like excel). Do any of the GUI interfaces have
On 20/05/12 17:55, Steven D'Aprano wrote:
Is this a bug in the doctest documentation, or is my browser broken?
On this page:
http://docs.python.org/library/doctest.html#option-flags-and-directives
scroll down to the examples showing the doctest directives, e.g:
[quote]
For
On 05/06/12 16:10, Mark R Rivet wrote:
I want a gui designer that writes the gui code for me. I don't want to
write gui code. what is the gui designer that is most popular?
I tried boa-constructor, and it works, but I am concerned about how
dated it seems to be with no updates in over six
On 11/07/12 17:37, Jean Dubois wrote:
I'm trying to combine python-code made with QT4 designer with plain
python statements like
file = open(test,w)
Can anyone tell me what I have to add to the following code just to
open a file when clicking on the load-button and closing it by
clicking on
On 12/07/12 08:42, Jean Dubois wrote:
On 12 jul, 02:59, Vincent Vande Vyvre vincent.vandevy...@swing.be
wrote:
On 11/07/12 17:37, Jean Dubois wrote:
I'm trying to combine python-code made with QT4 designer with plain
python statements like
file = open(test,w)
Can anyone tell me what
On 15/07/12 07:31, Michael Torrie wrote:
On 07/14/2012 11:13 AM, rusi wrote:
I looked at the second link and find code like this:
app = None if ( not app ): app = QtGui.QApplication([])
Maybe I'm dense but whats that if doing there?
Frankly I seem to be a bit jinxed with gui stuff. A few
On 20/07/12 11:50, Wolfgang Rohdewald wrote:
toPyObject() is mentioned but undocumented at
http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qvariant.html#toPyObject
without it being documented, I find it a bit surprising that toPyObject()
can return a QString.
Of course QString is a
Le 20/05/2014 19:38, Ian Kelly a écrit :
On Tue, May 20, 2014 at 11:14 AM, John Gordon gor...@panix.com wrote:
In d195c26b-62f9-4240-8f3e-c579a2889...@googlegroups.com wxjmfa...@gmail.com
writes:
sys.path
['D:\\jm\\jmpy\\smid\\smid50beta1', 'C:\\Windows\\system32\\python34.zip',
Le 20/05/2014 20:12, Chris Angelico a écrit :
On Wed, May 21, 2014 at 4:02 AM, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
from pyside import QtCore, QtGui
Is it pyside or PySide? There seems to be some inconsistency here.
ChrisA
Yes PySide, off course. Sorry.
--
Vincent V.V
Le 12/06/2014 05:12, hito koto a écrit :
Hello,all
I'm first time,
I want to make a while statement which can function the same x.pop () and
without the use of pop、how can i to do?
i want to change this is code:
def foo(x):
y = []
while x !=[]:
y.append(x.pop())
Le 21/11/11 06:46, GZ a crit:
Hi,
Here is my situation. A parent object owns a list of files (or other
objects with a close() method). The close() method can sometimes fail
and raise an exception. When the parent object's close() method is
called, it needs to close down as
Le 13/12/11 20:46, Richard a crit:
Hi,
We are making a screen with data driven buttons. I can add buttons but
can't redraw the buttons for new values. The buttuns are placed in a
frame.
I draw the buttons on the screen in a for loop:
def drawS1Butons(self):
n=0
Le 17/12/11 11:19, nukeymusic a crit:
I'm trying to calculate the difference in seconds between two
timestamps, but I'm totally stuck:
date1="Dec-13-09:47:12"
date2="Dec-13-09:47:39"
diff=datetime.date(date2)-datetime.date(date1)
Le 20/01/12 19:49, Tamanna Sultana a crit:
can some one help me??
I would like to create a function that, given a bin, which is a list
(example below), generates averages for the numbers separated by a
string 'end'. I am expecting to have 4 averages from the
Le 20/01/12 20:30, Vincent Vande Vyvre a crit:
Le 20/01/12 19:49, Tamanna Sultana a crit:
can some one help me??
I would like to create a function that, given a bin, which is a list
(example below), generates averages
Le 10/02/12 21:48, Thomas Philips a crit:
Thanks for the insight. I saw the behavious as soon as I extended x
with a bunch of 0's
x = list(range(10))
x.extend([0]*10)
x
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
Le 18/03/12 13:03, admin lewis a crit:
Hi,
anyone know what library i have to use to manage /var/lib/dpkg/status
file to get url of packages ?
thanks lewis
Hi,
What url ?, Sources, maintainer?
You can use "apt-cache search 'keyword'" to find a
Le 18/03/12 15:54, admin lewis a écrit :
2012/3/18 Vincent Vande Vyvre vincent.vandevy...@swing.be:
Le 18/03/12 13:03, admin lewis a écrit :
Hi,
What url ?, Sources, maintainer?
No, I need of to open /var/lib/dpkg/status and extract
Le 14/08/2014 14:35, marc.vanhoomis...@gmail.com a écrit :
Hello,
This very simple program runs well on windows 7
# -*- utf8 -*-
print('Réussi')
But, when I start the vrey same file on Linux (ubuntu 14), I got:
Traceback (most recent call last):
File
Le 14/08/2014 15:31, YBM a écrit :
Le 14/08/2014 14:35, marc.vanhoomis...@gmail.com a écrit :
Hello,
This very simple program runs well on windows 7
# -*- utf8 -*-
print('Réussi')
But, when I start the vrey same file on Linux (ubuntu 14), I got:
Traceback (most recent call last):
File
Le 20/08/2014 00:11, Alex Murray a écrit :
Hi,
I've discovered some very strange behaviour when trying to delete a
QWidget from a QGridLayout. The following code demonstrates this
behaviour:
from PyQt4 import QtGui
import sys
app = QtGui.QApplication(sys.argv)
grid_layout =
Le 20/08/2014 16:22, Alex Murray a écrit :
Please do not post in HTML it makes everything an unreadable mess
(I have left you original post above so you can see what I mean.)
Sorry, here's the original e-mail in plain text:
Hi,
I've discovered some very strange behaviour when trying to
delete
Le 25/09/2014 10:07, Pinter, Karina /C a écrit :
Dear Team,
I am working as a software analyst at ExxonMobil. I received a
software request for Python Imaging Library 1.x and the user needs a
64bit setup file for Python 2.7.2. Can I download it somewhere?
Thanks in advance.
*/Best
Le 15/10/2014 20:39, Shiva a écrit :
Hi,
I am trying to search a string through files in a directory - however while
Python script works on it and writes a log - I want to present the user with
count of number of strings found. So it should increment for each string found.
How do I implement
Le 16/11/2014 16:51, Juan Christian a écrit :
PySide 1.2.2
Python 3.4.2
Code:
from PySide.QtGui import *
class MainWindow(QWidget):
def __init__(self):
QWidget.__init__(self)
self.setMinimumSize(600, 700)
self.setMaximumWidth(600)
self.setLayout(QVBoxLayout())
* Call to this module in
Le 16/11/2014 19:09, Juan Christian a écrit :
On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande Vyvre
vincent.vande.vy...@telenet.be
mailto:vincent.vande.vy...@telenet.be wrote:
No probleme with PyQt but I think this is a window manager question.
Window, gnome, KDE, Mate
Le 18/11/2014 13:18, Juan Christian a écrit :
I have this simple code that load any Qt Designer .UI file:
from PySide.QtCore import QFile
from PySide.QtGui import QApplication
from PySide.QtUiTools import QUiLoader
def loadui(file_name):
loader = QUiLoader()
uifile = QFile(file_name)
Le 18/11/2014 15:49, Juan Christian a écrit :
I was doing some tests, then I tried this:
app = QApplication(sys.argv)
MainWindow = loadui(main.ui)
MainWindow.btn.clicked.connect(MainWindow.txtbox.setText(test()))
MainWindow.show()
app.exec_()
But I get RuntimeError: Failed to connect signal
Le 13/09/11 22:20, Arnaud Delobelle a crit:
Hi all,
Unpyc3 can recreate Python3 source code from code objects, function
source code from function objects, and module source code from .pyc
files. The current version is able to decompile itself successfully
:). It has been
Le 14/09/11 08:20, Arnaud Delobelle a écrit :
On 14 September 2011 06:53, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
Hi, trying your code, I have had numbers of errors:
Hi Vincent, thanks for trying it.
File
Le 14/09/11 10:13, Vincent Vande Vyvre a écrit :
Le 14/09/11 08:20, Arnaud Delobelle a écrit :
On 14 September 2011 06:53, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
Hi, trying your code, I have had numbers of errors
Le 14/09/11 11:31, Arnaud Delobelle a écrit :
On 14 September 2011 09:44, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
File "unpyc3.py", line 211, in __init__
for v in code_obj.co_cellvars + code_obj.co_freevars]
AttributeError:
Testing the following code, I've differend return with python 3.1.2
and 3.2.2
---
# -*- coding: utf-8 -*-
import os
import sys
import platform
print('\nPython version: ',
Le 17/09/11 01:28, Ian Kelly a crit:
On Fri, Sep 16, 2011 at 7:52 AM, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
[vincent@myhost ~]$ python string_2.py
Python version: 3.2.2
Linux-3.0-ARCH-x86_64-Pentium-R-_Dual-Core_CPU_T4500_@_2.30GHz
Le 17/09/11 05:28, Vincent Vande Vyvre a crit:
Le 17/09/11 01:28, Ian Kelly a crit:
On Fri, Sep 16, 2011 at 7:52 AM, Vincent Vande Vyvre
vincent.vandevy...@swing.be wrote:
[vincent@myhost ~]$ python string_2.py
Python version
Le 18/09/11 11:39, Kayode Odeyemi a crit:
items = {'fees':[('status','pending'),
('timeout',60)], 'hostel':[('status',
'pending'), ('timeout','120')]}
Like that:
# -*- coding: utf-8 -*-
items = {'fees':[('status','pending'), ('timeout',60)],
Le 18/09/11 11:39, Kayode Odeyemi a crit:
Hi all,
If I have a list with key/value pair, how do I get the value of
the key?
I'm working with this code snippet:
items = {'fees':[('status','pending'),
('timeout',60)],
Le 11/10/11 10:39, luca72 a crit:
helo i have this form how i can install the event filter:
Class Form(QWidget, Ui_Form):
"""
Class documentation goes here.
"""
def __init__(self, parent = None):
"""
Constructor
"""
Le 07/01/13 17:22, jeltedepr...@hotmail.com a écrit :
ok after another round of reparations, my update works again and it updates
the fuel meter, but i still can't get the view of the spaceship to rotate,
for now only the direction the spaceship accelerates when pressing up
changes after a
Le 11/01/13 16:35, kwakukwat...@gmail.com a écrit :
def factorial(n):
if n2:
return 1
f = 1
while n= 2:
f *= n
f -= 1
return f
I guess you mean:
f = 1
while n= 2:
f *= n
n -= 1
return f
Try it.
--
Vincent
Le 17/02/13 10:08, Phil a écrit :
Thank you for reading this.
I've been playing with Eric all day and I almost have a working GUI
application, but not quite. I have followed the two tutorials on the
Eric site and I'm sure that I haven't miss entered anything and so I
think the error is the
Le 17/02/13 16:13, Joel Goldstick a écrit :
On Sun, Feb 17, 2013 at 6:35 AM, Vincent Vande Vyvre
vincent.vandevy...@swing.be mailto:vincent.vandevy...@swing.be wrote:
Le 17/02/13 10:08, Phil a écrit :
Thank you for reading this.
I've been playing with Eric all day
Le 18/02/13 00:04, Phil a écrit :
...
from PyQt4 import QtCore, QtGui
from ui.MainWindow import MainWindow
As I've sayed in my last post, this is not ui.MainWindow but
ui.mainwindow
--
Vincent V.V.
Oqapy https://launchpad.net/oqapy . Qarte
https://launchpad.net/qarte . PaQager
Le 01/03/13 18:53, olsr.ka...@gmail.com a écrit :
comment tracer une cercle contient un numéro au un symbole dans le center
dans python tkinter?
Posez votre question ici:
http://www.developpez.net/forums/f96/autres-langages/python-zope/
--
Vincent V.V.
Oqapy https://launchpad.net/oqapy .
Le 17/03/13 17:15, ofene...@hotmail.com a écrit :
Dear List,
I have been working on restructured text(rest) documents and found a nice
application which makes viewing the rest documents easy. It is a web browser
especially suited for Sphinx documents.
.
Forget the reference:
Le 17/03/13 17:15, ofene...@hotmail.com a écrit :
sip.setapi(QString, 2)
Remove the line:
sip.setapi(QString, 2)
and try it.
--
Vincent V.V.
Oqapy https://launchpad.net/oqapy . Qarte
https://launchpad.net/qarte . PaQager https://launchpad.net/paqager
--
Le 17/03/13 17:53, Vincent Vande Vyvre a écrit :
Le 17/03/13 17:15, ofene...@hotmail.com a écrit :
Dear List,
I have been working on restructured text(rest) documents and found a nice
application which makes viewing the rest documents easy. It is a web
browser especially suited for Sphinx
Le 29/03/13 18:33, Ana Dionísio a écrit :
Hello!!!
I have this lists a=[1,3,5,6,10], b=[a,t,q,r,s] and I need to export it to a
txt file and I can't use csv.
And I want the next format:
a 1 3 5 6 10
b a t q r s
I already have this code:
f = open(test.txt, 'w')
f.write(a)
Le 01/04/13 12:14, Ana Dionísio a écrit :
for t in range(20):
if t == 4:
vt[t]=1
Sets only the needed values:
for t in range(4, 8):
vt[t]=1
--
Vincent V.V.
Oqapy https://launchpad.net/oqapy . Qarte
https://launchpad.net/qarte . PaQager https://launchpad.net/paqager
--
Le 01/04/13 15:50, inshu chauhan a écrit :
I have this program which is working with 2 dictionaries segments,
class_counts.. but I am getting an error mentioned below the programme.
import cv
from itertools import *
from math import floor, sqrt, ceil
from numpy import array, dot, subtract,
Le 24/04/2013 19:12, Sara Lochtie a écrit :
On Tuesday, April 23, 2013 11:22:29 PM UTC-7, Sara Lochtie wrote:
I have written a GUI that gets data sent to it in real time and this data is
displayed in a table. Every time data is sent in it is displayed in the table
in a new row. My problem is
Hi,
I've one machine with python3.2 (on Ubuntu 12.04), in the folder
/usr/lib/python3.2 it is a subfolder dist-packages, maybe created at the
install or created when I've installed the binding pyexiv2, I don't know.
Now, I've installed a new machine, again with Ubuntu 12.04 and therefore
Message original
Sujet: Re: python script is not running
Date : Sat, 18 May 2013 12:36:55 +0200
De :Vincent Vande Vyvre vincent.vandevy...@swing.be
Pour : Avnesh Shakya avnesh.n...@gmail.com
Le 18/05/2013 12:12, Avnesh Shakya a écrit :
hi,
i want to run python
Le 18/05/2013 19:59, Chris Angelico a écrit :
On Sun, May 19, 2013 at 3:35 AM, woooee woo...@gmail.com wrote:
The obvious question, do you have the shebang on the first line so the
OS knows it's to be run as a Python program?
That won't make any difference; the cron job specifically stipulates
On Windows a script where de endline are the system line sep, the files
are open with a double line in Eric4, Notepad++ or Gedit but they are
correctly displayed in the MS Bloc-Notes.
Example with this code:
--
# -*- coding: utf-8 -*-
import os
Le 23/07/2013 14:39, Jason Swails a écrit :
On Tue, Jul 23, 2013 at 7:42 AM, Vincent Vande Vyvre
vincent.vandevy...@swing.be mailto:vincent.vandevy...@swing.be wrote:
On Windows a script where de endline are the system line sep, the
files are open with a double line in Eric4
Le 23/07/2013 15:10, Vincent Vande Vyvre a écrit :
The '\n' are in the original file.
I've tested these other versions:
---
def write():
strings = ['# -*- coding: utf-8 -*-\n',
'import os\n',
'import sys\n']
with open
Le 27/12/2014 03:52, Juan Christian a écrit :
On Fri Dec 26 2014 at 11:07:30 PM MRAB pyt...@mrabarnett.plus.com
mailto:pyt...@mrabarnett.plus.com wrote:
According to the docs, if you let the port parameter default to 0,
it'll use port 465.
I tested with my ISP.
Using port 465, it failed.
New submission from Vincent Vande Vyvre vincent.vandevy...@swing.be:
Hi,
Trying this code:
--
# -*- coding: utf-8 -*-
import os
import sys
import platform
print('\nPython version: ', sys.version.split()[0])
print(platform.platform())
paths = ['/home/vincent
Le 10/02/2015 15:36, Laura Creighton a écrit :
I have the debian version of python3 installed here.
Python 3.4.2 (default, Nov 13 2014, 07:01:52)
[GCC 4.9.2] on linux
Type help, copyright, credits or license for more information.
But I cannot seem to type a tab here:
def fn(**kw):
...
(I
Le 11/03/2015 18:06, Ian Kelly a écrit :
On Wed, Mar 11, 2015 at 4:54 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Michael Parchet wrote:
Hello,
The pyside project is ded.
What makes you think that Pyside is dead? It seems to be active to me. The
latest update was just 29
Le 24/03/2015 20:22, Gregg Dotoli a écrit :
Thank you! But
The print error is gone, but now the script quickly finishes and doesnt walk
the OS tree or search.
Gregg
On Tuesday, March 24, 2015 at 2:14:32 PM UTC-4, Gregg Dotoli wrote:
I am creating a tool to search a filesystem for one
Le 24/03/2015 20:38, Vincent Vande Vyvre a écrit :
Le 24/03/2015 20:22, Gregg Dotoli a écrit :
Thank you! But
The print error is gone, but now the script quickly finishes and
doesnt walk
the OS tree or search.
Gregg
On Tuesday, March 24, 2015 at 2:14:32 PM UTC-4, Gregg Dotoli wrote:
I
Le 02/07/2015 16:52, Steven D'Aprano a écrit :
Despite the title, this is not one of the usual Why can't Python do
maths? bug reports.
Can anyone reproduce this behaviour? If so, please reply with the version of
Python and your operating system. Printing sys.version will probably do.
x = 1 -
Le 08/11/2015 04:13, Andrew Diamond a écrit :
Hi!
I'm fairly new to Python, and installed pyqt5 and began working through the
examples at http://zetcode.com/gui/pyqt5/menustoolbars/ However, whenever I
click one of the buttons or menus in the example apps I run that is supposed to
quit the
Le 11/10/2015 19:12, eetix letix a écrit :
Hi,
I'm sorry but the last version of Python (3.5.0) had a problem. I
start and I meet this problem :
>>>a=5
>>>if a>0:
. . . print("a is a positive.")
. . . if a<0:
^
SyntaxError: invalid syntax
>>>
Normally this should work but
Le 12/07/2015 06:02, Ernest Bonat, Ph.D. a écrit :
Thanks for your help. I had follow the link: How to add a Python module
to syspath?
http://askubuntu.com/questions/470982/how-to-add-a-python-module-to-syspath
and I could not make it work. I did use sys.path.insert() and
sys.path.append() as:
Le 14/11/2015 16:39, Dennis Lee Bieber a écrit :
On Sat, 14 Nov 2015 07:02:41 -0800 (PST), John Zhao
declaimed the following:
I found a solution. replace bDict.clear() with bDict = {}
Which is creating a second, empty, dictionary and binding the name
"bDict"
Le 04/09/2015 04:30, Chris Angelico a écrit :
On Fri, Sep 4, 2015 at 12:17 PM, Vincent Vande Vyvre
<vincent.vande.vy...@telenet.be> wrote:
import urllib.request
urllib.request.urlopen('http://example.org')
Thanks, that works with 3.4.0. No with 3.2.3
Hmm, not sure why it wouldn't. Acc
Hi,
Python 3.2.3 (default, Jun 18 2015, 21:46:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> urllib.request.urlopen('http://example.org')
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module'
Le 04/09/2015 04:08, Chris Angelico a écrit :
On Fri, Sep 4, 2015 at 11:56 AM, Vincent Vande Vyvre
<vincent.vande.vy...@telenet.be> wrote:
Python 3.2.3 (default, Jun 18 2015, 21:46:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "lice
Le 08/12/2015 20:02, Thomas 'PointedEars' Lahn a écrit :
Erik wrote:
Please fix, Erik #75656.
On 07/12/15 18:10, Tony van der Hoff wrote:
A highly contrived example, where I'm setting up an outer class in a
Has-a relationship, containing a number of Actors. The inner class needs
to
Le 04/01/2016 10:10, Jacques Rosier a écrit :
J’ai téléchargé Python 351. Il est dans la liste des applications de mon ordi
(Lenovo; Windows 10). Mais impossible de l’ouvrir. Que faire?
Cette liste de diffusion est anglophone, je te recommande de poster sur
ce forum:
Le 12/06/16 09:20, Vincent Vande Vyvre a écrit :
Hi,
I have a strange behaviour in my code.
In an interactive session, the result is as expected:
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or
1 - 100 of 173 matches
Mail list logo