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,658
» Latest member: mihir_patel535
» Forum threads: 37,402
» Forum posts: 169,975

Full Statistics

Online Users
There are currently 381 online users.
» 0 Member(s) | 373 Guest(s)
Facebook, Google, Bing, Baidu, Apple, Mojeek, AOL

Latest Threads
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: snippsat
20 minutes ago
» Replies: 8
» Views: 121
using mutable in function...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 4
» Views: 193
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 4
» Views: 102
Discord - Webcrapping fro...
Forum: Web Scraping & Web Development
Last Post: Tolska
5 hours ago
» Replies: 0
» Views: 41
Low code b2b e-commerce s...
Forum: Web Scraping & Web Development
Last Post: abdlwafitahiri
5 hours ago
» Replies: 2
» Views: 388
How to edit Tkinter Minim...
Forum: General Coding Help
Last Post: kucingkembar
6 hours ago
» Replies: 7
» Views: 131
TypeError: '>' not suppor...
Forum: Data Science
Last Post: Anouar
8 hours ago
» Replies: 0
» Views: 63
How To Make A PyQt5 Progr...
Forum: GUI
Last Post: menator01
Today, 02:18 AM
» Replies: 1
» Views: 121
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
Yesterday, 07:40 PM
» Replies: 0
» Views: 110
New on python. Needs help...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:47 PM
» Replies: 1
» Views: 128

 
  Help with autostart
Posted by: homac - May-22-2021, 06:44 AM - Forum: General Coding Help - Replies (1)

Have a question about autostarting a screen change. The command below works perfectly...

xrandr --output HDMI-1 --scale-from 1600x960 --display :0..... More

Print this item

  arduino and colaboratory with wifi
Posted by: rithikreddypalla - May-22-2021, 06:21 AM - Forum: General Coding Help - No Replies

Does anyone have an idea into how to read and write data to google colaboratory from Arduino with wifi?
Thank You.

Print this item

  Selecting the first occurrence of a duplicate
Posted by: knight2000 - May-22-2021, 03:10 AM - Forum: General Coding Help - Replies (8)

Hi all,

I'm new to coding and thought I would try and practice a little website scraping.

I've come across an instance where an element (?) I'..... More

Print this item

  Looping/Scheduling webelement select
Posted by: Dredd - May-22-2021, 01:58 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi guys,

I am wanting help with either turning this below code into either a For statement so I can ultimately create a loop for hourly or scheduli..... More

Print this item

  How to resolve Index Error in my code?
Posted by: codify110 - May-21-2021, 10:59 PM - Forum: General Coding Help - Replies (6)

This is the code
[code]

MAX, MIN = 1000, -1000


# Returns optimal value for current player
# (Initially called for root and maximizer)
def minimax(..... More

Print this item

  Set Text in Open Dialog Box
Posted by: giddyhead - May-21-2021, 06:31 PM - Forum: General Coding Help - No Replies

Hello everyone,

I am trying send text to the File Name box and then click the button open. It is the textbox from the open dialog box you get when ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using regex for type validation
Posted by: ranbarr - May-21-2021, 04:53 PM - Forum: Homework - Replies (5)

Hi everyone,
I'm stating to learn regex and I'm trying to solve a problem using it.
I need to write a function that gets a file and need to check so..... More

Print this item

  dictionary
Posted by: coral_raha - May-21-2021, 08:39 AM - Forum: General Coding Help - Replies (5)

hi i have this code with 4 files f.text, n.text, j.text, a.text
[python]

import os
currentPath =__file__

directoryPath = os.path.dirname(cur..... More

Print this item

  Dictionaries
Posted by: ChloeH - May-21-2021, 03:03 AM - Forum: General Coding Help - Replies (2)

I need help with looping through the values of a dictionary.
[python]
def combine_dict(year_dict, headers):
borough={}
i=0
for x in ..... More

Print this item

  common element in some lists
Posted by: Skaperen - May-21-2021, 12:50 AM - Forum: News and Discussions - Replies (4)

i am wanting a function that does this. i get a list of list (any type sequence of any type sequences). it can even be sets (of course the inner con..... More

Print this item

  Microsoft Funds a Team with Guido van Rossum to Double the Speed of Python
Posted by: Larz60+ - May-20-2021, 11:48 PM - Forum: News and Discussions - No Replies

Interesting: https://developers.slashdot.org/story/21...-of-python

Print this item

  is an f-sting not a literal?
Posted by: Skaperen - May-20-2021, 10:50 PM - Forum: News and Discussions - Replies (7)

is an f-sting not a literal? it fails in ast.literal_eval():
[output]
lt2a/forums /home/forums 4> py
Python 3.6.9 (default, Jan 2..... More

Print this item

  Can't install Python 2.6.9 with Pyenv
Posted by: Whyze - May-20-2021, 07:39 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to install Python 2.6.9 in Pyenv 1.2.27. I used Doctor to check if everything is in working order. It says I'm ready to build Python..... More

Print this item

  Convert several columns to int in dataframe
Posted by: Krayna - May-20-2021, 05:31 PM - Forum: Data Science - Replies (2)

I have imported data into dataframe. Some columns have been formatted as float64 but when I try to convert to int, I get a ValueError and 'cannot conv..... More

Print this item

  Import multiple CSV files into pandas
Posted by: Krayna - May-20-2021, 04:56 PM - Forum: Data Science - No Replies

Hello,
I have an iPython notebook which I am using. I am attempting to import several CSV files in one go - each into an individual dataframe. Howev..... More

Print this item

  fuzzy regression in python
Posted by: mohamed_L - May-20-2021, 03:33 PM - Forum: Data Science - No Replies

hello there

I just want to ask if anybody knows how to make a fuzzy regression in python or have an article explaining it because I am stuck trying..... More

Print this item

  Making certain texts stop at a certain time
Posted by: Arikiu - May-20-2021, 02:52 PM - Forum: General Coding Help - Replies (6)

Hello , i'm trying to create a loop with 3 text messages . All of them run in the same time using just a time.sleep to create a pause but i don't kno..... More

Print this item

  Checking if string starts the same but end differently using re module
Posted by: ranbarr - May-20-2021, 02:21 PM - Forum: Homework - Replies (1)

Hi!
Im learning the re module and having a difficulties with the writing of it so Ill be happy to have some explanations.
I have a file with a lot o..... More

Print this item

  help on django issue
Posted by: jip31 - May-20-2021, 01:37 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi
I follow the tuto below in order to display a simple "hello" message with django in windows
but when I launch my web page from http://127.0.0.1:800..... More

Print this item

  cannot print DateEntry date
Posted by: euras - May-20-2021, 12:57 PM - Forum: GUI - Replies (4)

Can someone help me with DateEntry, printing a value? Now I'm stuck on this part and for some reason .get_date() does not work :/
[python]import tkin..... More

Print this item

  readline inside and outside functions
Posted by: paul18fr - May-20-2021, 12:33 PM - Forum: General Coding Help - Replies (2)

Hi

Because of the size of files I'm working on (often more than a billion lines for example), and the number of different types of data to be recor..... More

Print this item

  Unable to upload files to my thread?
Posted by: MDRI - May-20-2021, 03:11 AM - Forum: Board - Replies (2)

Thanks for reviewing my threads.

I opened a new thread, where I tried to upload .xml, .xsd files. It is not allowing to upload.

It shows the att..... More

Print this item

  IWhat is the cause to get XPath in weird format using Python?
Posted by: MDRI - May-20-2021, 02:56 AM - Forum: General Coding Help - Replies (7)

IWhat is the cause to get XPath in weird format using Python?
==============================================

Thanks for reviewing this thread.
..... More


Attached Files

.xml   W2TestfileS.xml (Size: 2.73 KB / Downloads: 355)
.zip   IRSW2.zip (Size: 2.71 KB / Downloads: 298)
Print this item

  expression vs statement
Posted by: Skaperen - May-20-2021, 12:35 AM - Forum: News and Discussions - Replies (1)

given a string with a snippet of Python code, is there an easy way to determine if it is an expression or a statement or group of statements like a sc..... More

Print this item

  Problem with for loop
Posted by: Intellectual11 - May-19-2021, 08:55 PM - Forum: Homework - Replies (5)

I am doing a homework question where it's asking me to print a word backwards. So far I have the following code:
[python]#My name

word=str(input("..... More

Print this item

  Python and MySql
Posted by: ogautier - May-19-2021, 08:45 PM - Forum: General Coding Help - Replies (8)

Hello,

Currently I have a database (MySql) with a table called monedas where I have the following fields, simbolo and decimales.

Ae I am connec..... More

Print this item

  Importing issues with base class for inheritance
Posted by: riccardoob - May-19-2021, 12:44 PM - Forum: General Coding Help - Replies (5)

Hi, I'm trying to make a class that inherits from another one. The problem I'm having is related to imports, I'll try to explain as best as I can.

..... More

Print this item

  Finding how many times substring is in a string using re module
Posted by: ranbarr - May-19-2021, 12:34 PM - Forum: Homework - Replies (4)

Hi all,
Im learning now the re module and I'm trying to use it to find how many times the words "i" and "i'm" in the song Party Rock Anthem.
I chang..... More

Print this item

  Selenium does not keep the table?
Posted by: euras - May-19-2021, 11:34 AM - Forum: Web Scraping & Web Development - Replies (1)

I scrape a table with Selenium. When I found the match, I click on the row, which navigates me to the next page. I do a couple of things in that page,..... More

Print this item

  getting links from webpage and store it into an array
Posted by: apollo - May-19-2021, 11:00 AM - Forum: Web Scraping & Web Development - Replies (1)

dear Python-experts Smile


first of all: i hope that you are all right and everything goes well at your site.


I am currently a..... More

Print this item

  Scraping lender data from Ren Ren Dai website using Python. I will pay for that 200$
Posted by: Hafedh_2021 - May-18-2021, 07:10 PM - Forum: Web Scraping & Web Development - Replies (1)

Dear all,
I want to scrap data from the a website. The data relates to lender details. I want the data for data analysis purposes. So I do not want..... More


Attached Files

.xlsx   Sample.xlsx (Size: 30.14 KB / Downloads: 291)
Print this item

  Problem with code
Posted by: JohnSkull - May-18-2021, 06:43 PM - Forum: Game Development - No Replies

Good day, i was wondering could anybody help me with my code, so i am creating a pong game with a start menu. When start is clicked i want the pong ga..... More

Print this item

  [SOLVED] Good way to handle input args?
Posted by: Winfried - May-18-2021, 06:00 PM - Forum: General Coding Help - Replies (2)

Hello,

My script could be called with either discrete filenames or a glob:

[python]#myscript.py file1.txt file2.txt
#myscript.py *.txt

for i..... More

Print this item

  help on pandas circular import
Posted by: jip31 - May-18-2021, 11:39 AM - Forum: General Coding Help - Replies (2)

hi

i try to test this basic code but i have the message AttributeError: partially initialized module 'pandas' has no attribute 'Series' (most likel..... More

Print this item

  all i want to do is count the lines in each file
Posted by: Skaperen - May-18-2021, 06:21 AM - Forum: General Coding Help - Replies (13)

all i want to do is count the lines in each file but there are strange binary bytes or older ISO codes.

[output]
Traceback (most recent call last)..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ModulNotFoundError matplo... 20 minutes ago WicardBohnam snippsat General Codin...
  using mutable in function... 5 hours ago akbarza deanhystad General Codin...
  Why am I getting this err... 5 hours ago Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... 5 hours ago Tolska Tolska Web Scraping ...
  Low code b2b e-commerce s... 5 hours ago makc abdlwafitahiri Web Scraping ...
  How to edit Tkinter Minim... 6 hours ago kucingkembar kucingkembar General Codin...
  TypeError: '>' not suppor... 8 hours ago Anouar Anouar Data Science
  How To Make A PyQt5 Progr... Today, 02:18 rcwildabeast menator01 GUI
  Problem Converting Tradin... Yesterday, 19:40 kralxs kralxs General Codin...
  New on python. Needs help... Yesterday, 18:47 jeromep deanhystad General Codin...
  Can provide python tutori... Yesterday, 17:00 Zahiba_Siddiqui carellapansullon Jobs
Most views
  The best Prog... 414118
  Web Scraping ... 304819
  Tutorial Requ... 294173
  Newbie with P... 252150
  Thread remain... 234477
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11873
buran 8090
snippsat 7091
deanhystad 6221
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
mihir_patel535 Today
Tolska Today
Anouar Today
WillieNelson Today
JoshEdgar Today

User Panel Messages

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