Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,494
» Latest member: sagnikcse24
» Forum threads: 37,264
» Forum posts: 169,384

Full Statistics

Online Users
There are currently 367 online users.
» 1 Member(s) | 360 Guest(s)
Bing, Yandex, Google, Apple, AOL, idev

Latest Threads
Numeric Enigma Machine
Forum: General Coding Help
Last Post: idev
4 minutes ago
» Replies: 8
» Views: 116
Variable not defined even...
Forum: General Coding Help
Last Post: Larz60+
8 minutes ago
» Replies: 3
» Views: 65
Error (Errno 2), File upl...
Forum: General Coding Help
Last Post: Username_Python1
35 minutes ago
» Replies: 0
» Views: 108
Elegant way to apply each...
Forum: General Coding Help
Last Post: sawtooth500
1 hour ago
» Replies: 4
» Views: 126
web scraping football res...
Forum: Web Scraping & Web Development
Last Post: 22206290
4 hours ago
» Replies: 2
» Views: 655
Div Class HTML selector i...
Forum: Web Scraping & Web Development
Last Post: StevenSnyder
4 hours ago
» Replies: 1
» Views: 450
Sorting Steps
Forum: General Coding Help
Last Post: MoreMoney
6 hours ago
» Replies: 11
» Views: 311
m3u8 using build-in brows...
Forum: Web Scraping & Web Development
Last Post: kucingkembar
Yesterday, 10:50 PM
» Replies: 0
» Views: 54
Not getting forum emails
Forum: Board
Last Post: snippsat
Yesterday, 06:51 PM
» Replies: 2
» Views: 91
argparse io issue
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:04 PM
» Replies: 1
» Views: 95

 
  Extension host terminated unexpectedly
Posted by: myhobby76 - Apr-11-2020, 11:31 AM - Forum: Bar - Replies (3)

hi..
update vs code 1.44 after this problem start
Extension host terminated unexpectedly.

antivirus - quick heal total
Repor..... More

Print this item

  getting data from txt's
Posted by: baris013 - Apr-11-2020, 10:32 AM - Forum: General Coding Help - Replies (2)

My question getting data from txt files. For example, in a folder i have 12 files lile sample01.txt, sample02.txt, sample03.txt, ..... sample12.txt. I..... More

Print this item

  screenshot
Posted by: arezoo - Apr-11-2020, 09:53 AM - Forum: Web Scraping & Web Development - Replies (3)

I want to take picture from page in different size(picture must be responsive)
i do not want use api.
the api that there is in this site(https://w..... More

Print this item

  Selenium/chrome console
Posted by: WiPi - Apr-11-2020, 09:52 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi guys,

I am running selenium webdriver with headless Chrome (my basic code below) to scrape multiple web pages.

Does anybody know the correct..... More

Print this item

  Need help creating complex loop around existing script
Posted by: CephloRhod - Apr-11-2020, 09:43 AM - Forum: General Coding Help - Replies (5)

Hi all,

I have a script used to draw rectangles over multiple features within an image, based upon the pre-extracted x/y/r pixel coordinates of sai..... More

Print this item

  find element...click() dont work
Posted by: windows11 - Apr-11-2020, 07:53 AM - Forum: Web Scraping & Web Development - Replies (6)

Hello world,
I have the next function

[python]


f1="/html/body/div[2]/main/div....section[1]"
f2="/html/body/div[2]/main/div....section[2]"..... More

Print this item

  rounding question
Posted by: DPaul - Apr-11-2020, 07:04 AM - Forum: General Coding Help - Replies (16)

Hi,

Today python (math) offers many tools to modify the float 5.49
into something else. int(), floor(), ceil()...

But i have not found an equiv..... More

Print this item

  How can I convert time-series data in rows into column
Posted by: srvmig - Apr-11-2020, 05:40 AM - Forum: Data Science - No Replies

Hi,
I have a data-set where the information is showing that certain item is sold in different date. The date mentioned in the rows as like below.
[p..... More

Print this item

  Creating a Web Browser to control Raspberry Pi
Posted by: shallanq - Apr-11-2020, 05:14 AM - Forum: General Coding Help - Replies (2)

[font=Arial, Helvetica, sans-serif]I want to create a web browser for the user to input 3 alarms. When the alarm time is equal to the current time, LE..... More

Print this item

  Looking for readily automated office tasks
Posted by: galacticAxekick - Apr-11-2020, 05:03 AM - Forum: Bar - Replies (1)

I began learning python a couple weeks ago with the intention of automating office work.

My thought process is that if an employee is paid X every ..... More

Print this item

  Are there different versions of pillow?
Posted by: Pedroski55 - Apr-11-2020, 03:53 AM - Forum: General Coding Help - Replies (6)

I made a program to watermark pdfs.
Worked great! (Past tense)

Yesterday, I also made a program to wipe out watermarks. It uses PIL. It just inspe..... More

Print this item

  Create an identification code from user input
Posted by: PeroPuri - Apr-11-2020, 03:22 AM - Forum: GUI - Replies (1)

Hi everyone,
I'm new in using python and tkinter and I'm stuck with my script, this one:
[python]from openpyxl import *
from tkinter import *


..... More

Print this item

  ranch expression
Posted by: Skaperen - Apr-11-2020, 01:37 AM - Forum: News and Discussions - No Replies

i have in mind a few commands i want to implement in which arguments or input will need to express a number or a range (possibly with an increment). ..... More

Print this item

  Add command to PushButton
Posted by: skaailet - Apr-11-2020, 01:13 AM - Forum: GUI - Replies (1)

I create a GUI usin PyQt5 Designer
and i want to know how to make that the push buttons trigger a py. script?
whats the command for that?
i alread..... More

Print this item

  Transforming nested key-tuples into their dictionary values
Posted by: ClassicalSoul - Apr-11-2020, 01:11 AM - Forum: General Coding Help - Replies (4)

Surely there has got to be a better way of doing this?


[python]
>>> d = dict(enumerate(list('abcde')))
>>> INPUT = [[(0, 1, 2), (3, 4)], [(0, 1, 3),..... More

Print this item

  Tutorial: Python and pymsql database navigation
Posted by: JayCee - Apr-10-2020, 10:51 PM - Forum: GUI - No Replies

How to display MySQL database records in alphabetical order on a PyQT5 form using Python and pymysql without depending on record ID numbers:


Hello, ..... More

Print this item

  The "FindAll" Error
Posted by: BadWhite - Apr-10-2020, 09:40 PM - Forum: General Coding Help - Replies (6)

[b]Dears,

I'm very newbie to the Python Language and I have spent some time teaching myself. Every time I face an error I try to dig for the soluti..... More

Print this item

  Value error
Posted by: jithin123 - Apr-10-2020, 09:39 PM - Forum: Data Science - Replies (2)

for data in alldata:
    if (data['Familysize']==1):
        data['isalone']=1
What is the error in this simple code?

[error]..... More

Print this item

  difference between «1 in [2] == False» and «(1 in [2]) == False»
Posted by: fbaldit - Apr-10-2020, 07:17 PM - Forum: General Coding Help - Replies (2)

Hi,
could someone here explain to me why the first boolean expression of thread subject (namely « 1 in [2] == False ») evaluates to False whereas sec..... More

Print this item

  How Do I Only Get the Year from Date and Isolate Data for Year?
Posted by: WhatsupSmiley - Apr-10-2020, 06:36 PM - Forum: Data Science - Replies (2)

Hi,

I am working with a pandas dataframe which has a date column, called Occurrence Year. I am trying to only get the year for that column (drop t..... More

Print this item

  define certain array elements+display with digits
Posted by: lukezo - Apr-10-2020, 05:03 PM - Forum: Data Science - No Replies

I have a question about Jupyter arrays. I have a zero array A0 and want to replace say (n-2)-th element with a value defined in previous line in equat..... More

Print this item

  Paramiko resource shortage error
Posted by: michu7 - Apr-10-2020, 04:04 PM - Forum: Networking - No Replies

I want to log into a router from a gateway switch and then pass commands to get the logs of the router

Made a script for the same butting receiving..... More

Print this item

  how to write offset number to disk use python?
Posted by: Pyguys - Apr-10-2020, 03:57 PM - Forum: General Coding Help - Replies (4)

please advice. here is sample of result get view disk hex with xxd in terminal. thanks.
[output]
00000000: 0000 0000 0000 0000 dddd dddd dddd dddd ..... More

Print this item

  Accessing value in Dict
Posted by: Pioden - Apr-10-2020, 02:48 PM - Forum: General Coding Help - Replies (2)

I'm tearing my hair out trying to figure out what I'm doing wrong with access values in a dictionary!
Here's a greedy algorithm for returning change ..... More

Print this item

  Adding colour to Python console
Posted by: Archangelos - Apr-10-2020, 12:57 PM - Forum: General Coding Help - Replies (4)

Hello guys,

I tried to colourise the texts in a Python consol applications but the results were a little bit weird.

Firstly, I googled the whole..... More

Print this item

  script that handle windows notifications.
Posted by: darktitan - Apr-10-2020, 12:37 PM - Forum: General Coding Help - Replies (1)

Have any one got any idea how to handle windows notifications? I have searched every where about this.
I need to just make a script that detects a wi..... More

Print this item

  I can't control the speed of the turtle object
Posted by: Hesper - Apr-10-2020, 12:25 PM - Forum: Game Development - Replies (1)

I recently began writing a simple ping pong game in python using turtle. The code seems fine its just but I can't control the speed of ball which is a..... More

Print this item

  google home page change
Posted by: Larz60+ - Apr-10-2020, 11:54 AM - Forum: Bar - No Replies

Recently (past few days), google changed the entry widget on their home page.

Used to be that there was a magnification glass icon which when click..... More

Print this item

  how to run a series of py scripts
Posted by: davidm - Apr-10-2020, 11:19 AM - Forum: General Coding Help - Replies (2)

Hi Just starting out on the python path and would like to know the best way to run all the 4 steps below in one operation (batch file in my day)

1...... More

Print this item

  Do lists of classes take up more space in memory?
Posted by: DreamingInsanity - Apr-10-2020, 11:13 AM - Forum: General Coding Help - Replies (1)

I'm going through refactoring and cleaning up my code.

At the moment, I have data written to a file to store it, then later on I take the file and cr..... More

Print this item

  mysql.connector
Posted by: Nobima - Apr-10-2020, 11:00 AM - Forum: General Coding Help - Replies (1)

In Ubuntu and Python 3.5.2 I want to connect to a Mysql-Database.

With the command "import mysql.connector" I get an ImportError "No module named '..... More

Print this item

  Python interpreter - output to file
Posted by: SectionProperties - Apr-10-2020, 08:49 AM - Forum: General Coding Help - Replies (8)

With the Python interpreter, analogous to the Command Prompt in windows, is there a way to export or write output to a file.

In looking at the code f..... More

Print this item

  Variable from notepad problem
Posted by: samuelbachorik - Apr-10-2020, 08:43 AM - Forum: General Coding Help - Replies (2)

Hello dear users, let me explain you my problem with variable.

b = open("test.txt", "r").readline()

a = input("Write")

if a == b:
print..... More

Print this item

  Python "Terminal" vs "Shell"
Posted by: SectionProperties - Apr-10-2020, 07:30 AM - Forum: General Coding Help - Replies (2)

I have installed Python 3.6.0 on my machine.

From the Windows Start menu, the options for coding seem to be as follows:
[b]- IDLE (Python 3.6 64-b..... More

Print this item

  Python Returns Hexadecimal
Posted by: BushChooks - Apr-10-2020, 06:01 AM - Forum: Data Science - Replies (1)

Within Python Simpy library, you have Resources that can be used by Processes, and at any point in time there may be Processes queuing to use a partic..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Numeric Enigma Machine 4 minutes ago idev idev General Codin...
  Variable not defined even... 8 minutes ago CoderMerv Larz60+ General Codin...
  Error (Errno 2), File upl... 35 minutes ago Username_Python1 Username_Python1 General Codin...
  Elegant way to apply each... 1 hour ago sawtooth500 sawtooth500 General Codin...
  web scraping football res... 4 hours ago terrasamba77 22206290 Web Scraping ...
  Div Class HTML selector i... 4 hours ago Artur StevenSnyder Web Scraping ...
  Sorting Steps 6 hours ago MoreMoney MoreMoney General Codin...
  m3u8 using build-in brows... Yesterday, 22:50 kucingkembar kucingkembar Web Scraping ...
  Not getting forum emails Yesterday, 18:51 sawtooth500 snippsat Board
  argparse io issue Yesterday, 18:04 pyDream snippsat General Codin...
  tkinter logo Yesterday, 15:05 menator01 menator01 Bar
Most views
  The best Prog... 355662
  Web Scraping ... 255693
  Tutorial Requ... 255144
  New Users Int... 224725
  Newbie with P... 218271
Most reputation
buran 582
snippsat 499
Larz60+ 450
Gribouillis 329
deanhystad 311
Most replies
  New Users Int... 430
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11859
buran 8085
snippsat 7068
deanhystad 6117
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
sagnikcse24 Today
Python1362 Today
StevenSnyder Today
CoderMerv Today
22206290 Today

User Panel Messages

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