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,282
» Latest member: MattCarters
» Forum threads: 38,792
» Forum posts: 175,871

Full Statistics

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

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: Pedroski55
19 minutes ago
» Replies: 1
» Views: 48
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,472
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 124
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 50
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,044
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,292
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 345
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 188
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 248

 
  Install module without "pip"
Posted by: hjk6734 - Apr-09-2020, 08:53 AM - Forum: General Coding Help - Replies (2)

I need to use "openpyxl" module but I can't install it with "pip" (not available on the system). So far I downloaded and placed "openpyxl" in the same..... More

Print this item

  help mising 1 required posisitional rgument
Posted by: kobencry - Apr-09-2020, 08:28 AM - Forum: General Coding Help - Replies (11)

[python]def Koben(ben, *args, **kwargs):

try:
return ben(*args, **kwargs)

except Exception as err:
print(t..... More

Print this item

  python
Posted by: ankitnew - Apr-09-2020, 08:20 AM - Forum: Homework - Replies (3)

Select the correct statements about interfacing with other languages from python?
a) Boost python provides almost same features of swig
b) swig is u..... More

Print this item

  if min is not
Posted by: tplace - Apr-09-2020, 08:06 AM - Forum: General Coding Help - Replies (1)

Hello,
I start in python and I don't understand the line (if min is not en_cours :) in this sorting by insertion program:

[python]A = [8,6,15,9,2,..... More

Print this item

  start interactive pyhton shell with pre-loaded custom modules
Posted by: Viktor - Apr-09-2020, 07:58 AM - Forum: General Coding Help - Replies (2)

Hi all,
I'm a beginner & giving myself a few simple projects to try to find stuff out. I'm trying to make a sort of desktop calculator in the form of..... More

Print this item

  When Defining a Function with an Equation as a Default Argument, which Value Is Used?
Posted by: OJGeorge4 - Apr-09-2020, 07:13 AM - Forum: General Coding Help - Replies (4)

I have shortened my function and code to make it easier to follow but it reflects an equivalent situation.

I am wondering when you define a functio..... More

Print this item

  Where should I place GPIO.cleanup()
Posted by: shallanq - Apr-09-2020, 05:20 AM - Forum: General Coding Help - Replies (2)

My code is really long with multiple programs running at the same time. Is it really a must to use GPIO.cleanup()? And if it is, where should I use it..... More

Print this item

  append not working as expected
Posted by: teachinggeek - Apr-09-2020, 03:10 AM - Forum: General Coding Help - Replies (2)

So I am trying to create a list (called megalist) of all of the 3 digit combinations from the list of numbers called numbers. I think the logic is s..... More

Print this item

  Split and sort input file
Posted by: aawaleh - Apr-08-2020, 10:19 PM - Forum: General Coding Help - Replies (4)

Hi there, I need help with the following code. I am trying to sort the list but only getting the last sentence of the file sorted. What am I doing wro..... More

Print this item

  Opening CSV file from SFTP server not working
Posted by: cluelessintern - Apr-08-2020, 08:10 PM - Forum: General Coding Help - No Replies

Hello,

So after two days of scavenging the internet I have not found anything to help solve my issue. Any help or recommendations would be apprecia..... More

Print this item

  How can a user send a message via Contact Form in tkinter
Posted by: karolp - Apr-08-2020, 07:57 PM - Forum: GUI - No Replies

I am trying to create a GUI app in Tkinter that allows user to send an email to me with a query. This will be done via the contact form. All my code t..... More

Print this item

  sum(i for i in range(10))
Posted by: ClassicalSoul - Apr-08-2020, 07:32 PM - Forum: General Coding Help - Replies (2)

The documentation for sum() states that it takes as its argument an iterable. How does this make sense of the code sum(i for i in range(10)), beca..... More

Print this item

  Can Python be used for this????
Posted by: Jack_Ritter - Apr-08-2020, 06:30 PM - Forum: General Coding Help - Replies (1)

Can anyone tell me if this can be done in Python before I try to pursue this?

I need to be able to input two partially known factors each at 15 d..... More

Print this item

  Formatting
Posted by: DudleyDiccle - Apr-08-2020, 06:09 PM - Forum: General Coding Help - Replies (3)

Hi, I am trying to get the following columns to be formatted so that they are parallel instead of the numbers being off-centered from one another, and..... More

Print this item

  "Save as" freezing
Posted by: Shiflett3k - Apr-08-2020, 05:52 PM - Forum: News and Discussions - Replies (6)

Just downloaded the latest Python 3.8.2

I just started to learn some basic coding, I was able to save 3 of my assignments that I've completed. But..... More

Print this item

  Need help with code for my WS2812B (Neopixel) Led Strip
Posted by: Phibbl - Apr-08-2020, 03:29 PM - Forum: General Coding Help - Replies (1)

Hello everyone

I just got myself a W2812B Led Strip for a personal project and hooked it up to a Raspberry Pi Zero.
After some hours of fiddeling ..... More

Print this item

  Keyboard Module Python - Suppress input while writing to window
Posted by: ppel123 - Apr-08-2020, 02:51 PM - Forum: General Coding Help - No Replies

Hi,
I am developing an app that monitors and corrects the user input based on some rules.
I am reading the events from keyboard with the keyboard py..... More

Print this item

  Grabbing comma separed values from SQLite and putting them in a list
Posted by: PythonNPC - Apr-08-2020, 02:04 PM - Forum: General Coding Help - Replies (8)

Hello,

I am really confused about this.

Let's say I have a database and one cell contains the following:
[quote]334.0,1698.5,26.17,2323.0[/quo..... More

Print this item

  -> Help: erreur print
Posted by: cherry_cherry - Apr-08-2020, 01:40 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
My project is to enter a json file or txt file. If it exists in my source then read the file entered and evaluate the condition.
This ..... More

Print this item

  local/global variables in functions
Posted by: abccba - Apr-08-2020, 01:40 PM - Forum: General Coding Help - Replies (6)

x = 1


def f1(y):
    y += 1
    return y


x1 = f1(x)
print('x = ', x, '  x1 = ', x1)
answer:
x = 1 x1 = 2

[..... More

Print this item

  datetime object
Posted by: prashantas - Apr-08-2020, 01:29 PM - Forum: General Coding Help - Replies (1)

I am getting a date like '20200402130324.9500+0530' . How can I convert this to python datatime object ?

Print this item

  Hangman game- feedback please
Posted by: NV12 - Apr-08-2020, 01:12 PM - Forum: Code Review - Replies (1)

Hi all,

I was hoping to get some feedback from a hangman game i just created. It runs correctly but being a beginner I'd really like to know what I..... More

Print this item

  Help: List comprehension
Posted by: mart79 - Apr-08-2020, 01:00 PM - Forum: General Coding Help - Replies (4)

I have the following piece of code which I want to simplify/write more clean using list comprehension.
How would I achieve this?

[python]
..... More

Print this item

  Connect to SQL and Select using Two Functions
Posted by: phillyfa - Apr-08-2020, 01:00 PM - Forum: General Coding Help - Replies (7)

Hello,

I'm toying around with Python and I have a basic program to connect to SQL Server and run various database statements. I'd like to start cr..... More

Print this item

  getting error ValueError: time data '' does not match format '%H:%M'
Posted by: srisrinu - Apr-08-2020, 11:58 AM - Forum: General Coding Help - Replies (2)

I'm getting ValueError:time data ' ' does not match format '%H:%M'
for the following text file with text message
[quote]
Cricket, a bat-and-ball pa..... More

Print this item

  My Pygame Sprite not appearing...
Posted by: noodlespinbot - Apr-08-2020, 11:34 AM - Forum: Game Development - Replies (3)

My rectangle won't appear... I am using pygame. I just want a still rectangle.

[python]
import pygame

pygame.init()

#Display#
display = py..... More

Print this item

  My Pygame Sprite not appearing...
Posted by: noodlespinbot - Apr-08-2020, 11:15 AM - Forum: Game Development - Replies (1)

My sprite is not appearing. I am trying to draw a rectangle.
code:

[python]
import pygame

pygame.init()

#Display#
display = pygame.display..... More

Print this item

  Trouble with Sudoku Solver
Posted by: Techmokid - Apr-08-2020, 05:59 AM - Forum: General Coding Help - Replies (2)

Hello!

I got bored and decided to make a simple sudoku solver, but I am having a tiny issue wrapping my head around a simple problem.
[python]puzz..... More

Print this item

  Problems reading modules and the auto filler
Posted by: Tomli - Apr-08-2020, 05:07 AM - Forum: General Coding Help - Replies (8)

Hello everyone!

Wish someone can help me with the following two problems I have been getting

(Just to clarify I’m using VSC as my text editor, m..... More

Print this item

  Creating look up table/matrix from 3d data array
Posted by: chai0404 - Apr-08-2020, 03:48 AM - Forum: Data Science - Replies (3)

Hi,
I have a data array of coastal grid cells and I need to find adjacent ocean cells from a different dataset.
To begin with, I have a 3D data arra..... More


Attached Files

Thumbnail(s)
   
Print this item

  the second program that I did in python
Posted by: dsad12 - Apr-08-2020, 02:14 AM - Forum: Code Review - No Replies

I stayed up all night, writing a code of over 200 lines. I constructed a program from scratch, from which, one can download a full internet page inclu..... More

Print this item

  Python beautifulsoup pagination error
Posted by: The61 - Apr-08-2020, 12:12 AM - Forum: Web Scraping & Web Development - Replies (5)

I want to make a pagination but page is not changed
[python]
import requests
from bs4 import BeautifulSoup as bs
from colorama import init

i..... More

Print this item

  Contextual pop-up menus in Sublime Text
Posted by: Mondata - Apr-07-2020, 10:51 PM - Forum: General Coding Help - Replies (4)

Hi there.

I have started using the Sublime Text editor (version 3.2.2).
I wonder how to get all that very helpful contextual pop-up menus when wri..... More

Print this item

  generate UML design from python code
Posted by: Phaze90 - Apr-07-2020, 09:34 PM - Forum: General Coding Help - Replies (2)

Hello,

i am looking for a possibility to reverse engineer my code to have a class design / diagram.
It helps to see the dependencies between the c..... More

Print this item

  Sort a dict in dict
Posted by: cherry_cherry - Apr-07-2020, 08:30 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I want to sort by 'name' value, by 'notes' values and by average 'notes' values in a dictionary. I tried different methods but it..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 19 minutes ago drakhsin Pedroski55 General Codin...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579238
  Tutorial Requ... 512068
  Web Scraping ... 442173
  Newbie with P... 386287
  New Users Int... 379421
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MattCarters Yesterday
drakhsin Yesterday
MileHigh303 11-21
ndx101 11-21
OtiliaBecker 11-21

User Panel Messages

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