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,969
» Latest member: Zephlonix
» Forum threads: 38,731
» Forum posts: 175,554

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 31 Guest(s)
Google, Bing, AOL, Apple, deanhystad

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
51 minutes ago
» Replies: 0
» Views: 14
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: llarkin6
1 hour ago
» Replies: 4
» Views: 676
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 8
» Views: 420
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,807
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 670
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,203
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,773
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,167
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,137
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,429

 
  Cannot download latest version of a file
Posted by: TheTechRobo - Apr-25-2020, 12:55 PM - Forum: Web Scraping & Web Development - Replies (3)

I have gone through over five or six Python requests and urllib tutorials, but none of them will download the latest version of a file.

Here is wha..... More

Print this item

  Resampling and regrouping using pivot table
Posted by: karlito - Apr-25-2020, 10:57 AM - Forum: Data Science - Replies (4)

code added

Hi,

I'm trying to group all the value of the dataframe essaie['night_cons'] by day (and by year) but the result just gives me NAN.
p..... More

Print this item

  Which GUI should I choose ?
Posted by: Matprog49 - Apr-25-2020, 08:48 AM - Forum: GUI - Replies (2)

Hi everyone,
I’m using .Net since some years and I would like to learn python. To be honest I really like linux and the idea to do software compatibl..... More

Print this item

  python code help
Posted by: rajendra05 - Apr-25-2020, 08:25 AM - Forum: General Coding Help - Replies (4)

1.Search for that name in the word document where the “process” and when found, check if that has an associated table with it.
2. Pick that table an..... More

Print this item

  NetfilterQueue - set_payload()
Posted by: RGBepit88 - Apr-25-2020, 07:49 AM - Forum: Networking - Replies (2)

Hi folks,

I have the following code to modify the DNS data of a packet in python3 using netfilterqueue. However, I get the following error [b]Attri..... More

Print this item

  Text Button - How Do I Reduce The Margin?
Posted by: vman44 - Apr-25-2020, 04:04 AM - Forum: GUI - Replies (6)

My Python script uses Tkinter.
I'm running Python 3.7.

The script creates a large # of text buttons
next to each other.

How do I reduce the ma..... More

Print this item

  Is model built correctly?
Posted by: constantin01 - Apr-25-2020, 03:31 AM - Forum: Data Science - Replies (1)

Hi,

I'm new to neural networks and I want to know whether my model requires more data or it is built not correctly.

I build a CNN model with PyTorc..... More

Print this item

  Sorting methords
Posted by: Godserena - Apr-25-2020, 03:29 AM - Forum: Homework - Replies (3)

I couldn't understand the difference in working of insertion sort and bubble sort.
Could someone help me with that
Thank you

Print this item

  SyntaxError when trying to execute code on Windows
Posted by: Fred0n - Apr-25-2020, 03:26 AM - Forum: General Coding Help - Replies (2)

I'm a brand new baby when it comes to programming. just want to run simple hello world doc from a different directory in Windows native Dos

[error..... More

Print this item

  Trying to disable console window in Visual Studio
Posted by: 357mag - Apr-25-2020, 02:20 AM - Forum: GUI - Replies (5)

I'm experimenting with Python and Visual Studio. One thing that bugs me is that even when I make a GUI program and then I run it Visual Studio still p..... More

Print this item

  Images in tkinter
Posted by: menator01 - Apr-25-2020, 12:49 AM - Forum: GUI - No Replies

I've been posing on here about my learning project as some of you have read.
Currently I'm working on learning more on classes and methods.
While re..... More

Print this item

  Find the realpath for a symlinked .pth file in itself with python code.
Posted by: hongyi - Apr-24-2020, 11:53 PM - Forum: General Coding Help - Replies (7)

Hi,

I symlinked a pth file to the site-packages directory of my virtualenv. Then I want to obtain the realpath of this pth file from within it wit..... More

Print this item

  Efficient sprite scaling with Vector3
Posted by: michael1789 - Apr-24-2020, 10:21 PM - Forum: Game Development - Replies (1)

For anyone who knows, I'm intending to scale sprites based on the pygame.math.Vector3 z axis. MY question is how to do this in a computationally effi..... More

Print this item

  Selenium big struggle
Posted by: Troop - Apr-24-2020, 07:43 PM - Forum: Web Scraping & Web Development - Replies (2)

[python]
from selenium import webdriver
from time import sleep

class scrollDown:

def __init__(self, username, passWord):
self.dri..... More

Print this item

  DeprecationWarning Any Fix for this
Posted by: Calli - Apr-24-2020, 07:27 PM - Forum: General Coding Help - Replies (2)

[python]
from collections import Iterable
def flatten(items, ignore_types=(str, bytes)):
for x in items:
if isinstance(x, Iterable) an..... More

Print this item

  Pandas Help
Posted by: cliffordhubbard - Apr-24-2020, 07:12 PM - Forum: Homework - Replies (9)

[python]
# The Mojave Desert states
canu = ["California", "Arizona", "Nevada", "Utah"]
import pandas as pd
# Filter for rows in the Mojave Desert ..... More

Print this item

  Search for files and copy them to different location
Posted by: jayser247 - Apr-24-2020, 07:03 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm a newbie so bear with me.

I have multiple duplicates of files on my network.

Is is possible to create something that can search th..... More

Print this item

  AttributeError: module 'platform' has no attribute 'python_implementation'
Posted by: davidpluseipi - Apr-24-2020, 06:30 PM - Forum: General Coding Help - Replies (3)

Can anyone help me figure this out?

All of a sudden python started running old code that I didn't even have open and now I can't even run...

[py..... More

Print this item

  VERSION.TXT
Posted by: tharpa - Apr-24-2020, 05:02 PM - Forum: General Coding Help - Replies (3)

I have a project that contains an empty file called VERSION.TXT. Is this a standard kind of a file? It sounds like it is, but I can't find any relev..... More

Print this item

  [split] Debugging scripts basics
Posted by: tultalk - Apr-24-2020, 03:03 PM - Forum: General Coding Help - Replies (5)

(Apr-24-2020, 02:58 AM)buran Wrote: Why not use an IDE with debugging?
What is a good IDE w/debugging to use in 2.7?
I am ..... More

Print this item

  Python project/code like Microsoft Flow
Posted by: Jeff900 - Apr-24-2020, 02:36 PM - Forum: News and Discussions - Replies (3)

I have been looking already on the internet to find some existing software like Microsoft Flow, but then written in Python ofcourse. Or to be more pre..... More

Print this item

  Visualize data using KML files
Posted by: annelewis - Apr-24-2020, 02:13 PM - Forum: Homework - Replies (1)

Hello. I'm not quite sure how to amend my code below to get the output to a kml format file.

Question:
Write a function PrintLocation which takes ..... More

Print this item

  Login and Register system
Posted by: finndude - Apr-24-2020, 02:13 PM - Forum: General Coding Help - Replies (1)

hi,

i have this code

[python]

def login_1(): #everything below is what will happen when we use the login() command

print ("\n") #adds..... More

Print this item

  re.match value
Posted by: enigma619 - Apr-24-2020, 02:00 PM - Forum: General Coding Help - Replies (4)

Hi
I've a question about match value in python.

On a server I've installed a tool edac-utils. When I launch this command, result is:
[server]edac..... More

Print this item

  What are good places to research?
Posted by: Jose - Apr-24-2020, 01:58 PM - Forum: News and Discussions - Replies (1)

I'm a new student in coding and I realize that I'll be spending a lot of time doing online research to figure out how to solve my coding problems.
Wh..... More

Print this item

  Call a .xlsx file outside a class
Posted by: criscferr - Apr-24-2020, 01:47 PM - Forum: General Coding Help - Replies (2)

My code works fine. My doubt is how can I call a .xlsx file outside a class and use inside the class. I need to call a bunch of different .xlsx files ..... More

Print this item

  tkinter installation
Posted by: arbiel - Apr-24-2020, 01:38 PM - Forum: GUI - Replies (8)

Hi

I failed installing tkinter
[code]
python -m pip install tkinter
Defaulting to user installation because normal site-packages is not writeabl..... More

Print this item

  Python - Tkinter : How can I send path Excel from GUI to scripte
Posted by: johnjh - Apr-24-2020, 01:06 PM - Forum: GUI - Replies (2)

[align=center][b]Hello Guys I have a script and Now I'm Build Interface in that script:

The Script work by data from Excel:

After upload and cli..... More

Print this item

  TypeError: coerce_kw_type() got an unexpected keyword argument 'dest'
Posted by: juniii - Apr-24-2020, 12:57 PM - Forum: General Coding Help - Replies (1)

Hi everyone
I am new here and I am seeking for some help on python
I using Jupyter to practice
and I just got the following error while executing m..... More

Print this item

  Unable to conect to DB
Posted by: amitsinbox - Apr-24-2020, 12:33 PM - Forum: General Coding Help - Replies (2)

while using Jupyter NB am connecting to my DB.

code i write is:

try:
conn = ibm_db.connect(dsn, "dashdb-txn-sbox-yp-lon02-04.services.eu-..... More

Print this item

  while loop reading list in reverse
Posted by: Jerry51 - Apr-24-2020, 12:29 PM - Forum: General Coding Help - Replies (1)

I have written some simple code that should read a list and return a result for each item in the list

[python]
sandwich_orders = ['jam buttie','pa..... More

Print this item

  Array and rectangles
Posted by: pythonuser1 - Apr-24-2020, 12:21 PM - Forum: Homework - Replies (3)

Hello guys,

I need your help to solve this problem. I need to print a rectangle inside an another rectangle.

Example :

Input :
9 19 (number of..... More

Print this item

  why this error occured in recursion
Posted by: ashishraikwar - Apr-24-2020, 11:03 AM - Forum: General Coding Help - Replies (1)

[python]def fact(n):
if n<= 1:
print(1) #if i use "return 1" here then no error but when i use here print(1) why the error occurred ..... More

Print this item

  IndexError: index 0 is out of bounds for axis 0 with size 0 error
Posted by: tmhsa - Apr-24-2020, 10:08 AM - Forum: General Coding Help - Replies (5)

Good day fellow coders,

I am a little stuck with an index error issue. Below is the description:

Table name: Sub
ID, Pred..... More

Print this item

  IndexError: index 0 is out of bounds for axis 0 with size 0
Posted by: tmhsa - Apr-24-2020, 10:00 AM - Forum: Data Science - No Replies

Good day fellow coders,

I am a little stuck with index error issue. Below is the description:

Table name: Sub
ID, Pred
2..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 51 minutes ago fosuwxb fosuwxb Code sharing
  Unable to resolve FileNot... 1 hour ago llarkin6 llarkin6 General Codin...
  Comparing 2 100GB Drives/... 4 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  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...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577299
  Tutorial Requ... 500496
  Web Scraping ... 440968
  Newbie with P... 384999
  New Users Int... 369433
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+ 12089
buran 8176
snippsat 7370
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Zephlonix Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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