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,638
» Latest member: b19wh33l5
» Forum threads: 37,390
» Forum posts: 169,921

Full Statistics

Online Users
There are currently 383 online users.
» 0 Member(s) | 376 Guest(s)
Yandex, Google, Applebot, Bing, Baidu, AOL

Latest Threads
Volume label
Forum: Bar
Last Post: SandraYokum
1 hour ago
» Replies: 2
» Views: 100
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: kucingkembar
1 hour ago
» Replies: 4
» Views: 63
Python Project Structure ...
Forum: General Coding Help
Last Post: b19wh33l5
2 hours ago
» Replies: 0
» Views: 35
What software to use?
Forum: General Coding Help
Last Post: mojobadshah
5 hours ago
» Replies: 3
» Views: 681
watchdog on_modified
Forum: General Coding Help
Last Post: CAD79
5 hours ago
» Replies: 2
» Views: 139
Using xml.parsers.expat I...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 3
» Views: 77
How to Randomly Print a Q...
Forum: General Coding Help
Last Post: Bronjer
8 hours ago
» Replies: 13
» Views: 779
FutureWarning: The behavi...
Forum: General Coding Help
Last Post: sawtooth500
Today, 01:42 AM
» Replies: 14
» Views: 329
Loop through all files in...
Forum: General Coding Help
Last Post: FortuneCoins
Yesterday, 07:38 PM
» Replies: 10
» Views: 302
defaultdict
Forum: Code sharing
Last Post: main
Yesterday, 06:28 PM
» Replies: 0
» Views: 123

 
  Turn coordinates in string into a tuple
Posted by: Kolterdyx - Jun-09-2020, 09:20 PM - Forum: General Coding Help - Replies (3)

I have a dict that stores chunk coordinates and their content in a game I'm making. It looks like this


[python]chunks = {
'0,0' : <content>,
'0..... More

Print this item

  Problem Sending a Dataset to a function
Posted by: Astrikor - Jun-09-2020, 09:07 PM - Forum: General Coding Help - Replies (2)

I'm have a problem operating on a set of integers to determine the gradient of the sequence.
in principle it works ok.

I have posted the main cod..... More

Print this item

  Predicting/Forecasting Future Values
Posted by: BadWhite - Jun-09-2020, 07:08 PM - Forum: Data Science - Replies (1)

[b]Hey Guys,

I'm dealing too much with forecasting in my work.So, I made some code that will predict for me the load in my area. The good news is t..... More

Print this item

  Syntax Highlighting in Text Editor
Posted by: ShakeyPakey - Jun-09-2020, 06:43 PM - Forum: GUI - Replies (4)

I am wondering if there is a way using the Python module tkinter to colour text, or do "syntax highlighting". I am making my own text editor using tki..... More

Print this item

  Write to SQL Table
Posted by: skaailet - Jun-09-2020, 05:43 PM - Forum: General Coding Help - Replies (1)

How can I change my code to write to a SQL Table instead to a Excel File

The code I use is this one

[python]from pylogix import PLC
import sys..... More

Print this item

  functions
Posted by: Rudson67 - Jun-09-2020, 04:43 PM - Forum: Homework - Replies (2)

Hi, I have a big problem with this task. Can someone help me? Thank you in advance! :)

Modify the program from point 1 so that the function instead..... More

Print this item

  Turtle python graphics
Posted by: Y0sh1 - Jun-09-2020, 03:16 PM - Forum: General Coding Help - Replies (6)

Hello,

I need help, i need to write a function using turtle in pyhon.
That takes in entry(x0,y0,D)
x0 et y0 are the first coordinate points in t..... More

Print this item

  Pygame : clearing a screen issue
Posted by: Reldaing - Jun-09-2020, 03:14 PM - Forum: Game Development - Replies (4)

Hi, I'm currently stuggling with clearing my screen on pygame when a button is clicked. For example, when pygame.mouse.get_pressed()[0]==1 in my loop ..... More

Print this item

  How to Solving non-linear equation using scipy.optimize fsolve with variable list
Posted by: djhak - Jun-09-2020, 02:57 PM - Forum: General Coding Help - Replies (3)

Hi every one,
when i am trying solve this equation using fsolve with variables as list
[Image: 2ZOfu.png]
can any help ..... More

Print this item

  Why is one duplicate not removed?
Posted by: Emekadavid - Jun-09-2020, 02:11 PM - Forum: General Coding Help - Replies (4)

This code removes the duplicates in two lists. But when I run it, one of the duplicates is not removed. It beats me. Can someone explain to me why.
..... More

Print this item

  Running three-year old python code
Posted by: ErnestTBass - Jun-09-2020, 01:50 PM - Forum: News and Discussions - Replies (4)

If someone has some python 3 code that is say three years old how does one run it? Say it has no requirmenets.txt file so one must run it by one's wit..... More

Print this item

  Problem loading an image dataset into Tensorflow
Posted by: MohammedSohail - Jun-09-2020, 01:47 PM - Forum: General Coding Help - Replies (1)

I was trying to load an image dataset which has 50000 images of cats and dogs.

I don't know the code to load the dataset in tensorflow
If you want..... More

Print this item

  WebDriverException: 'chromedriver' executable needs to be in PATH
Posted by: pyzyx3qwerty - Jun-09-2020, 01:37 PM - Forum: Web Scraping & Web Development - Replies (9)

Running code to scrape items from the website and display it
[python]
from selenium import webdriver
from bs4 import BeautifulSoup
import pandas a..... More

Print this item

  How to load an image dataset into Tensorflow ?
Posted by: MohammedSohail - Jun-09-2020, 01:21 PM - Forum: News and Discussions - No Replies

I was trying to load an image dataset which has 50000 images of cats and dogs.

I don't know the code to load the dataset in tensorflow
If you want..... More

Print this item

  Continuous improvement for Python security
Posted by: ganncamp - Jun-09-2020, 12:48 PM - Forum: News and Discussions - Replies (1)

Hi all,

At SonarSource we're pushing hard this year on Code Quality and Security for Python. Most recently, we've been working on detection of Cros..... More

Print this item

  Please help me to write code for this
Posted by: vij - Jun-09-2020, 12:40 PM - Forum: Homework - Replies (8)

Hi,

can anyone please help me to write code for this one

5 5 5 5 5
5 4 4 4 4
5 4 3 3 3
5 4 3 2 2
5 4 3 2 1

kindly help, matrix value c..... More

Print this item

  Using a list of variables
Posted by: Zane217 - Jun-09-2020, 12:06 PM - Forum: General Coding Help - Replies (6)

Hi all,

I have been working on a robot car for a while in an attempt to teach my son how to code. I have everything working but I am aware that my..... More

Print this item

  pip install -e ., ERROR: Failed building wheel for pyfarmhash
Posted by: mostafaPython - Jun-09-2020, 10:55 AM - Forum: General Coding Help - Replies (1)

Hello ,

when I : pip install -e .

the output is : [output]Building wheels for collected packages: pyfarmhash
Building wheel for pyfar..... More

Print this item

  Help With Shelf
Posted by: pdub787 - Jun-09-2020, 10:13 AM - Forum: Homework - Replies (1)

This may be more of a linux question, but I'm working through the Multi-Clipboard project in Automate the Boring Stuff. The code runs perfectly when e..... More

Print this item

  Problem with VS code and Anaconda
Posted by: angelica - Jun-09-2020, 09:37 AM - Forum: News and Discussions - Replies (2)

Hi ,

I have installed VS code and Anaconda and new to python. I am stuck with this warning and appreciate help to resolve this issue Here is my wa..... More

Print this item

  Seaborn regplot regression equation?
Posted by: Cricri - Jun-09-2020, 08:36 AM - Forum: Data Science - Replies (2)

Hello all,

I hope it is OK to ask a seaborn question in this section. Please direct me elsewhere if not.

In a Jupyter Notebook, I generate a sea..... More

Print this item

  Create new column in new created table
Posted by: farhana88 - Jun-09-2020, 07:14 AM - Forum: General Coding Help - Replies (1)

Hi, can anyone assist how to add new column for a new table?

Im very new in using python and this is my first cry for help.

I have 2 tables.
T..... More

Print this item

  Selenium + Aliexpress
Posted by: alexkorn - Jun-09-2020, 06:46 AM - Forum: Web Scraping & Web Development - Replies (7)

Python 3.8
I need to parse the product listing page from Aliexpress. The page has endless scrolling, so BeautifulSoup, if I understand correctly, wil..... More

Print this item

  Filter rows by multiple text conditions in another data frame i.e contains strings an
Posted by: Pan - Jun-09-2020, 06:04 AM - Forum: Data Science - No Replies

I have a scheme of conditions in a data frame Condition which contains more than 100 rows and 100 columns, something like below.

Contain ..... More

Print this item

  get.dictionary
Posted by: gr3yali3n - Jun-09-2020, 03:26 AM - Forum: General Coding Help - Replies (3)

I am playing around with the idle again and am wondering how to best use the .get.

here is the code I'm messing around with.

[python]
people ..... More

Print this item

  Help Using combobox in a select statement variable
Posted by: cibb - Jun-09-2020, 02:26 AM - Forum: GUI - Replies (2)

I'm creating a small App that will list values from a mysql database to a combobox. The user will select one of those values then click a button. This..... More

Print this item

Question Terminating threads
Posted by: Gilush - Jun-09-2020, 02:19 AM - Forum: General Coding Help - Replies (1)

The code below runs 3 threads.
how can I stop them (especially print_to_box) without freezing the program?

This is the handler:
[python]

d..... More

Print this item

  Simple Binary Translator (Using MATH instead of MATCH))
Posted by: DataCorrupt - Jun-09-2020, 01:43 AM - Forum: Code sharing - Replies (3)

I decided to write a text to binary translator only using math. This was to test my abilities because I am very new. This can only translate letters a..... More

Print this item

  Python keeps inserting NULL values into table
Posted by: card51shor - Jun-09-2020, 01:31 AM - Forum: Homework - Replies (18)

Hey guys I'm not getting any errors but my username and password are always added to the table as NULL. Anyone know why?

Thanks!

Python: https..... More

Print this item

  Creating a list of RSSI value and send it to the server.
Posted by: Azuan - Jun-08-2020, 11:22 PM - Forum: General Coding Help - No Replies

Hi there.

I'm trying to create an Indoor Positioning System using iBeacon signal, Bluepy and Raspberry Pi Zero W. Basically my Python code (which I..... More

Print this item

  Frame names
Posted by: menator01 - Jun-08-2020, 09:16 PM - Forum: GUI - Replies (3)

Is there anyway to get a frame name/properties? I've tried the root.children.values and get .!frame. But just was wondering how to get what the frame ..... More

Print this item

  switching from pycharm to sublime issue
Posted by: Drifter - Jun-08-2020, 08:38 PM - Forum: General Coding Help - Replies (2)

hi everyone.

I have recently started to learn the very basics of coding in Python through Youtube videos. I had been using PyCharm with no issues...... More

Print this item

  tools for writing and reading binary data in files
Posted by: Skaperen - Jun-08-2020, 07:28 PM - Forum: News and Discussions - No Replies

if i just ask for tools to read and write binary files i'm sure people will point me to including the 'b' option when opening the file. i already kno..... More

Print this item

  Modify Input() text
Posted by: catosp - Jun-08-2020, 07:14 PM - Forum: General Coding Help - Replies (6)

Hello!

strText = "this is text 1"
a = input()+strText #or something like this
print(a)
How can I make to appear strText as ..... More

Print this item

  Like ou Unlike Instagram
Posted by: rmiguelantunes74 - Jun-08-2020, 06:25 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I'm beginner in Python, what is the best code to validate if the instagram photo already has like or not ?
because if i run twice my script th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Volume label 1 hour ago DPaul SandraYokum Bar
  how to edited Tkinter Top... 1 hour ago kucingkembar kucingkembar General Codin...
  Python Project Structure ... 2 hours ago b19wh33l5 b19wh33l5 General Codin...
  What software to use? 5 hours ago pickledrick mojobadshah General Codin...
  watchdog on_modified 5 hours ago CAD79 CAD79 General Codin...
  Using xml.parsers.expat I... 6 hours ago Pedroski55 Pedroski55 General Codin...
  How to Randomly Print a Q... 8 hours ago BillKochman Bronjer General Codin...
  FutureWarning: The behavi... Today, 01:42 sawtooth500 sawtooth500 General Codin...
  Loop through all files in... Yesterday, 19:38 Winfried FortuneCoins General Codin...
  defaultdict Yesterday, 18:28 main main Code sharing
  Right way to open files w... Yesterday, 17:50 Winfried snippsat General Codin...
Most views
  The best Prog... 409933
  Web Scraping ... 301119
  Tutorial Requ... 291337
  Newbie with P... 249827
  Thread remain... 231859
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+ 11871
buran 8090
snippsat 7086
deanhystad 6212
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
b19wh33l5 Today
Niharika Today
matheos Today
CoopCoding Today
tonyblare Yesterday

User Panel Messages

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