.py to .pyc

Discussion in 'Python' started by Colin J. Williams, May 13, 2012.

  1. Is there some way to ensure that a .pyc file is produced when executing
    a .py file?

    It seems that for small files the .pyc file is not produced.

    Colin W.
    PLEASE IGNORE - I was in the wrong directory.

    Colin W.
     
    Colin J. Williams, May 13, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest

    pyc to py??

    Guest, Aug 5, 2003, in forum: Python
    Replies:
    0
    Views:
    706
    Guest
    Aug 5, 2003
  2. Rim
    Replies:
    8
    Views:
    1,262
  3. DoubleM

    help: distutils with .pyc only

    DoubleM, Nov 4, 2003, in forum: Python
    Replies:
    0
    Views:
    423
    DoubleM
    Nov 4, 2003
  4. Terry Hancock

    pyc / pyo architecture independent?

    Terry Hancock, Nov 18, 2003, in forum: Python
    Replies:
    4
    Views:
    561
    Terry Hancock
    Nov 18, 2003
  5. Leo Yee

    pyc file problem

    Leo Yee, Jan 30, 2004, in forum: Python
    Replies:
    2
    Views:
    473
  6. Ladvánszky Károly

    pyc files

    Ladvánszky Károly, Feb 3, 2004, in forum: Python
    Replies:
    3
    Views:
    518
    Rene Pijlman
    Feb 3, 2004
  7. Tony C
    Replies:
    2
    Views:
    380
    Robert M. Emmons
    Feb 13, 2004
  8. Phil Frost

    extracting code objects from .pyc

    Phil Frost, May 29, 2004, in forum: Python
    Replies:
    0
    Views:
    400
    Phil Frost
    May 29, 2004
Loading...