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,281
» Latest member: drakhsin
» Forum threads: 38,792
» Forum posts: 175,870

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 33 Guest(s)
Google, Bing, AOL, Apple

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

 
  How do I understand "and" in a loop
Posted by: leoahum - Apr-24-2020, 04:53 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to get a better understanding for "and" in a loop. For the script below, I'm trying to get index 1, but it returns index 1 and 2.
..... More

Print this item

  My If statements are being ignored
Posted by: Macer_68 - Apr-24-2020, 03:31 AM - Forum: General Coding Help - Replies (2)

Okay, so basically I'm trying to make a planet generator that will spit out a few numbers based on a few specifications. the problem here is that I ha..... More

Print this item

  Is it possible to attach to an open existing Browser?
Posted by: tommytx - Apr-24-2020, 03:26 AM - Forum: General Coding Help - Replies (7)

I have for years been an avid script programmer using a program called Auto-It and I am sure many of you are very familiar with it... I love Python b..... More

Print this item

  Correct py got error on another windows 7
Posted by: meetinnet - Apr-24-2020, 03:00 AM - Forum: General Coding Help - Replies (8)

So sorry that I can't describe accurately in the title because I don't really understand this issue.
I have a simple Py file which simply post some d..... More

Print this item

  How can I get my post back in draft
Posted by: meetinnet - Apr-24-2020, 02:35 AM - Forum: Board - Replies (2)

I took a long time to compile a post but did not post out because the "Post Thread" button didn't work for no reason(clicked but jumped up) then I sav..... More

Print this item

  Debugging scripts basics
Posted by: bako - Apr-24-2020, 01:23 AM - Forum: General Coding Help - Replies (8)

So, I'm mainly a BASH scripter looking to jump into the Python boat.

What's the equivalent to bash -xv when running a python script? Rather than bu..... More

Print this item

  how to detect irregular circles in python with opencv
Posted by: johansigaran - Apr-24-2020, 12:59 AM - Forum: Data Science - Replies (4)

I want to create a vision system for the detection of defect in SMD capacitors, the defect is called "pinhole" and they are small holes in the surface..... More

Print this item

  Adding some __magic__ to my parser combinator.
Posted by: jeacom - Apr-23-2020, 11:21 PM - Forum: General Coding Help - No Replies

I am making a parser combinator... for the third time. This time I think it can actually do cool stuff like parsing indentation based grammars but the..... More

Print this item

  iloc
Posted by: d8a988 - Apr-23-2020, 08:57 PM - Forum: Data Science - Replies (7)

in pandas, in order to obtain the 8th row from the 4th to the 7th column,
the following command works properly:
[python](data.iloc[9, 5:8] )[/python..... More

Print this item

  Jupiter Notebook does not show output line
Posted by: Renym - Apr-23-2020, 07:25 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

Can someone help me why my Jupiter Notebook suddenly does not show the output line of code? It only shows an error message when the py..... More

Print this item

  Python animate live plotting fetching data from Mysql Table
Posted by: dhirajm - Apr-23-2020, 07:07 PM - Forum: General Coding Help - Replies (6)

I am trying to read the latest row from a table and plot the graph using animate and matplotlib in python. The table gets updated every 1 second with ..... More

Print this item

  Biodiversity
Posted by: annelewis - Apr-23-2020, 06:22 PM - Forum: Homework - Replies (5)

Hello. I need help with this piece of work.

Find the number of animals at a given distance from a specified location. Write a function LocationCou..... More

Print this item

  How to save dictionary
Posted by: sampitosh - Apr-23-2020, 06:05 PM - Forum: General Coding Help - Replies (3)

I wrote a code to load json contents. How should I modify this to save it as a dictionary or even save it as a data frame?

[python]
import json
i..... More

Print this item

  How to perform a successful login(signin) through Requests in Python
Posted by: Kalet - Apr-23-2020, 05:19 PM - Forum: Web Scraping & Web Development - Replies (1)

Solv!

Print this item

  Making .exe file that requires access to text and html files
Posted by: ClassicalSoul - Apr-23-2020, 05:03 PM - Forum: General Coding Help - No Replies

I've got a python project with the following directory:

pull.py
scrape.py
emailer.py
main.py
winter_2020.html
winter_2020.txt

I've converted the mai..... More

Print this item

  sklearn and train_test_split
Posted by: nsadams87xx - Apr-23-2020, 04:31 PM - Forum: Data Science - Replies (1)

Hey everyone,

Could someone better explain train_test_split and what it's actually doing?

So from my understanding:

[python]X_train, X_test, ..... More

Print this item

  One-time actions when iterating
Posted by: ClassicalSoul - Apr-23-2020, 04:20 PM - Forum: General Coding Help - Replies (1)

Please note I've made a substantive edit to my original post

Suppose you had the following code, where x is an iterable:

[python]
for i in ..... More

Print this item

  GutHub Connection Error
Posted by: sridhar - Apr-23-2020, 03:08 PM - Forum: General Coding Help - No Replies

When i tried to list my Repo in Organization Github , I'm getting authentication error.


[python]from github import Github
g = Github("<Access To..... More

Print this item

  Drawing wheels in a turtle
Posted by: woehh - Apr-23-2020, 02:15 PM - Forum: Homework - Replies (1)

Hi,

I have to use the turtle to make the drawing below, I don't know how to go about it:
[Image: xg0k7hk.png]

Thank you f..... More

Print this item

  I cannot figure out this error
Posted by: ErnestTBass - Apr-23-2020, 02:04 PM - Forum: General Coding Help - Replies (8)

I am unable to make the python code run that I have found at this site:

https://github.com/Currie32/Predicting-t...-Headlines

The ..... More

Print this item

  Saving a file to a specific location
Posted by: finndude - Apr-23-2020, 11:39 AM - Forum: General Coding Help - Replies (13)

Hi,

Im using this code to create a file with the username as the title and the password inside the file.

[python]

user_details = open(new_use..... More

Print this item

  poisson regression
Posted by: d8a988 - Apr-23-2020, 11:25 AM - Forum: Data Science - Replies (2)

I am working with poisson regression with pandas
and I have a question about this specific command

poisson(y,x)
.
with y,x being respe..... More

Print this item

  Python Fullscreen
Posted by: finndude - Apr-23-2020, 11:03 AM - Forum: General Coding Help - Replies (5)

Hi all,

i was just wondering if there is any code that will automatically open the python shell in full screen when I run the program

I am not o..... More

Print this item

  Saving to a CSV
Posted by: finndude - Apr-23-2020, 10:56 AM - Forum: General Coding Help - Replies (2)

Hi,

I have this section fo code that is shown below.

[python]

print ("Time for the results!!!") #prints time for results
time.sleep(1) #adds..... More

Print this item

Big Grin python download manager with progressbar (not gui)
Posted by: ghostblade - Apr-23-2020, 10:46 AM - Forum: General Coding Help - Replies (1)

I am trying to make a python program to download files . (simple download manager)

And i want it to be simple and it should have a progressbar ,als..... More

Print this item

  Getting error "TypeError: 'int' object is not callable" while using ylim
Posted by: maxprime_bhisham - Apr-23-2020, 09:44 AM - Forum: General Coding Help - Replies (2)

Hi I am getting error "TypeError: 'int' object is not callable" while using ylim function in matplotlib. I want to set limit of x and y axis. my code ..... More

Print this item

  Automatic calculation - Remove initial values
Posted by: Particledust - Apr-23-2020, 09:29 AM - Forum: GUI - Replies (1)

I have created a GUI where you can enter values (x values) manually. If you enter a value x1, trace-method will automatically calculate f(x1)=x1^2=y1 ..... More

Print this item

  Finished CookBook Project
Posted by: menator01 - Apr-23-2020, 09:29 AM - Forum: Code Review - No Replies

Just finished my cookbook project using tkinter.
I have it connected to a public database. Unfortunately I do not have fiber optic so my upload speed ..... More

Print this item

  Align the width of the entrys with the column captions
Posted by: Particledust - Apr-23-2020, 08:32 AM - Forum: GUI - No Replies

I have created a table which consists of column captions (surname, first name, ..) and entries. Since the table has several rows I added a scrollbar t..... More

Print this item

  Issue with 2 version of python (2.6.6 and 2.7) with pip
Posted by: himupant94 - Apr-23-2020, 08:23 AM - Forum: News and Discussions - Replies (2)

I have default python version 2.6.6 and pip is working with that. But when I installed python2.7, it was installed in different path( /usr/local/bin/p..... More

Print this item

  Checking if an exe is in memory
Posted by: ncalh2331 - Apr-23-2020, 05:44 AM - Forum: General Coding Help - No Replies

Hello,

I test antivirus software. Basically I am trying to write an python script to automatically execute files and then check if they successfull..... More

Print this item

  List structure lost when multiplying
Posted by: Protonn - Apr-23-2020, 02:44 AM - Forum: General Coding Help - Replies (2)

Why I get different format of results when I am multiplying one item of the list and the whole list?


I use triplets of numbers for RGB col..... More

Print this item

  vlc module error
Posted by: pythonprogrammer - Apr-23-2020, 01:03 AM - Forum: General Coding Help - Replies (1)

Getting this error when i run the program below I am trying to play a youtube video: AttributeError: module 'vlc' has no attribute 'Instance'. How do ..... More

Print this item

  linking with excel
Posted by: mhmdbarazi - Apr-22-2020, 11:36 PM - Forum: General Coding Help - Replies (1)

hello everyone
I linked my python code with an excel sheet, I inserted the library and the compiler could read values from the sheet.
but the proble..... More

Print this item

  Saving code
Posted by: mortenvs - Apr-22-2020, 11:20 PM - Forum: General Coding Help - Replies (1)

Hi!

I am keen to know if there is a code in python that saves your script automatically (as an ipynb file) after your program is finished running. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 2 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 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... 579229
  Tutorial Requ... 512026
  Web Scraping ... 442160
  Newbie with P... 386283
  New Users Int... 379359
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
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20

User Panel Messages

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