473,574 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about compiling.

I *just* read the tutorial so please be gentle. I created a file called
fib.py which works very nicely thank you. When I run it it does what it's
supposed to do but I do not get a resulting .pyc file. The tutorial says I
shouldn't do anything special to create it. I have machines that have both
2.4.1 and 2.3.5. Does anyone have an idea what to do?

TIA

--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
Jan 10 '07 #1
1 912
Steven W. Orr wrote:
I *just* read the tutorial so please be gentle. I created a file
called fib.py which works very nicely thank you. When I run it it
does what it's supposed to do but I do not get a resulting .pyc
file.
..pyc files are created only if you import a .py file.

Regards,
Björn

--
BOFH excuse #77:

Typo in the code

Jan 10 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
2614
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
2
1264
by: trabajar | last post by:
I have a piece of software - it compiles fine using nmake (started from cygwin, using visual c++). The output of nmake explorernodequery.dll is: ---------------------------------------------------------- Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved.
16
2493
by: Eric A. Johnson | last post by:
Hi, I'm going through a book I got from the library. Admittedly, the book is old -- it hails from 1994, and much has changed since then. However, I would like to learn as much as possible from the book, as it covers some very interesting topics. I have an error that is a bit confusing to me, and the help I get from pressing F1 on it is to...
5
1164
by: Amirallia | last post by:
I developped a WEB application for a customer. All is ok. Now I have made changes in the Global.asax.vb file My question is what files must I send to the customer for having this changes ? Only the *.dll ? -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net
10
3430
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read somewhere that each folder under the "web site" is compiled in separate assembly. I however, did not find that the "web site" creation in vs.net...
6
1527
by: JDT | last post by:
Hi, I am curious if there is a way to just use existing STL functions, algorithms etc to accomplish the following loop (without a need to write my own function). I know how to use some STL functions plus my own function to replace the loop. But that unnecessarily makes code more complicated. Any advice is much welcome. Thanks. int...
5
6331
by: runa2104 | last post by:
Interview Question Visit this site it is really good question on C language. http://techinterviewquestion.blogspot.com/2007/05/c-question.html
8
1295
by: Keith Rebello | last post by:
I have a program whose main form has a picture box on which concrete column sections are drawn. Input to the drawing is achieved by filling in data in various dialog boxes (called by using Form.Showdialog). When a dialog box is closed the drawing on the picture box is updated. Everything works fine when I run the program from the VS2005...
5
2887
by: polas | last post by:
Good morning, I have a quick question to clear up some confusion in my mind. I understand that using a string literal in a declaration such as char *p = "string literal" declares a pointer to memory holding the string and the string might very well be held in read only memory. However, I am sure that I read somewhere that the declaration...
9
1577
by: bowlderyu | last post by:
Hello, all. I meet a question about compiling files. Eg., I have three files named myfile.h, myfile.c and the main.c file, and there is a function, ex, void myfun(...). If I put myfun(...) in the main.c file like the following, ..... void myfun(...) {
0
7814
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8075
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8253
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6471
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5632
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5316
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3752
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2253
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1072
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.