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,635
» Latest member: humphrey88
» Forum threads: 38,641
» Forum posts: 175,086

Full Statistics

Online Users
There are currently 391 online users.
» 0 Member(s) | 385 Guest(s)
Bing, Google, Baidu, Applebot, Yandex

Latest Threads
Difference and meaning in...
Forum: General Coding Help
Last Post: Larz60+
16 minutes ago
» Replies: 2
» Views: 29
replace or remove text fr...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 12
» Views: 287
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
5 hours ago
» Replies: 1
» Views: 70
locating a pushbutton py ...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 07:46 PM
» Replies: 1
» Views: 64
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:36 AM
» Replies: 10
» Views: 3,103
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:35 AM
» Replies: 2
» Views: 1,894
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Yesterday, 03:54 AM
» Replies: 3
» Views: 2,120
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 386
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,886
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,829

 
  quick joystick GUI
Posted by: AceScottie - Jul-24-2017, 03:12 PM - Forum: GUI - Replies (6)

Hello. Im looking for a really easy joystick that i can control with a mouse.
I have been looking on google and they are all either frameworks, wrap..... More

Print this item

  run two tasks concurrently
Posted by: tony1812 - Jul-24-2017, 02:58 PM - Forum: General Coding Help - Replies (1)

Hello, I just got a Pi, that what motivated me to learn Python. I am a absolute newbies when it come to python programming,  I joint this forum.

I am..... More

Print this item

  Best way to blink an output every 500 milliseconds?
Posted by: dbsoundman - Jul-24-2017, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi all, interesting problem in Python... I'm working on a project that I will eventually run on a Raspberry Pi, so I'm utilizing Python to manipulate ..... More

Print this item

  Alernating the two items in a list
Posted by: juniorcoder - Jul-24-2017, 11:03 AM - Forum: General Coding Help - Replies (1)

Hello everybody ,

I am trying to make a list by alternating two values but I am getting error. Basically my list should be like if it starts with 2 ..... More

Print this item

  Thousand Separator Entry Widget Cursor Pos Trouble
Posted by: papatubies - Jul-24-2017, 10:14 AM - Forum: GUI - Replies (4)

how to fix cursor pos?

[python]
def atPos(atX=0,atY=0):
   frame = Frame(root)
   frame.place(x=atX,y=atY)
   return frame

class MyEntry:
 ..... More

Print this item

  Syntax error in if line
Posted by: daniel - Jul-24-2017, 07:22 AM - Forum: General Coding Help - Replies (5)

hello, I am very new to coding in general and python is my first. I am trying to figure out what is wrong with this, but I can't. I always get syntax ..... More

Print this item

  basemap problem
Posted by: Roman - Jul-24-2017, 07:13 AM - Forum: Data Science - Replies (2)

hallo,
could me by anybody solve my problem why draw long line on map see image[Image: zv1zp69kdz8nqr1m32kn.jpg]
m..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Difference and meaning in... 16 minutes ago Udbytossen Larz60+ General Codin...
  replace or remove text fr... 3 hours ago Curbie snippsat General Codin...
  While loop is terminating... 5 hours ago jumpsworthnow Gribouillis Homework
  [PyQt] locating a pushbut... Yesterday, 19:46 arbiel Axel_Erfurt GUI
  How to put my game loop i... Yesterday, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe Yesterday, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... Yesterday, 03:54 garthE Plyth Game Developm...
  List[] in Python needs so... 06-27, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 06-27, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 06-27, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
Most views
  The best Prog... 572362
  Tutorial Requ... 485080
  Web Scraping ... 436893
  Newbie with P... 379730
  Thread remain... 351241
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6843
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
humphrey88 Today
Udbytossen Today
tatria Today
Chttebarron2 Today
Olkianen Yesterday

User Panel Messages

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