Is it possible to use Enums is Python?
Can someone please let me know whether it it possible to use Enums in Python?
View ArticleTernary conditional operators in Python
Can you please let me know whether Python has ternary conditional operators?
View ArticleThis is in python 3.3, Software sales. I am new to programming
A software company sells a package that retails for 99$. Quantity discounts are given according to the following table. 10-19=20% 20-49=30% 50-99= 40% 100 or more =50% . write a program that ask the...
View ArticleIs it possible to use a global variable created inside a Python function, in...
I have a global variable created in a function of Python. Can I use this variable in another function?
View ArticleHow to check if a file exists using Python?
Please explain me how to check whether a file exists using Python.
View Articlereading PDF file with pypdf no contents are captured. Please help
I am trying to read a PDF file using pypdf and write onto a text file. But its not working. content value in the below code is just "u/n/n/n/n/n'...PDF file has 5 pages so 5 times new line character...
View Articlereading PDF file with pypdf no contents are captured. Please help
I am trying to read a PDF file using pypdf and write onto a text file. But its not working. content value in the below code is just "u/n/n/n/n/n'...PDF file has 5 pages so 5 times new line character...
View ArticlePlease Help New to Python
I have to make a simple shooting game for my programming class, and everything else seems to be fine except for my math. Please advise: import turtle import tkinter import random import math...
View ArticleIs it possible to call an external command in Python?
Is it possible to run a Shell command using Python? If so, please explain.
View ArticleRemote Working Python Developers Needed!
Fantastic opportunity for an enthusiastic person to contribute to exciting projects and become a part of the fast growing organisation headquartered in London. XeonTek Ltd is a small (but ambitious)...
View Articledraw a rectangle
Hello to all I would like to create an application that asks the user to type the length and the width of a rectangle in a field and then he can click on a first button(draw rectangle) to draw the...
View ArticlePyPDF2 throws TypeError
I am trying to create watermark on a pdf file. Am using py3.4 and PyPDF2. while executing the merge statement i am getting error as shown below. Any help would be greatly appreciated. Traceback (most...
View ArticleInfinite Mandelbrot Set Tutorial - Video
Made a really cool Mandelbrot set link : I hope you all Enjoy, Thank you
View ArticleVideo Course + cool exercises
VIDEO PYTHON COURSE – 36 Videos and growing rapidly. Emphasis is on trying to make programming free and fun! Complete Video List: Python 0.0 - Downloading and installing Running Time: 1:47 Eyn2k about...
View Articlequestionaire
i need a question are that out put name date of birth and age but if name include a number the out put will be error and will restart the program and if age and dateofbirth includes any letter the out...
View ArticleNeed help creating a log in web page for my home server
I'm new to programming, and working to expand my knowledge. I learned the basics (variables, lists, simple equations, boolean expressions) years ago, and I'm taking refresher classess before moving on...
View ArticleLearning Python 3
Hello World!! I am a computer science major and will be starting my first programming class in 3 weeks. The class focuses on Python and I believe we will be using Python 3. In the meantime I have...
View ArticleValentin Fritzmann Subreddit Correct Codding?
Hello Guys, Currently i am working on my subreddit /r/Valentin_Fritzmann/ But i am facing one problem with this. Some time home page log stop displaying. I have check the css codding of this sub. But...
View ArticleHow to read only specific, needed values from a csv file into python with...
A python newbie with a large no of files and importing them. Each file contains some different values. Here is the code. data = glob.glob('*.csv') variance_data = [] for one_file in all_files: try:...
View Article