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,711
» Latest member: Butiournin1976
» Forum threads: 37,428
» Forum posts: 170,076

Full Statistics

Online Users
There are currently 384 online users.
» 0 Member(s) | 379 Guest(s)
Facebook, Bing, Yandex, Baidu, Google

Latest Threads
Learning process
Forum: Bar
Last Post: Gribouillis
4 hours ago
» Replies: 1
» Views: 61
Flask role-based authoriz...
Forum: Web Scraping & Web Development
Last Post: erdemath
5 hours ago
» Replies: 13
» Views: 221
Suggestion on how to spee...
Forum: General Coding Help
Last Post: sawtooth500
5 hours ago
» Replies: 1
» Views: 60
Method returning None
Forum: General Coding Help
Last Post: husksedgier
6 hours ago
» Replies: 2
» Views: 107
Joblib worker error
Forum: General Coding Help
Last Post: sawtooth500
May-03-2024, 06:44 PM
» Replies: 1
» Views: 93
Calculating Average with ...
Forum: General Coding Help
Last Post: sawtooth500
May-03-2024, 05:55 PM
» Replies: 1
» Views: 124
Do regular expressions st...
Forum: General Coding Help
Last Post: rishika24
May-03-2024, 09:05 AM
» Replies: 3
» Views: 193
Connecting to Remote Serv...
Forum: General Coding Help
Last Post: Pedroski55
May-03-2024, 07:23 AM
» Replies: 1
» Views: 153
World Clock syntax error
Forum: General Coding Help
Last Post: snippsat
May-03-2024, 05:20 AM
» Replies: 1
» Views: 131
How to solve this problem...
Forum: Homework
Last Post: roryelila68
May-03-2024, 02:16 AM
» Replies: 6
» Views: 562

 
  Slider GUI help
Posted by: thass23 - Dec-02-2020, 04:04 PM - Forum: Homework - Replies (4)

I have a HW assignment where I need to control volume in a tank. I need a slider scale to set the desired height of the tank. If the desired tank heig..... More

Print this item

  How to replace on char with another in a string?
Posted by: korenron - Dec-02-2020, 04:00 PM - Forum: General Coding Help - Replies (3)

I need to replace one char in another in string

I have try this :
[python]
name = "you\me"

result=name.replace('\','/')
print(name)
print("..... More

Print this item

  bython on full screen editor
Posted by: ErnestTBass - Dec-02-2020, 03:17 PM - Forum: General Coding Help - Replies (1)

Can be bpython be used with a full screen editor like gedit? I know this editor very well and
I think some python code would benefit from using it an..... More

Print this item

  Openpyxl tkinter search a value in Excel column
Posted by: Heathcliff_1 - Dec-02-2020, 02:35 PM - Forum: General Coding Help - No Replies

Hello,

I am a big beginner in Python, so I hope I will fine a help to resolve my current problem.
Firstly, I am working with Python 3, and I want..... More

Print this item

  Default values of arguments with the same id
Posted by: DrVictor - Dec-02-2020, 02:04 PM - Forum: General Coding Help - Replies (3)

class test:
    def __init__(self,val=[]):
        self.val=val

a=test()
b=test()
print(id(a.val)==id(b.val)) #True
I not..... More

Print this item

  frequency tables
Posted by: Tink - Dec-02-2020, 12:44 PM - Forum: Homework - No Replies

Hello I am trying to get a frequency table with 3 but I can only get it to print 1 at a time. Can Anyone help?

Using the code cell below, create an..... More

Print this item

  IPC on windows
Posted by: GrahamL - Dec-02-2020, 09:56 AM - Forum: Networking - No Replies

Hi
I have 2 Python programs that need 2 way communication on Windows 10
What is the recommended way of doing this - I can find some Unix based examp..... More

Print this item

  TypeError: to_capabilities() missing 1 required positional argument: 'self'
Posted by: OceansBlue - Dec-02-2020, 07:29 AM - Forum: Web Scraping & Web Development - Replies (2)

Wall
Error =
[error]Traceback (most recent call last):
File "main.py", line 19, in <module>
driver = webdriver.Chrome(CHROMEDRIVER, op..... More

Print this item

  Pressure monitor for keg fridge
Posted by: duckredbeard - Dec-02-2020, 05:03 AM - Forum: Code Review - Replies (1)

I just put this together and it seems to be working well. I don't have the LEDs connected yet, but the "print" function proves they will with correct..... More

Print this item

  Manage user names in TRAC
Posted by: susja - Dec-02-2020, 12:22 AM - Forum: General Coding Help - Replies (3)

I am completely new in TRAC. I was able to install it on my Windows server and the version is 1.4.2
I created a few users using 'session' command. N..... More

Print this item

  Load data from One oracle Table to Multiple tables
Posted by: amy83 - Dec-01-2020, 11:10 PM - Forum: General Coding Help - Replies (1)

Hi Experts,
I am in process of learning Python. I am Oracle Developer. I have one source table with Multiple columns. There are several Target tables..... More

Print this item

  Creating a RESTful web service and web service client
Posted by: dangermaus33 - Dec-01-2020, 09:56 PM - Forum: Web Scraping & Web Development - No Replies

I am learning Python and want to create a RESTful web service and web service client. For practice, I already create a simple python sales app that us..... More

Print this item

Question How to print multiple elements from multiple lists in a FOR loop?
Posted by: Gilush - Dec-01-2020, 09:48 PM - Forum: General Coding Help - Replies (6)

This is a followup post to my previous one - I decided to re-write the code and now i'm facing a new problem.

I'm working on a dynamic, text based ..... More

Print this item

  How to add an image to an existing facebook post using python graph API?
Posted by: Ascalon - Dec-01-2020, 08:31 PM - Forum: General Coding Help - No Replies

I'm using facebook graph API to update/edit the text of a specific post on my page

..... More

Print this item

  Endovia Alpha 1.200
Posted by: Uriel_Nicotine_Jeremy - Dec-01-2020, 08:05 PM - Forum: Code sharing - No Replies

Click here to view releases up to current release.
Click ..... More

Print this item

  Return not exiting function??
Posted by: rudihammad - Dec-01-2020, 06:32 PM - Forum: General Coding Help - Replies (3)

Hello,
I have this simple example where I simple want to exit a function when i == 5.
[python]def foo(i):
print i, "--"
if i < 5:
..... More

Print this item

  Help getting a string out of regex
Posted by: matt_the_hall - Dec-01-2020, 05:42 PM - Forum: General Coding Help - Replies (4)

Hello, I am trying to better understand the regular expression module, specifically, how to get it to return a string that I can use elsewhere.

Pre..... More

Print this item

  Need help scraping wikipedia table
Posted by: bborusz2 - Dec-01-2020, 04:08 PM - Forum: Web Scraping & Web Development - Replies (6)

Hey guys,

I am fairly new to python and how to use it. I have been attempting to use Beautiful soup to scrape a wikipedia table, https://en.wikipe..... More

Print this item

Brick Dpkt Help
Posted by: Kenny_B - Dec-01-2020, 04:08 PM - Forum: Homework - Replies (4)

Hi there I have a program that needs to perform a variety of tasks on a pcap file. I am using dpkt and python 3. What I have so far is simply opening,..... More

Print this item

  Replacing a words' letters in a string
Posted by: cananb - Dec-01-2020, 04:02 PM - Forum: General Coding Help - Replies (2)

Hi everyone, I am a beginner in Python. This is a challenge that I've found in a forum. This program is censoring the words' (which has given by the u..... More

Print this item

  Syntax Error: Outside a function?
Posted by: aplusfordao2702 - Dec-01-2020, 03:03 PM - Forum: General Coding Help - Replies (2)

ordered_list = [2, 4, 6, 8, 10]

guess = input('Guess a number: ')

for element in ordered_list:

if element == guess:
return ..... More

Print this item

  Spatial Optimization with a lot of variables
Posted by: Gerkamspiano - Dec-01-2020, 12:58 PM - Forum: General Coding Help - No Replies

Hello, I need to carry on a land-use spatial optimization where in each cell I need to assign only one type of land use. I optimize with respect two o..... More

Print this item

  Coding Mechanics
Posted by: 321brian - Dec-01-2020, 12:58 PM - Forum: Data Science - Replies (7)

I have the following code snippet below:
[python]
import pandas as pd
import statsmodels.formula.api as sms

fat = pd.read_csv('https://s3-us-wes..... More

Print this item

  URL check
Posted by: erdravi - Dec-01-2020, 10:08 AM - Forum: General Coding Help - Replies (4)

Hi

I want to find programmatically, whether a given URL is accessible via internet/intranet.

Thanks.

Print this item

  General linear model with repeated measures
Posted by: Ziv1279 - Dec-01-2020, 09:19 AM - Forum: Data Science - Replies (1)

Hi everyone,
I am trying to perform a general linear model with repeated measures.
I know how to do it on 'STATISTICA' but I am now starting to use Py..... More

Print this item

  Failing to Zip files
Posted by: tester_V - Dec-01-2020, 02:46 AM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to find files that have digits in a file name.
then I'd like to zip files to another directory.
My code finds the files I want and mo..... More

Print this item

  Bar Chart axis
Posted by: Blyzz - Dec-01-2020, 02:36 AM - Forum: Data Science - No Replies

I am trying to create a bar chart for statistical parity difference where the value is 0.22222. I am using matplotlib and want to change the x axis to..... More

Print this item

  Generating a student's transcript [OOP concept]
Posted by: aongkeko - Dec-01-2020, 12:42 AM - Forum: Homework - Replies (2)

Hi,

This is part of my homework. We're trying to learn/apply some concepts of OOP in this exercise.

This is what I've got so far.
[python]
d..... More

Print this item

  JSON response from REST service get nested value
Posted by: nl2ttl - Nov-30-2020, 09:18 PM - Forum: General Coding Help - Replies (2)

When I try to do a priceticker on the Bitvavo API ik get a JSON list response. How do I get one or two values from this list.

[python]


from py..... More

Print this item

  no module named finbert found
Posted by: ErnestTBass - Nov-30-2020, 07:33 PM - Forum: General Coding Help - Replies (4)

The following code generates a error:

[/code]
from pathlib import Path
import sys
sys.path.append('..')
import argparse
import shutil
import ..... More

Print this item

  how to scrape a website from a keyword list
Posted by: greenpine - Nov-30-2020, 07:06 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello;
I am new to Python,
I am trying to scrape a website using search keywords from a list (text file), loop through each line of keywords until eac..... More

Print this item

  I there a more efficient way of printing ?
Posted by: Capitaine_Flam - Nov-30-2020, 06:10 PM - Forum: General Coding Help - Replies (7)

Hi, I need that my values be printed in a standard way for a data logger and I'm trying to be printed like this :
(1, 2, 3)
It's sounded like a ver..... More

Print this item

  Why Pass Functions as arguments?
Posted by: muzikman - Nov-30-2020, 04:48 PM - Forum: General Coding Help - Replies (14)

Greetings,

I am starting to learn Python coming from other OOP languages and I am experiencing a little confusion on the topic of passing functions..... More

Print this item

  How to extract and label audio using timestamp annotation
Posted by: Mergorine - Nov-30-2020, 04:44 PM - Forum: General Coding Help - No Replies

I would like to extract and label certain segments of an audio file (audio.wav). The start and end times of the segments are given by the DateTimeStam..... More

Print this item

  Find _ in a list
Posted by: 1234 - Nov-30-2020, 04:31 PM - Forum: General Coding Help - Replies (15)

Hi,
I was wondering is there a way that you can find the largest number in a list that is equal or smaller than my chosen number, without going throu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Learning process 4 hours ago Butiournin1976 Gribouillis Bar
  Flask role-based authoriz... 5 hours ago erdemath erdemath Web Scraping ...
  Suggestion on how to spee... 5 hours ago sawtooth500 sawtooth500 General Codin...
  Method returning None 6 hours ago husksedgier husksedgier General Codin...
  Joblib worker error 05-03, 18:44 sawtooth500 sawtooth500 General Codin...
  Calculating Average with ... 05-03, 17:55 mikasa sawtooth500 General Codin...
  Do regular expressions st... 05-03, 09:05 bobmon rishika24 General Codin...
  Connecting to Remote Serv... 05-03, 07:23 ChaitanyaSharma Pedroski55 General Codin...
  World Clock syntax error 05-03, 05:20 OscarBoots snippsat General Codin...
  How to solve this problem... 05-03, 02:16 magomes roryelila68 Homework
  Equivalent Python code fr... 05-02, 22:17 Mishal0488 DeaD_EyE General Codin...
Most views
  The best Prog... 430050
  Web Scraping ... 317724
  Tutorial Requ... 307128
  Newbie with P... 260567
  Thread remain... 244988
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+ 11875
buran 8090
snippsat 7095
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Butiournin1976 Yesterday
thisistrivial Yesterday
TimsothyKat Yesterday
ShaneTalksTech Yesterday
husksedgier Yesterday

User Panel Messages

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