Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,933
» Latest member: Dibbley
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, AOL, AOL

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
18 minutes ago
» Replies: 4
» Views: 1,005
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
1 hour ago
» Replies: 3
» Views: 30
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 427
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,597
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,605
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 517
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 157
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,023
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,258
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 936

 
  Write method not working
Posted by: Raudert - Jul-21-2017, 08:50 PM - Forum: General Coding Help - Replies (8)

Hello,

I am trying to create a text file and write to the text file, like a data log, from my python program. However, when I try to do so it seems..... More

Print this item

  Converting file
Posted by: tierra32 - Jul-21-2017, 08:48 PM - Forum: Data Science - Replies (7)

How do you convert an .xlsx or .csv to .ipynb?

I am using Juypter notebook and I want to upload a file but it will only upload files that are .ipy..... More

Print this item

  Problem with a simple script
Posted by: Niko047 - Jul-21-2017, 08:37 PM - Forum: Homework - Replies (2)

Hi guys! I'm learning python from Kenneth A Lambert's book, and I'm stuck in this exercise. The book asks me to write a script that crypts a message u..... More

Print this item

  Dict KeyError in cgi-bin script, works fine via console
Posted by: dbsoundman - Jul-21-2017, 07:40 PM - Forum: General Coding Help - Replies (2)

Hi all, I'm experiencing a KeyError when I try to run the following cgi-bin script via my web form. The error indicates the problem resides on line 13..... More

Print this item

  Command Line Interfaces
Posted by: ichabod801 - Jul-21-2017, 04:39 PM - Forum: Game Tutorials - Replies (7)

This tutorial is about command list interfaces, or CLIs. These were some of the earliest of computer interfaces. They are easier to put together than ..... More

Print this item

  Python Calculator Application
Posted by: MemeStealer - Jul-21-2017, 04:23 PM - Forum: General Coding Help - Replies (7)

I made a simple calculator application in Python over the course of around an hour and a half today. Is there anything that I could improve on in term..... More

Print this item

  RE function
Posted by: baronmontesqieu - Jul-21-2017, 03:24 PM - Forum: General Coding Help - Replies (12)

I have an urgent question over python programming language.
I am trying to find a pattern in my code with a pattern as follows
intMintNintM
by in..... More

Print this item

  remove apostrophes in list
Posted by: sparkz_alot - Jul-21-2017, 02:41 PM - Forum: General Coding Help - Replies (5)

Is there a way to remove apostrophes in list so that this:

a_list = ['mary', 'had', 'a', 'little', 'lamb']
becomes:

[pyt..... More

Print this item

  replace specific words in strings
Posted by: Sama - Jul-21-2017, 12:31 PM - Forum: General Coding Help - Replies (3)

How can I be able to do the following:

I have list of sentences and list of dictionaries.
I want to be able to replace each pair in a dictionary ..... More

Print this item

  a suitable bluetooth module for python3 for transfering file
Posted by: gray - Jul-21-2017, 12:20 PM - Forum: GUI - Replies (3)

i want to send a pdf file from raspberry to a mpbile phone by python3 code...
i couldn't install lightblue and pyobex on python3???
i coudn't find a..... More

Print this item

  Udacity while loop question
Posted by: liquidmetalrob - Jul-21-2017, 10:36 AM - Forum: Homework - Replies (6)

Hi!
I'm doing the Intro to Computer Science course on Udacity and I'm trying to:

#Define a procedure, find_last, that takes as input
# two string..... More

Print this item

  Object Detection that records the number of secs the face is not detected
Posted by: trabis03 - Jul-21-2017, 09:02 AM - Forum: General Coding Help - Replies (1)

Hello can someone help me in coding,

I don't know how I can create a program that will record the number of seconds that the object is not detected..... More

Print this item

  Prime number Script Problem
Posted by: Codezters - Jul-21-2017, 01:19 AM - Forum: General Coding Help - Replies (4)

I was creating a script to find prime numbers, I finally figured out how to do it without errors, and nothing printed. Though clearly in the function ..... More

Print this item

  Possible mini python project?
Posted by: fullmetal7777 - Jul-21-2017, 12:25 AM - Forum: General Coding Help - Replies (2)

My boss recently gave me a job, I need to have it done by next wednesday, but I'm not sure if im going to go about it with python, since I'm not sure ..... More

Print this item

  Simplifying multiple "or" conditions in if statement.
Posted by: rhubarbpieguy - Jul-20-2017, 10:35 PM - Forum: General Coding Help - Replies (8)

The first if statement, with "in s" after each string works.  However,  the second if statement, combining the strings with parentheses does not.

I..... More

Print this item

  twill for python 3.6
Posted by: ian - Jul-20-2017, 09:36 PM - Forum: General Coding Help - Replies (1)

Does anyone know where to get twill for python 3.6 (not for 2.7) ? Thanks.

my code here

Print this item

  list or dictionary manipulation
Posted by: dtigue - Jul-20-2017, 08:57 PM - Forum: General Coding Help - Replies (5)

So here's the skinny. I am new to python, I'm new to JavaScript. I've been writing bash scripts for a while now. So I have some knowledge but not wher..... More

Print this item

  Selenium webbrowser send entern and escape key
Posted by: pythongeekme - Jul-20-2017, 08:31 PM - Forum: Web Scraping & Web Development - No Replies

Hi I am using Selenium webdriver. I am sending a search term into the browser to search. However, the website doesn't have a search button so I have t..... More

Print this item

  Ideas??
Posted by: gullidog - Jul-20-2017, 08:20 PM - Forum: General Coding Help - Replies (3)

Has anyone got any GCSE level program ideas???

my code here

Print this item

  Else if
Posted by: JohnnyCanuck - Jul-20-2017, 06:45 PM - Forum: Homework - Replies (5)

I don't understand what the (answer), (4), (5), or (6) they want.

[python]
def greater_less_equal_5(answer):
if 2 + 2:
return 1
..... More

Print this item

  Sort only the odd numbers
Posted by: tomhuang - Jul-20-2017, 05:10 PM - Forum: General Coding Help - Replies (5)

my question here
Define a function that takes an array of numbers and sorts only the odd ones in ascending order, leaving the even ones in their plac..... More

Print this item

  Pdf merging
Posted by: shaynehansen - Jul-20-2017, 03:23 PM - Forum: General Coding Help - Replies (2)

I am trying to make my pdf appear as page 1 being the upper half of first page, and page 2 being the lower half of first page and so on.

Currently..... More

Print this item

  System Administrator - Glasgow
Posted by: Axis Animation - Jul-20-2017, 03:19 PM - Forum: Jobs - No Replies

You’ll be a personable, pro-active, self starter who thrives working in a fast paced environment, capable of handling operational tasks in support of ..... More

Print this item

  System Administrator - Bristol
Posted by: Axis Animation - Jul-20-2017, 03:17 PM - Forum: Jobs - No Replies

Axis VFX are undergoing an explosive expansion and seeking a SYSTEMS ADMINISTRATOR to join the tech support team on a permanent basis on site in our B..... More

Print this item

  Python project help
Posted by: gullidog - Jul-20-2017, 02:57 PM - Forum: General Coding Help - Replies (7)

My code when run is sating 'opt is not defined'

[python]#School Register
import time
def Menu():
   print("""   Welcome to SchoolReg

        ..... More

Print this item

  Django or Flash for a would be freelancer?
Posted by: davinci - Jul-20-2017, 12:22 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey, Python community ! I used to code in C and some other languages like PHP(5 years back) then I changed career choice. Back then I just coded for f..... More

Print this item

  Render TD (Glasgow)
Posted by: Axis Animation - Jul-20-2017, 12:05 PM - Forum: Jobs - No Replies

Axis Animation seeks an exceptional RENDER TECHNICAL DIRECTOR to work onsite in our Glasgow Studios across Axis’ multiple projects for film, televisio..... More

Print this item

  PIPELINE TECHNICAL DIRECTOR - LONDON BASED
Posted by: Axis Animation - Jul-20-2017, 11:54 AM - Forum: Jobs - No Replies

The Pipeline Technical Director is be responsible for developing and maintaining tools for use on high end visual effects,  2D and 3D animation and ot..... More

Print this item

  indents disappearing from output after previewing post
Posted by: Crackity - Jul-20-2017, 11:45 AM - Forum: Board - Replies (14)

Hello,

I noticed this issue yesterday during another post and a moderator suggested I post this here to let someone know.
I was having trouble wi..... More

Print this item

  rpm of 3.6
Posted by: Skaperen - Jul-20-2017, 03:00 AM - Forum: News and Discussions - Replies (5)

does anyone know of an RPM of Python 3.6 (or 3.6.X) for RedHat Linux or CentOS Linux around that can be download (for someone that has no means to com..... More

Print this item

  ImportError: No module named pymysql
Posted by: dwiga - Jul-20-2017, 02:14 AM - Forum: Homework - Replies (9)

Hi,
it's continuing my last question,
when I run my script on pure python, its works well and no error appeared.
but, when I tried to run it from j..... More

Print this item

  Python Coding Error
Posted by: MGallo - Jul-20-2017, 01:21 AM - Forum: Homework - Replies (3)

[python]
import random


POTATOPICS = ['''

    +------+
    |      |
           |
           |
           |
           |
         ..... More

Print this item

  pycharm doesn't offer option to run code
Posted by: meems - Jul-19-2017, 11:03 PM - Forum: General Coding Help - Replies (9)

So I'm looking at some code in the PyCharm IDE code editor, and I'd like to run it... so I click on run in the drop down menu

and it just comes up ..... More

Print this item

  searching contents of files
Posted by: Ahmedrhle - Jul-19-2017, 08:48 PM - Forum: General Coding Help - Replies (12)

my question here

i have two files a and b.I want to search contents of file a in file b.and the out put to other file which contains only one word ..... More

Print this item

  'else' statement not executing
Posted by: sparkz_alot - Jul-19-2017, 08:22 PM - Forum: General Coding Help - Replies (3)

I've been scratching my head for quite awhile on this. The problem being the 'else' statement doesn't run, or at least doesn't get me to "def opt2():"..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 18 minutes ago RonR RonR GUI
  datetime in SQL query. 1 hour ago Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575881
  Tutorial Requ... 497240
  Web Scraping ... 439870
  Newbie with P... 383596
  New Users Int... 365720
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dibbley Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020