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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 11,892
» Latest member: shreyas
» Forum threads: 22,493
» Forum posts: 105,260

Full Statistics

Online Users
There are currently 106 online users.
» 1 Member(s) | 105 Guest(s)
sweateraholic

Latest Threads
converting dataframe to i...
Forum: General Coding Help
Last Post: glennford49
1 hour ago
» Replies: 0
» Views: 45
IDLE is not opening pytho...
Forum: Board
Last Post: sweateraholic
2 hours ago
» Replies: 0
» Views: 53
Does IDLE have interface ...
Forum: GUI
Last Post: miguelteixeira
3 hours ago
» Replies: 0
» Views: 23
RockPaperScissor program ...
Forum: Homework
Last Post: SheeppOSU
3 hours ago
» Replies: 3
» Views: 44
How to add multiple frame...
Forum: GUI
Last Post: Dandy_Don
4 hours ago
» Replies: 2
» Views: 32
Pyshark filter message
Forum: Networking
Last Post: ziv_t
4 hours ago
» Replies: 0
» Views: 21
TypeError list indices mu...
Forum: Web Scraping & Web Development
Last Post: Nuwan16
4 hours ago
» Replies: 0
» Views: 31
Building a script to chec...
Forum: General Coding Help
Last Post: mightyn00b
4 hours ago
» Replies: 1
» Views: 76
User interface for stock ...
Forum: GUI
Last Post: joe_momma
4 hours ago
» Replies: 1
» Views: 42
Feedback on my first solo...
Forum: Code Review
Last Post: joe_momma
4 hours ago
» Replies: 1
» Views: 102

 
  converting dataframe to int numpy array
Posted by: glennford49 - 1 hour ago - Forum: General Coding Help - No Replies

i have a text file with 3 lines :
1,2,3
1,2,4
1,2,5


[python]import pandas as pd
import numpy as np
df= pd.read_fwf("sample.txt",header =None..... More

Print this item

  IDLE is not opening python3.8
Posted by: sweateraholic - 2 hours ago - Forum: Board - No Replies

I installed Python3.8 on a LINUX Mint OS in the terminal, but IDLE still opens Python version 3.6.9. How do I get IDLE to open Python 3.8. I can open ..... More

Print this item

  Does IDLE have interface elements available for assistive technologies (AT-SPI2)?
Posted by: miguelteixeira - 3 hours ago - Forum: GUI - No Replies

I have code that uses pyatspi to get events from programs interfaces, however, it doesn't capture anything from IDLE. Is IDLE not accessible through a..... More

Print this item

  Pyshark filter message
Posted by: ziv_t - 4 hours ago - Forum: Networking - No Replies

Hi ,

Im using:
file_capture = pyshark.FileCapture(file_name,
display_filter=display_filter, ..... More

Print this item

  TypeError list indices must be integers or slices not str
Posted by: Nuwan16 - 4 hours ago - Forum: Web Scraping & Web Development - No Replies

when i try this

[python]import scrapy
from extruct.w3cmicrodata import MicrodataExtractor

class AppleSpider(scrapy.Spider):
name =..... More

Print this item

  RockPaperScissor program while loop malfunction
Posted by: tonyliang19 - 4 hours ago - Forum: Homework - Replies (3)

[python]
import random
def introduction():
intro = "Welcome to the game of Rock, Paper, Scissors" + "\n" "This is a final project created by the A..... More

Print this item

  Building a script to check size of file upon creation
Posted by: mightyn00b - 5 hours ago - Forum: General Coding Help - Replies (1)

Greetings, I built a script that checks the size of a file upon creation, but the value is definitely inaccurate (the file is not empty and thus shoul..... More

Print this item

  Django finance tracker
Posted by: mkb3112 - 6 hours ago - Forum: Web Scraping & Web Development - No Replies

I would love to have feedback on my idea. Thanks in advance :)

First of all: Im relatively new to Python and Programming in general. I did a lot of..... More

Print this item

  Get list of Video Device in python on Windows machine
Posted by: Michal - 7 hours ago - Forum: General Coding Help - Replies (1)

I am working on a software, where an USB video device is used. I use [python]cv2.VideoCapture()[python] function from the openCV library in the softwa..... More

Print this item

  Help removing asterisk item in a nested list.
Posted by: bmcguire - 8 hours ago - Forum: General Coding Help - Replies (1)

I have a script that successfully accesses a network switch and retrieves a list of vlans and associated ports.
The live ports have an asterisk at th..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'float'
Posted by: DimosG - 8 hours ago - Forum: General Coding Help - Replies (2)

Hi guys I'm having a problem with an assignment in my class we are now on using fullmatrix and sparce and I get this error in my code :

[python]cl..... More

Print this item

  How to add multiple frames to main window
Posted by: Dandy_Don - 8 hours ago - Forum: GUI - Replies (2)

I am stumped. I can't figure out how to add multiple frames to the main window in a GUI....

I have a system that uses multiple winches to raise/lo..... More

Print this item

  Code stops after 20min+ with no output
Posted by: JacobK - 11 hours ago - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm trying to get the 'src' from 500 profile pictures on Transfermarkt. I've managed to get the URL:s for every player in a list, but when I'm ..... More

Print this item

  Supreme Cop Bot
Posted by: MASO - Yesterday, 02:05 PM - Forum: General Coding Help - Replies (2)

Hi there!
I am python beginer and I am stuck on this new project. Cry Big Grin
I was trying to make basic function for my "bot".

..... More

Print this item

  Drag and Move window from menubar
Posted by: WBPYTHON - Yesterday, 11:49 AM - Forum: GUI - Replies (3)

Hello,

I got rid of Os windows frame because we cannot change colors. (I found clues on how to do it with C++ but can't find python's code).

Proble..... More

Print this item

  Find Dynamic Input Element Class Problem
Posted by: wazacko - Yesterday, 11:46 AM - Forum: Web Scraping & Web Development - No Replies

Hi All

I'm new to this group and trust me I have searched high and low to get this answer but now having to resort to asking for help.

I need t..... More

Print this item

  Help! Lists
Posted by: bwdu - Yesterday, 11:44 AM - Forum: General Coding Help - Replies (4)

Hi everybody! This is my code;

import stdio
import sys
import random

SUITS = ["Clubs", "Diamonds", "Hearts", "Spades"]
RANKS = ["2", "3", "4"..... More

Print this item

  Issue installing selenium
Posted by: sayyedkamran - Yesterday, 10:33 AM - Forum: General Coding Help - Replies (2)

I am trying to install selenium with pi. It give error. My system configurations
and error details are as under:

System Configurations:
O/S: Win..... More

Print this item

  ttk.Checkbutton set on/off
Posted by: ifigazsi - Yesterday, 10:12 AM - Forum: GUI - Replies (3)

Hi!

I have a bunch of ttk.Checkbuttons, and i want to select and deselect all.
I found a solution, but there must be a better/general one.

Than..... More

Print this item

  XLSX file with multiple sheets to josn file
Posted by: ovidius - Yesterday, 09:40 AM - Forum: Data Science - Replies (1)

Hello

I want to import data in Arangodb so I need .json files. All of my data are in .xlsx file (big ones 10 to 20 MB each) with 25 to 35 sheets ea..... More

Print this item

  How to change directory to any folder where python is not installed ?
Posted by: firashelou - Yesterday, 09:34 AM - Forum: General Coding Help - Replies (4)

Hello everyone,
I am using Python3.6.3 on a Windows OS
what i would like know after searching and not finding the right answer on google, how to mak..... More

Print this item

  Unexpected output
Posted by: JacobK - Yesterday, 07:20 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi!

I'm having problems with my code. I've managed to scrape a player ID for 500 football players, which I then want to add to a URL and save in a ..... More

Print this item

  Creating a pdf from file
Posted by: DT2000 - Yesterday, 05:44 AM - Forum: General Coding Help - Replies (4)

I have been working on getting my program to make a PDF of all the data in various widgets. I have been able to get the data and it does create a PDF..... More

Print this item

  Cannot get PyQt5 to import
Posted by: DoDods - Yesterday, 04:49 AM - Forum: GUI - Replies (2)

Hi!

I'm very new to this side of computers and was wondering if I could get a little help.

I have used pip to install both PyQt5 and PyQt-tools ..... More

Print this item

  http.client.HTTPSConnection and user authentication?
Posted by: geekgeek - Yesterday, 03:38 AM - Forum: Networking - No Replies

We have a self-signed site I can use curl to retrieve the data using the REST API:

curl https://user:passwd@somedomain.com/rest/api/something

Bu..... More

Print this item

  Help Me With This Issue Please
Posted by: 00banyaszo00 - Yesterday, 01:18 AM - Forum: General Coding Help - Replies (4)

So I have been having this issue where if I paste a code into a new file it works but if I leave it where it's supposed to be it says 'syntax error' o..... More

Print this item

  Vending machine help
Posted by: wiggles - Yesterday, 01:09 AM - Forum: Homework - Replies (4)

Hi, I have a project to build a vending machine that must display items and balance of coins within the machine. I have done some work on it and am st..... More

Print this item

  User interface for stock portfolio optimisation
Posted by: Fourchelangue - Apr-02-2020, 10:56 PM - Forum: GUI - Replies (1)

Thanks by advance for your help. I know it is a complex request. I did my best to do it on my own, but I am stuck… I am using Python 3 on Anaconda, Ju..... More

Print this item

  User interface for stock portfolio optimisation
Posted by: Fourchelangue - Apr-02-2020, 10:10 PM - Forum: GUI - No Replies

Hi, I am a noob on Python and more generally in programming, but I am doing my best to learn thanks to online tutorials.
I would like to code a small..... More

Print this item

  How to extract protocol from a pcap file ?
Posted by: salwa17 - Apr-02-2020, 10:02 PM - Forum: Networking - No Replies

I developed this code to extract all protocols (transport and application) from a pcap file:

[python]load_layer('http')
load_layer('tls')
load_co..... More

Print this item

  creating a list of dictionaries from API calls
Posted by: AndrewEnglsh101 - Apr-02-2020, 08:26 PM - Forum: General Coding Help - Replies (5)

Hello,

I am having trouble formulating a list of dictionaries which incorporate information from an API call which will set the KEY:VALUE pairs.
..... More

Print this item

  Web Crawler help
Posted by: Mr_Mafia - Apr-02-2020, 08:24 PM - Forum: Web Scraping & Web Development - Replies (1)

This may be a more non-conventional way of asking for help with my program, so forgive me. As the title suggest, I've been trying to build a web crawl..... More

Print this item

  frozenset.copy() docs wrong
Posted by: Skaperen - Apr-02-2020, 08:15 PM - Forum: News and Discussions - Replies (2)

i read in doc that frozenset.copy() returns a shallow copy but i got a deep copy. which is wrong? docs or implementation? i believe the docs are wr..... More

Print this item

  Smooth curve in matplotlib
Posted by: medatib531 - Apr-02-2020, 08:06 PM - Forum: General Coding Help - No Replies

Hello,
suppose I have the following dataset as represented in the code.
This dataset is coming from measurements which are sometimes inconsistent and ..... More

Print this item

  Properly Formatting Pandas Display
Posted by: eagle - Apr-02-2020, 06:49 PM - Forum: Data Science - Replies (2)

Hello everyone!
I please need your help. I get:
Date 2014-01-02 2014-01-03 ... 2017-12-28 2017-12-29
GOOG 0.0 0...... More

Print this item