Quantcast
Channel: Python - Programmers Heaven
Browsing all 140 articles
Browse latest View live
↧

How to check if a file exists using Python?

Please explain me how to check whether a file exists using Python.

View Article


reading 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 Article


reading 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 Article

Please 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 Article

Is it possible to call an external command in Python?

Is it possible to run a Shell command using Python? If so, please explain.

View Article


Remote 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 Article

draw 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 Article

PyPDF2 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 Article


Image may be NSFW.
Clik here to view.

Infinite Mandelbrot Set Tutorial - Video

Made a really cool Mandelbrot set link : I hope you all Enjoy, Thank you

View Article


I require a lot of help on reading and sorting files

And before I go posting away about my code, I was wondering if there is actually someone here who knows programming on python and is willing to help. Long story short, I am trying to write a code which...

View Article

Parse Error when using showforms() command with Twill

Hi, bare with me with this as it's my first python program. I've spent a few hours Googling and testing for a solution but I'm at that point where I think I just need a helping hand from one of you...

View Article

Parse Error when using showforms() command with Twill

Hi, bare with me with this as it's my first python program. I've spent a few hours Googling and testing for a solution but I'm at that point where I think I just need a helping hand from one of you...

View Article

Need help with python assigments as sooon as possible

Create a program that assists in a basic form of cryptography, a substitution cypher. Write a program that will accept a phrase and convert it into code by substituting letters according to a key.This...

View Article


writing in to excel sheet with label

Dear all,I am reading data from Serial port. data are in format below. Below code are seprating the data. I wanna know how can write it in excel sheet with time and date/mode/ dir/ actual postion as...

View Article

machine code question 4 novice

Hi my name is steven tyson, and i'm using a free phython compiler 1.53to program machine code using boolean statements i.e.(or,xor,nor,and)i know it sounds tedious and maybe impractical, but with...

View Article


machine code question 4 novice

Hi my name is steven tyson, and i'm using a free phython compiler 1.53to program machine code using boolean statements i.e.(or,xor,nor,and)i know it sounds tedious and maybe impractical, but with...

View Article

res - an http client I made in python

I made this to wrap around the requests library. It's made completely in python. If anyone would like to contribute to the project or help with bugs and issues, you are welcome to start a github::issue...

View Article


res - an http client I made in python

I made this to wrap around the requests library. It's made completely in python. If anyone would like to contribute to the project or help with bugs and issues, you are welcome to start a github::issue...

View Article

When to use ' and " in strings for RE

Hi All,I am a newbie to python. I have kick started python with Regular Expression. I am using Aptana Studio 3, build: 3.3.2.201302081546. Windows 7My query is:I have string "legal" and when I try to...

View Article

Need the help of a Python Developer for a Noble Project

Greetings Developers,I am an IT Manager working in Toronto Ontario, Canada. I required the services of a Python developer to help build a technical concept of a revolutionary anti-cyber bullying...

View Article
Browsing all 140 articles
Browse latest View live