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,495
» Latest member: Sanjayk
» Forum threads: 37,264
» Forum posts: 169,385

Full Statistics

Online Users
There are currently 376 online users.
» 2 Member(s) | 369 Guest(s)
Bing, Google, Applebot, Yandex, menator01

Latest Threads
A Programmer Named Tim
Forum: Board
Last Post: sawtooth500
58 minutes ago
» Replies: 2
» Views: 144
Numeric Enigma Machine
Forum: General Coding Help
Last Post: idev
1 hour ago
» Replies: 8
» Views: 125
Variable not defined even...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 3
» Views: 70
Error (Errno 2), File upl...
Forum: General Coding Help
Last Post: Username_Python1
2 hours ago
» Replies: 0
» Views: 108
Elegant way to apply each...
Forum: General Coding Help
Last Post: sawtooth500
3 hours ago
» Replies: 4
» Views: 128
web scraping football res...
Forum: Web Scraping & Web Development
Last Post: 22206290
5 hours ago
» Replies: 2
» Views: 661
Div Class HTML selector i...
Forum: Web Scraping & Web Development
Last Post: StevenSnyder
6 hours ago
» Replies: 1
» Views: 453
Sorting Steps
Forum: General Coding Help
Last Post: MoreMoney
8 hours ago
» Replies: 11
» Views: 313
m3u8 using build-in brows...
Forum: Web Scraping & Web Development
Last Post: kucingkembar
Yesterday, 10:50 PM
» Replies: 0
» Views: 65
Not getting forum emails
Forum: Board
Last Post: snippsat
Yesterday, 06:51 PM
» Replies: 2
» Views: 94

 
  pandas index not updating please help
Posted by: bntayfur - Jun-07-2020, 10:57 PM - Forum: General Coding Help - No Replies

I can't get rid of the old index, still shows the old index and the index title is on top of the old one. what might be the reason for it? Thanks :) t..... More

Print this item

  Variable Not Updating
Posted by: NectDz - Jun-07-2020, 10:41 PM - Forum: General Coding Help - Replies (1)

Hello, Im having a problem with my function. It is supposed to out put '01' if the user only puts 1 digit but when I call it in the engine function it..... More

Print this item

  better than discord
Posted by: goodsignal - Jun-07-2020, 10:35 PM - Forum: Bar - Replies (4)

Wow! I'm brand new here and already this place seems so much better than the python discord group. The generally thoughtful responses and an easily se..... More

Print this item

  Who enjoys Py RegEx? re.sub() isn't working
Posted by: goodsignal - Jun-07-2020, 10:11 PM - Forum: General Coding Help - Replies (4)

From all I've read, these two functions should produce the same results, given a regex pattern with two groups. I'd like to know if I'm using [b]re.su..... More

Print this item

  Using OpenPyXL How To Read Entire Column Into Dictionary
Posted by: jo15765 - Jun-07-2020, 09:23 PM - Forum: General Coding Help - Replies (1)

Using openpyxl how can I read every row in the last column (excluding the first row for the header) into a dictionary?

Print this item

  anytree implicit node?
Posted by: gw1500se - Jun-07-2020, 08:42 PM - Forum: General Coding Help - No Replies

I have a weird problem with anytree. I defined a node thus:

Node(str(sensor.target),parent=tgt,index=0,action='target')
Note that i..... More

Print this item

  Assigning Value To Period Seperated List
Posted by: jo15765 - Jun-07-2020, 08:22 PM - Forum: General Coding Help - Replies (6)

I have period separated list of values, like this

1.1.1.1
1.2.1.1
1.1.2.1
etc and these can be duplicated. I need a way to as..... More

Print this item

  Looking for some advice about where to start.
Posted by: Wierbowski - Jun-07-2020, 06:26 PM - Forum: General Coding Help - Replies (1)

Hello everyone!
I'm new here and fairly new to Python and programming, have been trying to read alot the past 2 weeks.
I was just wondering if any..... More

Print this item

  A Tkinter Widget-Templater/GUI Builder for Linux/Mac
Posted by: rootVIII - Jun-07-2020, 06:23 PM - Forum: Code sharing - Replies (2)

I made a pretty neat project for templating a Tkinter GUI for Python3: VisiPy

The front end itself is m..... More

Print this item

  Unable to import data from Stata-press website
Posted by: Salahaddin - Jun-07-2020, 06:01 PM - Forum: Data Science - Replies (1)

Dear All,

I am new to python. I am trying to replicate code in https://www.statsmodels.org/dev/examples...gression.h..... More

Print this item

  create an array of each line of text
Posted by: macieju1974 - Jun-07-2020, 05:05 PM - Forum: General Coding Help - Replies (7)

Hi,
I have the following text file:
... here's a fragment
I wrote a code in python that reads data from this file.
[python]file = open('raport.tx..... More

Print this item

  Loading large .csv file with pandas
Posted by: hangejj - Jun-07-2020, 03:56 PM - Forum: General Coding Help - Replies (2)

Hello, I am trying to load a .csv file that has around 3 million lines. This file has a delimiter that is "|" due to commas are in the needed data so..... More

Print this item

  My attemp at the Tic Tac Toe
Posted by: menator01 - Jun-07-2020, 02:50 PM - Forum: Code sharing - No Replies

As always, I welcome input. It's easy to win. I need to work on the logic, if there ar two x's in a row. Give it a random choice picking the slot or a..... More

Print this item

  Designing a "game" loop api
Posted by: pitosalas - Jun-07-2020, 02:47 PM - Forum: General Coding Help - Replies (2)

I would like to create a structure sort of like "Processing" in Java, where someone writes a short python script with the following structure:

[pyt..... More

Print this item

  Article Extraction - Wordpress
Posted by: svzekio - Jun-07-2020, 12:33 PM - Forum: Web Scraping & Web Development - Replies (7)

Hi everyone!
Please be warned, I am a doctoral candidate who realized that there is no way around learning how to use Python, but I have come accros..... More

Print this item

  Iterating through lists with different letter cases
Posted by: fatherted99 - Jun-07-2020, 12:32 PM - Forum: General Coding Help - Replies (2)

[python]


menu = []
menu.append(["egg", "spam", "bacon"])
menu.append(["egg", "sausage", "bacon"])
menu.append(["egg", "spam"])
menu.append(["..... More

Print this item

  Saving Excel workbook file with dataframe names
Posted by: Biplab1985 - Jun-07-2020, 12:20 PM - Forum: General Coding Help - No Replies

Hi Guys,
I am exporting multiple dataframes to excel template - GMC_template.xlsx which has formulas for further calculations. the below codes works ..... More

Print this item

  Pythonic and scaleable way to handle thousand of API-call per minute?
Posted by: Fredrick - Jun-07-2020, 10:34 AM - Forum: News and Discussions - No Replies

Hey guys!

I'm fairly new to python, but I've created a script that tracks users attacks in an online game through the game's API. Due to the pace o..... More

Print this item

  day HIGH/LOW studies on 1-min S&P futures data.
Posted by: ptcm - Jun-07-2020, 09:48 AM - Forum: Data Science - Replies (3)

I am trying to do a day HIGH/LOW studies on 1-min S&P futures data.

I have 2 questions.

1) How could I print the day HIGH / LOW for each day
2)..... More

Print this item

  ModuleNotFoundError: No module named 'pywin32_bootstrap'
Posted by: Roguestate - Jun-07-2020, 09:01 AM - Forum: General Coding Help - Replies (4)

when I try to pip install matplotlib I get the following error. Moreover, when I try to import matplotlib, it works but when I try and import matplotl..... More

Print this item

  Comparisons with functions
Posted by: menator01 - Jun-07-2020, 08:00 AM - Forum: General Coding Help - Replies (1)

If I have a function with some values that I defined in the function, how would i go about getting those values out to be check against.
I know I can..... More

Print this item

  Create process to control python script
Posted by: kobibi11 - Jun-07-2020, 07:49 AM - Forum: Homework - Replies (5)

Hello you all:

I have a question with which approach and resources I have to make the following task:

There is a script in my Ubuntu machine tha..... More

Print this item

  Question on "define function"; difference between return and print
Posted by: extricate - Jun-07-2020, 07:20 AM - Forum: Homework - Replies (10)

Hi there,

Can someone enlighten me on the diff between print and return when defining function. I get the same output for both, albeit with the apo..... More

Print this item

  filling and printing numpy arrays of str
Posted by: pjfarley3 - Jun-07-2020, 07:07 AM - Forum: General Coding Help - Replies (4)

I am new to python but experienced in several other languages. I do not understand yet why numpy.full does not fill an array of strings with the stri..... More

Print this item

  Assistance with a Python Script
Posted by: Nasho23 - Jun-07-2020, 07:06 AM - Forum: Web Scraping & Web Development - Replies (13)

I am an Ex Service Veteran and an Aged Pensioner, 86 years of Age. I am a bit too old to start learning how to use Python, which, I have been advised ..... More

Print this item

  Python Webscraping with a Login Website
Posted by: warriordazza - Jun-07-2020, 07:04 AM - Forum: Web Scraping & Web Development - No Replies

Looking for some help scraping a website that requires a login. Essentially the website is to get trading card prices (that I believe are from ebay) b..... More

Print this item

  Pyhton code help from head first with python
Posted by: Shaikat_99 - Jun-07-2020, 06:34 AM - Forum: General Coding Help - Replies (3)

I am a beginner learning python . i am following the book "head first python ". In that in chapter of creating a webapp , i am facing a problem as i ..... More

Print this item

  Pack integer values as single bytes in a struct
Posted by: bhdschmidt - Jun-07-2020, 06:16 AM - Forum: General Coding Help - Replies (3)

Hello,

I try to put 128 values into a struct to write this data of the struct to a file. This is my code:

[python]
import struct

values = []..... More

Print this item

  square root of 6 input numbers
Posted by: mrityunjoy - Jun-07-2020, 05:46 AM - Forum: General Coding Help - Replies (3)

Hi,

I want to find sqrt of 6 input numbers and append the result in lst (an empty array), Not able to pass multiple input in a function

[python]..... More

Print this item

  Add food choice to menu
Posted by: extricate - Jun-07-2020, 05:35 AM - Forum: Homework - Replies (4)

Hi there,

I'm just trying to apply what I've learned so far. I just thinking of a way to add food choice to the current menu. I want my code to allow..... More

Print this item

  Criticize my TIC TAC TOE game
Posted by: modeezy23 - Jun-07-2020, 01:17 AM - Forum: Code Review - Replies (3)

Hi! I'm a bit new to python. I've been learning on my own for about 2-3weeks. Here is a typical TIC-TAC-TOE game that I made.
PLEASE LET ME KNOW WHA..... More

Print this item

  lists in tkinter
Posted by: erock - Jun-06-2020, 10:14 PM - Forum: General Coding Help - Replies (3)

Hi,
totaly new to this python stuff
I have 2 lists
i want to be able to randomly pick one item from each list one at a time
this code doesen't do ..... More

Print this item

Question Defining a self made module's function to interact with the main .py variables?
Posted by: Gilush - Jun-06-2020, 09:54 PM - Forum: GUI - Replies (9)

I'm using Tkinter. (self learner)
My goal is to display the function's output in the main .py text widget.
How can I make the function send the out..... More

Print this item

  Longest sequence of repeating integers in a numpy array
Posted by: Cricri - Jun-06-2020, 09:45 PM - Forum: General Coding Help - Replies (5)

Hello,

Python (coding in general) newbie, so please forgive me if the question is naive/ I did do a search before asking, but I have not found an a..... More

Print this item

  Need help with code - thanks!
Posted by: card51shor - Jun-06-2020, 07:46 PM - Forum: Homework - Replies (16)

Hey guys I have tried for days and can't figure out why this isn't adding anything to my users table. I'm not getting any errors - it just doesn't do ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A Programmer Named Tim 58 minutes ago Angelical sawtooth500 Board
  Numeric Enigma Machine 1 hour ago idev idev General Codin...
  Variable not defined even... 1 hour ago CoderMerv Larz60+ General Codin...
  Error (Errno 2), File upl... 2 hours ago Username_Python1 Username_Python1 General Codin...
  Elegant way to apply each... 3 hours ago sawtooth500 sawtooth500 General Codin...
  web scraping football res... 5 hours ago terrasamba77 22206290 Web Scraping ...
  Div Class HTML selector i... 6 hours ago Artur StevenSnyder Web Scraping ...
  Sorting Steps 8 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...
Most views
  The best Prog... 355787
  Web Scraping ... 255785
  Tutorial Requ... 255210
  New Users Int... 224731
  Newbie with P... 218371
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
Sanjayk Today
sagnikcse24 Today
Python1362 Today
StevenSnyder Today
CoderMerv Today

User Panel Messages

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