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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 50 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Google, Applebot, kshahzad1985

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 2
» Views: 50
New to python and coding
Forum: Homework
Last Post: jefsummers
10 hours ago
» Replies: 4
» Views: 116
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 10:11 AM
» Replies: 6
» Views: 204
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 326
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 287
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 119
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,625
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 217
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 205
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,427

 
  UTF8 for Urdu text editor
Posted by: technifire - Jul-24-2017, 04:48 AM - Forum: GUI - Replies (2)

Hello !

I am making a little text editor/ Word processor for Urdu/Hindi typing using Tkinter .

I have made it workable for english , now lookin..... More

Print this item

  A question about script readers and python
Posted by: zero91 - Jul-24-2017, 02:26 AM - Forum: Homework - Replies (4)

I began learning about python today and I am having difficulty with getting a script reader to work with Python. I am relatively new to this. I am usi..... More

Print this item

  Subsequence function
Posted by: tomhuang - Jul-24-2017, 02:12 AM - Forum: Homework - Replies (6)

Write a python function to determine whether or not string x is a subsequence of y. Unlike substrings, subsequences do not have to be consecutive. For..... More

Print this item

  Moving Python folder on Windows 10 ?
Posted by: Fran_3 - Jul-24-2017, 12:18 AM - Forum: General Coding Help - Replies (2)

newbie to Python and just installed it on Windows 10 machine. It installed in...

C:\Users\xyz\AppData\Local\Programs\Python

I want it in C:\Pyth..... More

Print this item

  Help with acroym creating
Posted by: n0003 - Jul-23-2017, 11:33 PM - Forum: General Coding Help - Replies (2)

I have a homework question that states the following:

An acronym is a word formed by taking the first letters of the words in a phrase and making ..... More

Print this item

  How can I unite some elems in the list?
Posted by: Mike Ru - Jul-23-2017, 10:25 PM - Forum: General Coding Help - Replies (7)

I have a list.

list_ = ['did', 'is', 'not', 'come', 'will', 'kill', 'are', 'not']
I need to unite the elems that stand in front of 'n..... More

Print this item

  wxpython single click/double click recognition
Posted by: Larz60+ - Jul-23-2017, 06:46 PM - Forum: Code sharing - Replies (1)

written on windows 7 using python 3.6.2, should work on any platform,
but not tested on Linux or OS-X

I've been doing a lot of playing around with..... More

Print this item

  read text file using python and display its output to html using django
Posted by: amit - Jul-23-2017, 06:14 AM - Forum: Web Scraping & Web Development - No Replies

Inside Django/views.py.  i added function to read a file and display o/p in  newhtml file .

what code is needed for this ?logic to change color at ..... More

Print this item

  Does stack overflow exist in python ?
Posted by: sylas - Jul-23-2017, 02:34 AM - Forum: General Coding Help - Replies (3)

Hi all. I am working on a file using many matrixes. So I have problems with the interpreter. It seems broken. Is that "stack overflow". If it is "stac..... More

Print this item

  Question about loop
Posted by: Pires - Jul-23-2017, 12:01 AM - Forum: Homework - Replies (4)

Hey everyone, I need help.
I'm creating a basic script that works like this:
The user gets a pokémon, then have to input +1 to increase its level un..... More

Print this item

  Should Python 3 become multi-threaded by design?
Posted by: uc1 - Jul-22-2017, 05:59 PM - Forum: News and Discussions - Replies (4)

Should Python 3 become multi-threaded by design?
To run a program, Python would create a virtual computing pull of all available cores => run every ..... More

Print this item

  Code isn't working in several IDE's when other people are getting desired output.
Posted by: SuperSymmetry - Jul-22-2017, 05:50 PM - Forum: General Coding Help - Replies (1)

my question here

[python]
names = ["daken" , "deadpool" , "elixir" , "cypher" ]

you = names.pop(0)

v = str(input('Enter a question'))

if ..... More

Print this item

  working with file problem
Posted by: u18sc11 - Jul-22-2017, 04:33 PM - Forum: Homework - Replies (3)

I am trying to work with a file but getting but I am unable to get it working correctly.

I created the following programme:

[python]outFile = op..... More

Print this item

  Python socket progran
Posted by: Taimoor - Jul-22-2017, 04:31 PM - Forum: General Coding Help - Replies (1)

i don't understand this code.what is happening where does socket and a come from.What means by a.startswith?
how does python understands arguments wi..... More

Print this item

  Creating a list of class objects
Posted by: hjuyrfc - Jul-22-2017, 01:23 PM - Forum: General Coding Help - Replies (2)

Hello all,

I'm trying to create a list of different objects using a loop.
I expect to get a list of different objects. But, in fact, I get a list ..... More

Print this item

  Easy script problem
Posted by: Niko047 - Jul-22-2017, 12:38 PM - Forum: Homework - Replies (5)

Hey guys, it's me again. As an exercise, I was trying to write a script that "encrypts" a message crypted using  distance x (Caesar's code) and ASCII ..... More

Print this item

  Numpy random number
Posted by: Bryant - Jul-22-2017, 11:08 AM - Forum: Data Science - Replies (1)

I am a beginner of Python. And I am a bit confused by different way of generating random numbers. Appreciate if anyone can explain the difference belo..... More

Print this item

  Can I delete single quotes in string matrix display
Posted by: sylas - Jul-22-2017, 08:05 AM - Forum: General Coding Help - Replies (2)

Hi all ! I should like to have a pretty display of the string matrix. Is it possible ??

[python]print("MULTIPLICATION TABLE")


def pause():
..... More

Print this item

  Need my program to run concurrent operations
Posted by: cygnus_X1 - Jul-21-2017, 10:44 PM - Forum: General Coding Help - Replies (1)

Rasberry Pi Model B  running Rasbian  (Debian 8) Linux,  Python 3.4

I have a Raspberry Pi, rotary encoder and an OLED serial..... More

Print this item

  Reducing code length
Posted by: xavier992 - Jul-21-2017, 09:12 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm new to python and I'm trying to reduce code length. Is there an efficient way to rewrite this simple code?
Thanks for the help!
..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 3 hours ago sarbogast deanhystad General Codin...
  New to python and coding 10 hours ago lary_p jefsummers Homework
  Help with Serial.write in... Today, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578870
  Tutorial Requ... 509992
  Web Scraping ... 441926
  Newbie with P... 385936
  New Users Int... 376427
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Today
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday

User Panel Messages

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