Hi python tutors,
Im interested on learning python but i would like to focus in a specific topic,
networking, where can i find documention networking in python? sockets and all
that stuff? i looked for some information but all of them were just vague.
thanks in advance,
Marco
--
"If know
hi list,
the link provided in one of the initiation mails from the tutor-mailinglist:
...
http://www.python.org/doc/current/tut/tut.html
...
responds with a 404 error.
Best regards,
marco
___
Tutor maillist - Tutor@python.org
http
Hi everyone, I would like to know how to use python with a mac.
For now, I go to spotlight, open terminal then type IDLE and a window pops
up but its like the window that opens when you run your programs already
saved and I'm not able to open another window to write a script from
scratch.
Could s
Does anybody know any good python emulator that would work perfectly with
Mac OSX Leopard?
Because I just got a brand new Mac (the one on apple store) and it seems
that the build in Python 2.6.1 from darwin is garbage I'm running a 2,88 ghz
dual core and each time I open terminal, then type idle a
Hi! I am relatively new to python and turtle and I really need your help.
Here what I wanted turtle to do: I created a function named carré which
would draw a square with 3 different parameters (color, size, angle).
I did the same for a function
named
over it and the last problem was that it was never stopping and i had to
rstart the shell to make it stop.
I hope I am more precis with my explanations.
Thanks for helping me learn
On Thu, Mar 11, 2010 at 1:26 PM, Alan Gauld wrote:
>
> "Marco Rompré" wrote
>
>
> Hi! I am
is wrong - it will be outside
>> of the while loop and so n will never increment and the loop will never end.
>>
>> Instead of a while loop I would suggest a for loop:
>>
>> for n in range(10:
>>
>>
>> HTH,
>>
>> Vern
>>
&g
The thing is that the teacher wanted us to use a while loop like in the
notes but even in the notes I copied the code and it was not working either.
Now, I'm more on the right track, I am able to draw the forms and the
counter is almost working, the reason I say that is because turtle is doin
what
Hello I have a little problem, I am trying to define a function ligneCar(n,
ca) that would print n times the caracters ca.
For now I have the user entering a short sentence corresponding to ca.
Here is my code:
def ligneCar(n,ca):
c=0
while c___
Hi! Does anyone of you know where to find all the solutions of Gerard
Swinnen Python tutorial exercises
In the tutorial we just have the solutions to half of the exercises.
Thank you
--
Marc-O. Rompré
___
Tutor maillist - Tutor@python.org
To un
Hi im doin a programmin course at university and in one on my exercise i
have to do that
I had to define a class CompteBancaire(CompteBancaire is bankaccount in
french), that would allow me to create objects Compte1, Compte2,etc.
The following methods need to be defined
- depot(somme)
ot(0)
compte1.retrait(1200)
compte1.calculInteret(10)
compte1.affiche_solde()
compte2 = CompteEtudiant('Étudiant',800,1000)
compte2.retrait(1100)
compte2.affiche_solde()
On Wed, Mar 31, 2010 at 4:39 PM, Lie Ryan wrote:
On 04/01/2010 12:35 AM, Marco R
Hi! in my programming course at university, I need to create a python model
with 2 concepts in a one towards many relation each of them having 2-3
properties.
Also, I need to create an application with screens to add, modify, and
delete the data of the model.
Can someone know where I can find t
Its supposed to be a object magasin (shop in french) with some golf items in
it
class Magasin:
"""
Le concept magasin pour la gestion d'inventaire des items de golf.
"""
def __init__(self, nom ="", items =[] ):
self.nom = nom
self.items = items
def set_nom(se
Bien,
>for starters please get rid of all those set_ methods. They are
> doing nothing, it's not pythonic. Just assign the value straight away.
> e.g.: from """ item01.set_prix("999.99") """ to """ item01.prix =
"999.99" """
>
Our teacher showed us this method and in our exercise we had
Hi everybody, I would appreciate your help on this one
In this program I want to create 2 concepts each with 2 or 3 properties
My first concept is magasin(shop in french) and my shop has 3 attributes:
nom(name in french), items and ville (city in french)
the second one is items and its 2 attributes
rano wrote:
> On Sat, 24 Apr 2010 01:07:11 pm Marco Rompré wrote:
>
> > Here's my code:
> [...]
> > class Modele:
> > """
> > La definition d'un modele avec les magasins.
> > """
> > def __init__(self, n
Here is my code, I need to display my float value as a string.
item.set_prix str(float(prix))
Thank You
--
Marc-O. Rompré
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tut
Oups my posting was too big!!!
On Tue, Apr 27, 2010 at 11:04 PM, Marco Rompré wrote:
> Why is none of my items button works In this, I have two files and in
> my second file I imported all the function of the first one
>
> Here is my codes and my error code for the two files pl
uot; python gives e.g.
http://sourceforge.net/projects/pdsimagereader/
hth
marco
--
marco scheidhuber-
internetmanufaktur jo- Berlin, Germany
|||meder---fon: ++49-30-417 17 63 3
line 310, in connect
raise socket.error, msg
error: (10061, 'Connection refused')
Can anyone help me with this?
Thanks.
-Marco
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
appreciated.
Thanks
- Marco
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
quot;@leh", line):
newline = re.sub("@leh.*", "@lehman.cuny.edu", line)+'\n'
outlist.append(newline.lower())
with file('c:\python27\mvc\output.txt','w') as outfile:
outfile.writelines(outlist)
Thanks,
Marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 2012-01-11 07:57, Joel Goldstick wrote:
On Wed, Jan 11, 2012 at 7:34 AM, Marco Casazza wrote:
Hello,
I've been slowly teaching myself python, using it for small projects when it
seems appropriate. In this case, I was handed a list of email addresses for
a mailing but some of them had
hen i type pytyon and start to import googlemaps all i receive is an
error that the package does not exist
what am i missing?
w/kindest regards
marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pytho
Hello
sorry to bother , found out hte problem. the imported packages work if i
run python from the /bin directory of the virtualenv environment i have
created
w/kindest regards
marco
On Sun, Apr 29, 2012 at 3:04 PM, Marco Mistroni wrote:
> HI all
> i have a VPS which is running
npack requires a string argument of length 4
could anyone assist pls?
w/kindest regards
marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
npack requires a string argument of
length 4
I am running the client code on python 2.6, on a windows 7 machine, and i
am connecting to an apache tomcat server running on a windows xp machine
could anyone assist pls?
>
> w/kindest regards
> marco
>
>
>
__
Hi all
i have written a wx GUI which downloads json data from a server, and
populate a listbox.
Every time i populate a listbox, i am receiving Segmentation Faults.
I have tried to retrieve data from the URL via separate thread, and to use
events, but i am still getting a segmentation fault
could
Hello
i found the problem. It's calling self.list.ClearAll that causes the
segmentation fault.
removing the call to ClearAll fixed my problem , but i still want to clear
the list before i load new data..
could anyone assist?
wkr
marco
On Fri, Oct 19, 2012 at 11:05 PM, Marco Mis
Hello Ramit
yes solution worked...
thanks and regards
marco
On Mon, Oct 22, 2012 at 5:58 PM, Prasad, Ramit wrote:
> Marco Mistroni wrote:
>
> > Hello
> > i found the problem. It's calling self.list.ClearAll that causes the
> segmentation fault.
> > removin
I hit the send button too early. anyway
Basically something like
while (stop condition false)
read data
write data into local array or something
wait sample time
Thanks
marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or
Hi,
I am almost new to python and I am trying to build a not so easy app (but
very neat and useful) related to industrial automation.
Is this the right place to knock down problems one by one?
Basically my app has several interactions but the most important is reading
values from an embedded machi
files.
Let's say in this configuration file I can say I have to read 10 arrays or
20 arrays and then my program adjust the while cycle consequently.
Maybe an array of array where the second dimension is coming from the
config file.
Is this clear?
Version of python is 2.7.9 running on Wi
Maybe an array of array where the second dimension is coming from the
> config file.
I'd use the dictionary approach rather than arrays of arrays.
(Which are probably lists of lists in Python.)
Thanks!
Marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
t; WANTED = [".watchdog", ".analog1", ".analog2]
> data = []
>
> # in the loop:
> data.append({r[0]:r[1:] for r in opc.read(WANTED)})
>
>
>
Thanks for the helpful hints. I have a ton of questions yet to come!
Marco
was working last time and now it doesn't anymore.
It could be an install problem?
Thanks
Marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Yeah, I spotted the mistake. There was a file left in the folder named
reportlab.pyc which I could not see from the pycharm interface.
Thanks!
On Mon, Apr 18, 2016 at 1:47 AM, Danny Yoo wrote:
>
>> But I get the following error code on line 1
>>
>> ImportError: No module named pdfgen
>>
>
> Is r
iable value I want to do
it with the xml tag name and not with an index like Settings[10] for
example but something like Settings['tag']
But what if I have more than one structure like station which has the same keys?
Following is part of my code for now.
Thanks!
marco
quot;))
button1.pack()
button2 = Button(myContainer1)
button2["text"]= "STOP"
button2.pack()
root.mainloop()
Thanks
marco
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Thanks for you answers!
On Thu, Jun 2, 2016 at 6:39 PM, Peter Otten <__pete...@web.de> wrote:
>> For example a state machine with a var state which can have some
>> discrete string values (like RUNNING, STOPPED, PAUSED, ABORTED, IDLE)
>> and a text element on the gui that reports that state.
>>
>
Hi my 2 cents. Have a look at scrapy for scraping.selenium is v good tool
to learn but is mainly to automate uat of guis
Scrapy will scrape for you and u can automate it via cron. It's same stuff
I am doing ATM
Hth
On Sun, Jan 27, 2019, 8:34 AM All,
>
>
>
> Goal of new project.
>
> I want to scr
Hi
You won't find much help here as this is a python moist
Have a look at WebDriverWait from selenium.webdriver.support.ui
It allows you to wait for certain conditions
Hth
On Thu, Jan 31, 2019, 11:09 AM Hi all,
>
>
>
> I have found an excellent article on identifying stale elements. The issue
>
43 matches
Mail list logo