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,422
» Latest member: alexfox
» Forum threads: 38,830
» Forum posts: 176,078

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Google, AOL, Apple, Facebook Dev

Latest Threads
Girls In Your Town - Anon...
Forum: General Coding Help
Last Post: lopezmason
36 minutes ago
» Replies: 0
» Views: 16
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
5 hours ago
» Replies: 5
» Views: 125
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 748
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 516
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 457
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 808
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,768
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 733
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,039
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,624

 
  import
Posted by: Mathisdlg - Sep-27-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

Hello everybody,
I want to use my own library in my program

import mylib
I don't know what can I do this.
And can you giv..... More

Print this item

  EOF error while taking input
Posted by: ShishirModi - Sep-27-2020, 09:40 AM - Forum: General Coding Help - Replies (1)

Hey there!
I had been using Eclipse IDE for python for some time now but switched to Visual Studio Code with Python extension. Just to give the ID..... More

Print this item

  Tkinter Matplotlib
Posted by: Nepo - Sep-27-2020, 07:47 AM - Forum: GUI - Replies (1)

I just created a tkinter app that diplays numbers separated with semicolons as graphs. The numbers for x and y are inserted in two textboxes and then ..... More

Print this item

  General list size question to solve problem
Posted by: Milfredo - Sep-27-2020, 06:34 AM - Forum: General Coding Help - Replies (3)

I really appreciate all of the help I have gotten here. Need more.I have a list:

horses_info =  []
I run my program and app..... More

Print this item

  Passing List of Objects in Command Line Python
Posted by: usman - Sep-27-2020, 06:25 AM - Forum: General Coding Help - Replies (7)

I am trying to pass a argument to command line for running a python program which takes list of Field Objects and send an email. The program is runnin..... More

Print this item

  open(file, 'rb') raises UnicodeDecodeError
Posted by: binnybit - Sep-27-2020, 03:27 AM - Forum: General Coding Help - Replies (1)

I'm creating a project with Django that involves user uploading images. To test for an image and how it's stored in Django's default storage, I'm usin..... More

Print this item

  Help In adding PIP
Posted by: Infinity - Sep-27-2020, 01:52 AM - Forum: General Coding Help - Replies (1)

I installed python 3.8 recently and it has been added in my path at the time of installation.I am able to install 3 party modules from the command pro..... More

Print this item

  Class function is not running at all even though it is clearly run in the code
Posted by: SheeppOSU - Sep-26-2020, 09:51 PM - Forum: General Coding Help - Replies (2)

I'm very confused as to why my code won't run properly. Below I put the last lines of the main file which just runs some functions of the class. I put..... More

Print this item

  Python factorial code
Posted by: timebrahimy - Sep-26-2020, 09:42 PM - Forum: General Coding Help - Replies (4)

Hi all,
I am new to scientific python. While trying to follow the code below i always get "Factorial does not exist" response. I am using python 3.8 ..... More

Print this item

  Webbrowser
Posted by: jbrick97 - Sep-26-2020, 07:44 PM - Forum: General Coding Help - Replies (3)

New member here - Thanks in advance.

I am using Sublime Text, wrote the below. Help me get this to open google!

import webbrowser
webbrowser...... More

Print this item

  Python coding in Spyder IDE
Posted by: fl4m3 - Sep-26-2020, 07:03 PM - Forum: General Coding Help - No Replies

Hey Guys,
I'm a coding beginner. I had some C# and C++ in school and I want to try python for some smaller projects.
I did not learn how to work wit..... More

Print this item

  How to install Python on a Mac
Posted by: BlueBlue - Sep-26-2020, 06:59 PM - Forum: General Coding Help - Replies (13)

Hi there,

I've been trying to install Python on my Mac for quite sometime - without success.

First, I downloaded the official file from python.o..... More

Print this item

  Concatenation ??
Posted by: ridgerunnersjw - Sep-26-2020, 06:25 PM - Forum: General Coding Help - Replies (1)

I have a string that a user enters from input()....I would like to concatenate it with '\r' (0x0D) <CR> character so that it goes out on the uart bus ..... More

Print this item

  Multi set string inputs/outputs
Posted by: kwmcgreal - Sep-26-2020, 06:19 PM - Forum: General Coding Help - Replies (2)

I actually have no idea what to even call this as I am brand new to python
I am trying to create a simple program that generates a number of differen..... More

Print this item

  [split] Launch soft on Terminal in silent mode
Posted by: Note3409 - Sep-26-2020, 05:18 PM - Forum: General Coding Help - Replies (2)

Do i need to know phyton to create some video games for example Clash of clans mod apk..... More

Print this item

  Creating a list of dictionaries while iterating
Posted by: pythonnewbie138 - Sep-26-2020, 05:16 PM - Forum: General Coding Help - Replies (6)

Hi everyone,

The class I'm writing queries TMDB and, for now, writes data to a txt file. I've written a method to populate global variables to use ..... More

Print this item

  Python version
Posted by: tanometro - Sep-26-2020, 05:12 PM - Forum: Networking - Replies (2)

Hello dear Pythonfriend's,
i'm Tanometro.
I have problems with the python version. I recently installed the latest version of python on my Mac pro, ..... More

Print this item

  convert string into multiple columns in python3
Posted by: VAN - Sep-26-2020, 04:53 PM - Forum: General Coding Help - Replies (2)

Suppose now I have the following string as below:

'DATA B - 22Aug18\nName Occupation Address Marry Teacher Cali Hobby listen music Sex F Sport swim..... More

Print this item

  DUAL WINDOWS...
Posted by: ATARI_LIVE - Sep-26-2020, 04:20 PM - Forum: GUI - Replies (5)

My goal is dual windows as left and right for example:
[python]from tkinter import *

window_left = Tk()
window_left.geometry("300x300")
window_l..... More

Print this item

  coding error iro a menu
Posted by: Rollo - Sep-26-2020, 03:41 PM - Forum: General Coding Help - Replies (2)

The code below when run ignores my menu and goes straight into the first def xx() command - WHY

import sqlite3
def mainMenu():

print(' ..... More

Print this item

  Need help with a checkerboard algorythm
Posted by: giladal - Sep-26-2020, 02:58 PM - Forum: General Coding Help - Replies (2)

Hey Guys,

In the middle of a python course and unfortunately the course is off the air right now so I cant get help from the instructors. Hopefully..... More

Print this item

  Translator doens't show in my web
Posted by: MarcJuegos_YT - Sep-26-2020, 02:52 PM - Forum: Web Scraping & Web Development - Replies (1)

I am currently working on my website, which is a translator which you input a phrase and it gets translated into an invented language.

Here's the c..... More

Print this item

  "RecursionError: maximum recursion depth exceeded in comparison"
Posted by: hhydration - Sep-26-2020, 02:36 PM - Forum: Homework - Replies (1)

[python]def sum_arithmetic(n_terms, start_val, inc_val):
if n_terms == 0:
return 0
else:
return start_val+ sum_arithmetic(..... More

Print this item

  Image to Data
Posted by: nikki - Sep-26-2020, 02:10 PM - Forum: Data Science - Replies (1)

Dear Friends,

This is Nikki from Houston, Texas.

I would some help from you to convert images to Data points using the Python etc. I do not know..... More

Print this item

  Python Dev suggestion: Combining line-wrap with comments inside functions
Posted by: NikoNiels - Sep-26-2020, 12:15 PM - Forum: General Coding Help - Replies (2)

(EDIT: I messed up the title. "inside functions" should not be there. The suggestion is more general than that.)

Code Case
Sometimes, I have a..... More

Print this item

  Maths problems
Posted by: Nick_oLay - Sep-26-2020, 12:07 PM - Forum: General Coding Help - Replies (3)

Hi
I wrote a simple program and it doesn't work properly. Instead of adding numbers it creates a number out of it, for example I type 1+2 and it answ..... More

Print this item

  Master's/PHD for Data Science Job
Posted by: oli_action - Sep-26-2020, 11:47 AM - Forum: News and Discussions - Replies (4)

Hey everyone,

I recently spoke to a friend of the family who is a lead developer(45). I told him I am really interested in data science. He looks up..... More

Print this item

  Math tusk
Posted by: Michel45 - Sep-26-2020, 11:33 AM - Forum: Bar - Replies (2)

Dudes. Can you help me with math?? Cry

Print this item

  Problem posting image to clipboard
Posted by: noel - Sep-26-2020, 10:50 AM - Forum: General Coding Help - No Replies

[align=left]
I am running Windows 10 Version 10.0.18363 Build 18363.
Python 3.8.5
Apache 2.4.41

I found an example of how to copy an image to wi..... More

Print this item

  Handling multi-input/output audio in python
Posted by: bor1904 - Sep-26-2020, 10:05 AM - Forum: General Coding Help - Replies (4)

Hi,
I want to do something like that:

I have two stereo cards and I want to play music completely selectively, this means 1.mp3 on 1 channel in 1 ..... More

Print this item

  Yield statement question
Posted by: DPaul - Sep-26-2020, 08:12 AM - Forum: General Coding Help - Replies (6)

I have been reading up on the "yield" instead of "return" statement.
Arguably, I understand what it does.

On most sites however, they give the gen..... More

Print this item

  Applying Moving Averages formula to a number
Posted by: lynnette1983 - Sep-26-2020, 08:09 AM - Forum: General Coding Help - Replies (1)

I have a csv file named data.


Within this file, I'd like to iterate over the rows and perform a moving averages calculation for the next ..... More

Print this item

  TypeError: 'NoneType' object is not subscriptable
Posted by: syafiq14 - Sep-26-2020, 07:38 AM - Forum: General Coding Help - Replies (3)

I'm trying to check whether the user entered the correct path or not.
when the output appears it doesn't give any error but when i close the output it..... More

Print this item

  Simple Tic Tac Toe but I'm confused
Posted by: Izith - Sep-26-2020, 07:32 AM - Forum: General Coding Help - Replies (1)

So I started learning to code and followed a tutorial making a simple tic tac toe game. Later that day, I wanted to do it again, but without help this..... More

Print this item

  Can we store value in file if we open file in read mode?
Posted by: prasanthbab1234 - Sep-26-2020, 07:31 AM - Forum: Homework - Replies (3)

Using the open() function, open the test.txt file in reading mode and store it in the variable called file_2

Is this possible to create variable wh..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Girls In Your Town - Anon... 36 minutes ago lopezmason lopezmason General Codin...
  If I open a file write or... 5 hours ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
Most views
  The best Prog... 580747
  Tutorial Requ... 522319
  Web Scraping ... 442918
  New Users Int... 388159
  Newbie with P... 387140
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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