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,975
» Latest member: Alfreddonalds6
» Forum threads: 38,733
» Forum posts: 175,563

Full Statistics

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

Latest Threads
Hire a professional foren...
Forum: General Coding Help
Last Post: Alfreddonalds6
9 minutes ago
» Replies: 0
» Views: 3
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
13 minutes ago
» Replies: 2
» Views: 117
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
7 hours ago
» Replies: 2
» Views: 767
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 801
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 510
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,886
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,289
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,856
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,277
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,209

 
  SonarCloud, SonarQube support Python 3.8, add rules for method signature & visibility
Posted by: ganncamp - Mar-31-2020, 04:29 PM - Forum: News and Discussions - No Replies

Hi all,

SonarSource is pleased to share that we now support Python 3.8 on SonarCloud. Support in SonarQube will be available in the upcoming 8.3 ve..... More

Print this item

  Recommendations: Querying CSV / Database??
Posted by: ironfelix717 - Mar-31-2020, 04:20 PM - Forum: General Coding Help - Replies (2)

Hi,

I have an application already built in VBA for Access that does data visualization on a user imported CSV files.
Its kind of boggy and slow. ..... More

Print this item

  Feedback on my first solo coding project please
Posted by: w4ldom4ths - Mar-31-2020, 02:41 PM - Forum: Code Review - Replies (4)

Hi

Below is the code from my first attempted project, it works (its maths based as I am a maths teacher)

If anybody has a few spare minutes I wo..... More

Print this item

  recording a translation table into a file
Posted by: arbiel - Mar-31-2020, 02:11 PM - Forum: General Coding Help - No Replies

Hi

I'm writing a script to collate ancient greek. Until now, I've been able to create a dictionnary from the Unicode blocks of characters and use it ..... More

Print this item

  How to crawl schema markup data type using scrapy?
Posted by: Nuwan16 - Mar-31-2020, 02:08 PM - Forum: Web Scraping & Web Development - Replies (1)

I tried to crawl and extract a data type of schema markup using python using this

[python]response.xpath("//script[@type='application/ld+json']/tex..... More

Print this item

  Showing error
Posted by: Sakeeb - Mar-31-2020, 11:57 AM - Forum: General Coding Help - Replies (3)

[python]def buying(self):
while self.price> 0:
try:
print ("Items you are buying:\n")
if self...... More

Print this item

  Age Difference to 18
Posted by: vejin - Mar-31-2020, 11:27 AM - Forum: General Coding Help - Replies (1)

Hello,

I want to write a small program that outputs the age difference in years to 18:

[python]
x = int(input("Please enter your age: ")

if ..... More

Print this item

  Additional buffer for Windows
Posted by: constantin01 - Mar-31-2020, 10:24 AM - Forum: General Coding Help - No Replies

I would like to write a program for extending the number of buffers available for the user. We have a default ctrl+c and ctrl+v but I want to have add..... More

Print this item

  word subscript
Posted by: Staph - Mar-31-2020, 08:40 AM - Forum: General Coding Help - Replies (1)

Please how to i write Asubscriptmean as a string in pytho

A[mean] where the word mean is subscript?

Print this item

  Installing Numpy on Raspberry Pi
Posted by: koepjo - Mar-31-2020, 08:20 AM - Forum: General Coding Help - Replies (3)

Hi!

I'm trying to use numpy with python3 on my Rasspberry Pi, but I'm not able to import the module after I installed it with [b]sudo apt install p..... More

Print this item

  name error:name 'clf' is not defined
Posted by: saiankith - Mar-31-2020, 07:23 AM - Forum: General Coding Help - Replies (3)

[quote]
I am working on a project called heart disease predictor.When i click the button predict heart disease.The below error is coming.But clf is d..... More

Print this item

  sub-folders in folders from text line
Posted by: jenost - Mar-31-2020, 06:59 AM - Forum: General Coding Help - Replies (1)

Hi!
Tips on how to create sub-folders in each one created from an txt dokument. See code example.
Should I also close the text file?

[python]
im..... More

Print this item

  making a generator class?
Posted by: Skaperen - Mar-31-2020, 02:00 AM - Forum: News and Discussions - Replies (2)

we can make a generator function by making a function with a yield statement. what about making a class that way? can i make a class that is a genera..... More

Print this item

  Factorial Code is not working when the given number is very long integer
Posted by: Raj_Kumar - Mar-31-2020, 01:17 AM - Forum: General Coding Help - Replies (2)

Hi,

Below code is to find "Factorial of a given number"

[python]n=int(input("enter a end range: "))
s=1
for i in range(1,n+1):
s=s*i
pri..... More

Print this item

  Selenium cant get elements from HTML(Rookie)
Posted by: Troop - Mar-31-2020, 12:05 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi there

I hope everyone having a great quarantine

Sorry if im breaking any rules my first thread in this forum.. so my apologises.

I been p..... More

Print this item

  Epidemic simulation COVID-19
Posted by: pirogone - Mar-30-2020, 11:55 PM - Forum: Code sharing - Replies (1)

Hi all, I'd like to share with you a bit of code, for those of you who start to look deeper into epidemic simulations.

It is not the best piece of..... More

Print this item

  I don't think my program is producing the correct answer
Posted by: emmapaw24 - Mar-30-2020, 11:48 PM - Forum: General Coding Help - Replies (1)

Hey, I'm pretty new to python so the answer to this might be obvious, but I made this code for an assignment, and while the code is working I don't th..... More

Print this item

  How to print a column name in csv file
Posted by: Truman - Mar-30-2020, 10:10 PM - Forum: Data Science - Replies (1)

Among other things ( open data sets, explore them, print the first few rows and number of rows and columns ) I should print names of columns
my code ..... More

Print this item

  Dynamic return ?
Posted by: JohnnyCoffee - Mar-30-2020, 07:47 PM - Forum: General Coding Help - Replies (2)

I receive in a function two parameters (Class and Method) with dynamic values that serve to reference a certain class and access the method on the ret..... More

Print this item

  Inserting slice of array objects into different slice
Posted by: ThemePark - Mar-30-2020, 07:33 PM - Forum: Data Science - Replies (4)

Suppose I have the following code:
[python]import numpy as np
a=np.zeros((2),dtype=np.object)
b=np.array([[11],[13]])
a[0]=b[0]
a[1]=b[1]
print(a)[/py..... More

Print this item

  How find link element
Posted by: zinho - Mar-30-2020, 07:29 PM - Forum: Web Scraping & Web Development - Replies (3)

I want click on link with text "Toner"
[python]
from selenium import webdriver


adm ='http://10.27.20.49/web/guest/br/websys/webArch/mainFrame.c..... More

Print this item

  AttributeError: 'list' object has no attribute 'g_s'
Posted by: NitinL - Mar-30-2020, 06:29 PM - Forum: Homework - Replies (6)

https://pastebin.com/2L4BChgF

Print this item

  display local images on django website
Posted by: mp3909 - Mar-30-2020, 05:43 PM - Forum: Web Scraping & Web Development - Replies (2)

I am using python Django framework.
Image is not displaying when I run the development server.
This is the code, everything else working fine but im..... More

Print this item

  TypeError indexing a range of elements directly on the list
Posted by: JFerreira - Mar-30-2020, 03:13 PM - Forum: General Coding Help - Replies (2)

Hi,

I am getting an TypeError, and not sure why? My goal is to write on the second and third position of a list . I can do it using a for loop but ..... More

Print this item

  return statement will not work
Posted by: TheTechRobo - Mar-30-2020, 02:54 PM - Forum: General Coding Help - Replies (2)

I have a problem with python 3.x.

I am trying to make a CLI calculator using python 3.x, and tried to use the return statement.

However, even a..... More

Print this item

  another element obscures it
Posted by: windows11 - Mar-30-2020, 02:12 PM - Forum: Web Scraping & Web Development - Replies (1)

selenium.common.exceptions.ElementClickInterceptedException: Message: Element <section class="list-item ng-scope"> is not clickable at point (674,633)..... More

Print this item

  Input error
Posted by: Rayaan - Mar-30-2020, 02:02 PM - Forum: GUI - Replies (1)

I have only just started using tkinter today and I am getting an error which I cannot work out how to solve. I am making a slot machine and I want to ..... More

Print this item

  Translate to noob a Name Eroor message
Posted by: bako - Mar-30-2020, 12:19 PM - Forum: General Coding Help - Replies (2)

What exactly does this mean?

[error]Traceback (most recent call last):
File "waveshare_init.py", line 22, in <module>
if cmd == off:
NameE..... More

Print this item

  I dont know where my local variable has gone
Posted by: Help_me_Please - Mar-30-2020, 11:54 AM - Forum: Game Development - Replies (4)

I am aiming to create a basic maths game, and I am creating a scoring system, after every question right the score should increment, it does so for a ..... More

Print this item

  new font
Posted by: berckut72 - Mar-30-2020, 11:45 AM - Forum: GUI - Replies (2)

Hello!
Please tell me - how can I install in python a new font downloaded from the Internet?

Print this item

  url pattern matching
Posted by: mp3909 - Mar-30-2020, 10:44 AM - Forum: Web Scraping & Web Development - Replies (5)

My url pattern is /music/712/ which I can match using path('music/<int:album_id>/', views.detail, name='detail')

But how do..... More

Print this item

  Selenium cant get xpaths/load url
Posted by: draw134 - Mar-30-2020, 10:11 AM - Forum: Web Scraping & Web Development - Replies (2)

I want to deploy my python script in ubuntu server and call it via cron. In my local windows machine. I tried headless and it is working perfectly fin..... More

Print this item

  Python - help with getting JSON from one DB and load to another DB
Posted by: qIekm - Mar-30-2020, 09:41 AM - Forum: General Coding Help - Replies (4)

New to Python and JSON, I am trying to do the following in Python 3.7:

1.Connect to Oracle database

2.Get data from specific table in proper JSO..... More

Print this item

  connecting data
Posted by: zarize - Mar-30-2020, 09:05 AM - Forum: General Coding Help - Replies (1)

hi guys,

how can i connect data so it would be all together (there should be 100 rows)


however, when i am trying to run the script it shows 200 row..... More


Attached Files

.xlsx   example.xlsx (Size: 9.13 KB / Downloads: 388)
Print this item

  Smoothen reset and write text
Posted by: Bhoot - Mar-30-2020, 07:31 AM - Forum: GUI - Replies (8)

Hi,

I am currently projecting the value as received from a sensor. Now the problem I saw was that on every value change, there is a flicker generat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Hire a professional foren... 9 minutes ago Alfreddonalds6 Alfreddonalds6 General Codin...
  Integer Factorization Too... 13 minutes ago fosuwxb buran Code sharing
  My goal to be hired worki... 7 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577335
  Tutorial Requ... 500640
  Web Scraping ... 440999
  Newbie with P... 385037
  New Users Int... 369512
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+ 12090
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Alfreddonalds6 Today
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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