Re: starting Python 3.10.4 64-bit

2022-05-27 Thread MRAB
On 2022-05-27 17:18, Rolf Blum wrote: Hallo, I installed Python 3.10.4 64-bit successfully. I Also checked in the Setup to add it to the path. In the win 8.1 console python 3.7 is started when I enter: python. This also happened after a reboot and after a repair with the Setup. How do I start

starting Python 3.10.4 64-bit

2022-05-27 Thread Rolf Blum
Hallo, I installed Python 3.10.4 64-bit successfully. I Also checked in the Setup to add it to the path. In the win 8.1 console python 3.7 is started when I enter: python. This also happened after a reboot and after a repair with the Setup. How do I start the python console for 3.10.4? Thank

Starting Python

2022-01-03 Thread Joao Marques
Hi everyone: Ignore my previous post. I was starting Python3.9 instead of starting IDLE. With idle I already get the options I wanted REgards, Joao -- https://mail.python.org/mailman/listinfo/python-list

Re: Issues in starting Python application

2021-04-01 Thread Grant Edwards
On 2021-04-01, Mahira Pamnani wrote: > I have been trying hard to install Python on my PC since a long time. The > application gets installed but, for reasons unknown, it doesn't start. > It keeps asking to repair, modify or uninstall the application. That's because you're re-running the install

Re: Issues in starting Python application

2021-04-01 Thread Mats Wichmann
On 4/1/21 9:08 AM, Mahira Pamnani wrote: Sir I have been trying hard to install Python on my PC since a long time. The application gets installed but, for reasons unknown, it doesn't start. It keeps asking to repair, modify or uninstall the application. I have tried doing that too, but it still d

Re: Issues in starting Python application

2021-04-01 Thread Igor Korot
Hi, On Thu, Apr 1, 2021 at 10:41 AM Marco Ippolito wrote: > > On 2021-04-01, Mahira Pamnani wrote: > > Sir > > I have been trying hard to install Python on my PC since a long time. The > > application gets installed but, for reasons unknown, it doesn't start. > > It keeps asking to repair, modify

Re: Issues in starting Python application

2021-04-01 Thread Marco Ippolito
On 2021-04-01, Mahira Pamnani wrote: > Sir > I have been trying hard to install Python on my PC since a long time. The > application gets installed but, for reasons unknown, it doesn't start. > It keeps asking to repair, modify or uninstall the application. > I have tried doing that too, but it sti

Issues in starting Python application

2021-04-01 Thread Mahira Pamnani
Sir I have been trying hard to install Python on my PC since a long time. The application gets installed but, for reasons unknown, it doesn't start. It keeps asking to repair, modify or uninstall the application. I have tried doing that too, but it still doesn't give any results. Please guide me on

Re: About Starting PYTHON

2013-03-15 Thread rusi
On Mar 15, 7:10 pm, SHIVDHWAJ PANDEY wrote: > Hi, > I am new to this and wanted to know how to start python? > Which book,website, blog, etc. http://docs.python.org/2/tutorial/ -- http://mail.python.org/mailman/listinfo/python-list

About Starting PYTHON

2013-03-15 Thread SHIVDHWAJ PANDEY
Hi, I am new to this and wanted to know how to start python? Which book,website, blog, etc. -- http://mail.python.org/mailman/listinfo/python-list

Error Starting Python(Django) App using Apache+Mod_Wsgi

2010-11-22 Thread Anurag Chourasia
All, I have a problem in starting my Python(Django) App using Apache and Mod_Wsgi I am using Django 1.2.3 and Python 2.6.6 running on Apache 2.2.17 with Mod_Wsgi 3.3 When I try to access the app from Web Browser, I am getting these errors. [Mon Nov 22 09:45:25 2010] [notice] Apache/2.2.17 (Unix

Re: Starting Python in XP Pro

2010-10-19 Thread Dave Angel
On 10/19/2010 3:06 PM, Grant Andrew wrote: 1. Okay, I can open the interpreter and do math. If only I needed the answer to 6*7 I'd be great. But, to your point, Python is installed and working. 2. When I went to the shortcut and hit properties, the path was Target: C:\Python26\Lib\idlelib\i

Re: Starting Python in XP Pro

2010-10-19 Thread Grant Andrew
Success - I worked with a friend who is Python-fluent to diagnose this issue and it turns out that in addition to the PATH variable, there were TCL and TK variables that were pointing toward an old install of Python. With these references pointed toward the correct folders in the current install,

Re: Starting Python in XP Pro

2010-10-19 Thread Sridhar Ratnakumar
Hi Grant, Typing the following opens IDLE (albeit after a short delay; the command will immediately return regardless) for me: C:\> C:\Python26\lib\idlelib\idle.bat IDLE is also installed in the Start Menu for ActivePython. You need at least ActivePython 2.6.6.15 or 2.7.0.2 for this to work.

Re: Starting Python in XP Pro

2010-10-19 Thread Grant Andrew
1. Okay, I can open the interpreter and do math. If only I needed the answer to 6*7 I'd be great. But, to your point, Python is installed and working. 2. When I went to the shortcut and hit properties, the path was Target: C:\Python26\Lib\idlelib\idle.bat Start in: C:\Python26\ I cd'd to C:\P

Re: Starting Python in XP Pro

2010-10-18 Thread Lawrence D'Oliveiro
In message , Dave Angel wrote: > As you've noticed, many times a program started from the start menu > doesn't leave its command window open long enough to read the messages. Windows needs an equivalent to ~/.xsession-errors. -- http://mail.python.org/mailman/listinfo/python-list

Re: Starting Python in XP Pro

2010-10-17 Thread Dave Angel
On 10/16/2010 11:27 PM, Grant Andrew wrote: I hear that...God knows if I had a more complete question, I'd type it - basically, when I click the IDLE GUI icon from the Start Menu, there is a flash of a command prompt loading, then nothing happens. I've tried a number of things at the command pr

Re: Starting Python in XP Pro

2010-10-16 Thread Grant Andrew
I hear that...God knows if I had a more complete question, I'd type it - basically, when I click the IDLE GUI icon from the Start Menu, there is a flash of a command prompt loading, then nothing happens. I've tried a number of things at the command prompt over the last two weeks and five versions.

Re: Starting Python in XP Pro

2010-10-16 Thread Dave Angel
On 2:59 PM, Grant Andrew wrote: I'm a beginning user with some challenges. I have installed and uninstalled several versions with the same results - I can't get IDLE to work, nor can I associate .py files with Python. So I can get the interactive shell interface but nothing else. I'm currentl

Starting Python in XP Pro

2010-10-16 Thread Grant Andrew
I'm a beginning user with some challenges. I have installed and uninstalled several versions with the same results - I can't get IDLE to work, nor can I associate .py files with Python. So I can get the interactive shell interface but nothing else. I'm currently running ActiveState 2.6. Any tho

Re: Starting Python from the terminal with no welcome message

2010-03-01 Thread candide
Tim Chase a écrit : > > bash$ python -ic "" > > to get a python shell without the banner. > Works fine. thanks a lot. -- http://mail.python.org/mailman/listinfo/python-list

Re: Starting Python from the terminal with no welcome message

2010-02-28 Thread Tim Chase
candide wrote: Does exist some option I could send to the python interpreter during an interactive session in order to avoid the printing of the introductory message just above the top prompt ? In my case, the welcome message is the following : Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)

Re: Starting Python from the terminal with no welcome message

2010-02-28 Thread alex goretoy
On Sun, Feb 28, 2010 at 5:23 PM, candide wrote: > Hi, > > Does exist some option I could send to the python interpreter during an > interactive session in order to avoid the printing of the introductory > message just above the top prompt ? > > In my case, the welcome message is the following :

Starting Python from the terminal with no welcome message

2010-02-28 Thread candide
Hi, Does exist some option I could send to the python interpreter during an interactive session in order to avoid the printing of the introductory message just above the top prompt ? In my case, the welcome message is the following : Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (

Re: Starting Python... some questions

2007-03-13 Thread jezzzz .
All, thank you for your responses. I learned much and made some modifications in my small program. Currently I am attempting to put together a packet that contains a Python message (created using struct.pack) and a Scapy message (Ether()). Having a packet with combined payload from Python and S

Re: Starting Python... some questions

2007-03-13 Thread Bruno Desthuilliers
Steven D'Aprano a écrit : > On Mon, 12 Mar 2007 21:39:11 -0700, jezonthenet wrote: > >> I started using Python a couple of days ago - here are a few >> questions: >> >> * Doesn't the __main__() method automatically execute when I run my >> python program? > > > No. > > >> * Only when I do an

Re: Starting Python... some questions

2007-03-13 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > I started using Python a couple of days ago - here are a few > questions: > > * Doesn't the __main__() method automatically execute when I run my > python program? Which "__main__" method ??? Anyway, the answer is no. Every code at the top-level (which includes imp

Re: Starting Python... some questions

2007-03-12 Thread Gabriel Genellina
En Tue, 13 Mar 2007 03:13:37 -0300, je . <[EMAIL PROTECTED]> escribió: > I added the self parameter to the the chassis_id function, however I now > have a problem and question regarding encoding MAC addresses for a > struct. What string format am I supposed to use? py> data = [int(x,16)

Re: Starting Python... some questions

2007-03-12 Thread Tim Roberts
You only need three things here: [EMAIL PROTECTED] wrote: > >#!/usr/bin/python >import scapy >import struct > >class lldp_class: > def __init__(self): > self.chassis_id_tlv = None > > def chassis_id(subtype, chassis_info): Make that def chassis_id(self, subtype,

Re: Starting Python... some questions

2007-03-12 Thread jezzzz .
Jordan, Thinker, Steven, Thanks for your responses. Makes more sense now! I can run my program from the console. I added the self parameter to the the chassis_id function, however I now have a problem and question regarding encoding MAC addresses for a struct. What string format am I sup

Program __main__ function (was: Starting Python... some questions)

2007-03-12 Thread Ben Finney
[EMAIL PROTECTED], "Greenberg <"@bag.python.org, "greenbergj\""@NOSPAM.xs4all.nl, [EMAIL PROTECTED], ">"@bag.python.org writes: > [EMAIL PROTECTED] wrote: > > * Doesn't the __main__() method automatically execute when I run > > my python program? > > No, there is no special __main__ function, to

Re: Starting Python... some questions

2007-03-12 Thread Steven D'Aprano
On Mon, 12 Mar 2007 21:39:11 -0700, jezonthenet wrote: > I started using Python a couple of days ago - here are a few > questions: > > * Doesn't the __main__() method automatically execute when I run my > python program? No. > * Only when I do an import of my test.py file within python and t

Re: Starting Python... some questions

2007-03-12 Thread Thinker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > I started using Python a couple of days ago - here are a few > questions: > > * Doesn't the __main__() method automatically execute when I run my > python program? > * Only when I do an import of my test.py file within python

Re: Starting Python... some questions

2007-03-12 Thread Greenberg
[EMAIL PROTECTED] wrote: > I started using Python a couple of days ago - here are a few > questions: > > * Doesn't the __main__() method automatically execute when I run my > python program? > * Only when I do an import of my test.py file within python and then > run test.__main__() I can see wher

Starting Python... some questions

2007-03-12 Thread jezonthenet
I started using Python a couple of days ago - here are a few questions: * Doesn't the __main__() method automatically execute when I run my python program? * Only when I do an import of my test.py file within python and then run test.__main__() I can see where my bugs are. Is this correct? (right

Suggestions on Starting Python Project on P2P streaming

2007-02-07 Thread Krypto
I am 3 months old to python and I have done some small projects. I want to build a Peer to Peer streaming client ..something like BitTorrent. I know it is daunting but I got to start somewhere. Please come easy on me. What I want in my client program is that client software logs on to some P2P str