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,798
» Latest member: manojgiws81
» Forum threads: 37,494
» Forum posts: 170,346

Full Statistics

Online Users
There are currently 366 online users.
» 1 Member(s) | 356 Guest(s)
Bing, Apple, Yandex, Mojeek, Baidu, AOL, Google, Gribouillis

Latest Threads
Help needed - UN voting r...
Forum: General Coding Help
Last Post: Pedroski55
6 minutes ago
» Replies: 2
» Views: 98
Reading Baseball Box Scor...
Forum: Homework
Last Post: tommythumb
30 minutes ago
» Replies: 2
» Views: 163
My first python game : Ti...
Forum: Game Development
Last Post: ebn852_pan
1 hour ago
» Replies: 1
» Views: 41
Can you explain the strin...
Forum: General Coding Help
Last Post: ebn852_pan
4 hours ago
» Replies: 2
» Views: 56
How returns behave in a f...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 1
» Views: 51
collections.Counter()
Forum: Code sharing
Last Post: ebn852_pan
8 hours ago
» Replies: 2
» Views: 289
compare parts of a 2-tupl...
Forum: General Coding Help
Last Post: Skaperen
10 hours ago
» Replies: 0
» Views: 66
os.listdir() and follow_s...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 1
» Views: 82
program wanted for Posix
Forum: Bar
Last Post: Skaperen
Yesterday, 06:21 PM
» Replies: 4
» Views: 309
how would you feel if ...
Forum: Bar
Last Post: Skaperen
Yesterday, 06:02 PM
» Replies: 15
» Views: 6,066

 
  How to take a single value from dictionary
Posted by: ginjaninja247 - May-28-2019, 12:19 PM - Forum: General Coding Help - Replies (1)

I've created codes that collects weather data using JSON and API keys. However, all I really need is one value of one dictionary, but my code keeps re..... More

Print this item

  Resizing image inside Canvas (with Canvas' resize)
Posted by: Gupi - May-28-2019, 11:47 AM - Forum: GUI - Replies (2)

The situation is next:
- I'm resizing window;
- Canvas widget is resizing too;
- PhotoImage inside Canvas stays the same size as it was.
How can I..... More

Print this item

  Help a noob
Posted by: Tartupets - May-28-2019, 09:38 AM - Forum: General Coding Help - Replies (6)

Hello

Got me a Trinket M0 with CircuitPython

Successfully loaded and ran Trinket M0 Media Dial[/[url=https://python-forum.io/thread-18706.html]..... More

Print this item

  Passing parameters to SQL Server using pandas
Posted by: Ilangos - May-28-2019, 09:23 AM - Forum: General Coding Help - Replies (8)

Hello Python forum,

I'm new to python world. Please bear with me if my question sounds silly.

My problem statement : Passing parameter to SQL ..... More

Print this item

  Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Posted by: dn237 - May-28-2019, 08:12 AM - Forum: General Coding Help - Replies (19)

Bittrex_Markets = requests.get("https://api.bittrex.com/api/v1.1/public/getmarkets").json()

print (Bittrex_Markets)

>>>


Editing post it was..... More

Print this item

  text clustering evaluation ??
Posted by: khalidreemy - May-28-2019, 08:11 AM - Forum: Data Science - Replies (1)

Hello
I used KMeans and Agglomerative Clustering to apply text clustering on a specific dataset.
I need to verify the efficiency of my results.
I ..... More

Print this item

  How to know the type of encoding
Posted by: Serferi - May-28-2019, 07:07 AM - Forum: General Coding Help - Replies (2)

Hello, I'm codin in python 2.7, I want to send alert mail, and the mail I send look like, I use UTF-8 for the encoding:

[color=#9B59B6]oui é[/colo..... More

Print this item

  HTTP error 404
Posted by: Karin - May-28-2019, 05:26 AM - Forum: Web Scraping & Web Development - Replies (4)

hi there

I was trying to get address by using API, but I got HTTP Error. Does it mean URL I code didn't make sense or only I couldn't get data from..... More

Print this item

  Project: Text Analyzer
Posted by: rubberwoden - May-28-2019, 04:14 AM - Forum: Homework - Replies (3)

Thank you for reading this thread. I need help creating my Text Analyzer. I have been going at it for a few days now. I will present the class I am ma..... More

Print this item

  how to analayze only a part of an image?
Posted by: nadavrock - May-28-2019, 12:06 AM - Forum: General Coding Help - Replies (2)

lets say i wanted to counte the black pixels in the bottom right 200x200 pixels of every image.
i have:
[python]
my_list = []
for root, dirs, file..... More

Print this item

  my list is being changed
Posted by: ivinjjunior - May-27-2019, 09:55 PM - Forum: General Coding Help - Replies (15)

Hello guys, here again.
i got a problem i thought would not be possible, i'v created a list for being used as a data base, just for grabbing info, i ..... More

Print this item

  How to filter data using a panda.DateFrame.loc
Posted by: pawlo392 - May-27-2019, 07:36 PM - Forum: Data Science - Replies (1)

I do not know why I am getting such a mistake.
[error]
File "C:\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2726, in _getitem_array
..... More

Print this item

  Python Question
Posted by: Smhbugra - May-27-2019, 06:04 PM - Forum: Homework - Replies (2)

Compare the two codes shown below and state the output if the input entered in each case is -6?

CODE 1
import math
num=int(input("Enter a number ..... More

Print this item

  What area unit the opposite ways in which to understand if an inventory in Python is
Posted by: Smhbugra - May-27-2019, 05:42 PM - Forum: General Coding Help - Replies (2)

The easiest approach - if you recognize that the argument is often a listing is :

[python]if list_var:
print(‘List is not empty’)
else:
pr..... More

Print this item

  Juicy highly composite number needs factorization
Posted by: kevolegend - May-27-2019, 05:22 PM - Forum: General Coding Help - Replies (15)

Trawling the interwebs, I have stumbled across a 101 digit highly composite number. It's a beast to say to least

1033447585165608712824364312547128..... More

Print this item

  Django Python Vscode Error Please Help
Posted by: Smhbugra - May-27-2019, 04:50 PM - Forum: Web Scraping & Web Development - Replies (3)

I get an error when I try to import some Django.


[img]<a href="https://ibb.co/m8dKHV5"><img src="https://i.ibb.co/PQJy5vG/m595h-1.png" alt="m595h..... More

Print this item

  Need help to retrieve a particular string
Posted by: lokesh - May-27-2019, 04:36 PM - Forum: General Coding Help - Replies (3)

Hi,

I need your help to retrieve/display particular string in a file.

file1:
=====
567812345676-123
p-45yt7u75402

I want to ge..... More

Print this item

  Using the GeoJSON API
Posted by: ashlynjane - May-27-2019, 04:35 PM - Forum: General Coding Help - Replies (1)

The location I've been given to input is Indian Institute of Technology Kharagpur India, but somehow I'm getting an error with my code and hence not b..... More

Print this item

  [split] Using Quandl and Python3
Posted by: ratayr - May-27-2019, 12:01 PM - Forum: General Coding Help - Replies (1)

Does any one know a software where I can use text editing and other mathematical functions in coordination with python.

Print this item

  assigned variable fails to show up
Posted by: Skaperen - May-27-2019, 10:07 AM - Forum: General Coding Help - Replies (4)

i have a big script with a line that assigns an IPv6 address string literal to the variable ipv6and the next line tries to print it:[co..... More

Print this item

  Multiprocessing.Queue with hugh data causes _wait_for_tstate_lock
Posted by: buhtz - May-27-2019, 09:47 AM - Forum: General Coding Help - No Replies

X-Post on StackOverflow

An Exception is raised in [b][font=Courier New, Courier, monospace]..... More

Print this item

  while loop
Posted by: ef26 - May-27-2019, 08:23 AM - Forum: General Coding Help - Replies (5)

to the question:
Write a while loop to display the values of the Rating of an album playlist stored in the list PlayListRatings. If the score is less..... More

Print this item

  Extracting 10-q,k
Posted by: Grga - May-27-2019, 07:18 AM - Forum: General Coding Help - Replies (5)

Hi,
I am noob in python so any help is welcome. I extracted 10q using edgar, got txt file, but have no idea how to get or where to start to get reven..... More

Print this item

  Execute .sql file in python
Posted by: pradeepkumarbe - May-27-2019, 07:16 AM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to execute .sql file using python, I am using pymysql.

This is the code I am using to parse sql query

[python]def parse_s..... More

Print this item

  Problems with frames layout
Posted by: Gupi - May-27-2019, 04:07 AM - Forum: GUI - Replies (1)

I'm trying to layout my GUI with next settings:

1st level.
- FrameMain, which takes most part of the window, it's the top one.
- FrameBottom, whi..... More

Print this item

  [pygame] distance detector
Posted by: N0m1t - May-26-2019, 08:10 PM - Forum: Game Development - Replies (6)

Hi,

how I can calculate the distance of moving object to the walls in the labyrinth like on the picture?

https://photos.app.goo.gl/D9YyTanhhfW..... More


Attached Files

Thumbnail(s)
   
Print this item

  Pandas: faster method to count occurrences
Posted by: frame - May-26-2019, 07:43 PM - Forum: Data Science - No Replies

Hi.
I'm a file myfile.csv like this:
Conc Date Run I II III IV V
1 13/10/2018 AA 4 23 28 79 11
2 16/10/2018 AA 41 1 43 30 9
3 18/10/2018 AA 21 12..... More

Print this item

  [Pygame] Problems with my textbox
Posted by: SheeppOSU - May-26-2019, 05:53 PM - Forum: Game Development - Replies (1)

I was trying to make a text box, but I ran into a few problems. Here are the problems:
Problem 1 - Backspace will delete the first letter it is looki..... More

Print this item

  Python on Linux, Total Noob to Both
Posted by: halcyon - May-26-2019, 05:49 PM - Forum: General Coding Help - Replies (4)

I'm probably making a huge mistake by doing two new things at once: Learn Linux & Learn Python in one package. I apologize if I'm totally in the wrong..... More

Print this item

  Tilemap 3 squares too tall
Posted by: michael1789 - May-26-2019, 04:32 PM - Forum: Game Development - Replies (2)

Hi all,

Very new, learning python for fun.

I've been mostly following this a youtube tutorial by KidsCanCode on youtube for making a tile based ..... More

Print this item

  Creating a wavelet matrix
Posted by: pingaan - May-26-2019, 02:59 PM - Forum: Homework - Replies (4)

Hi,

A few friends and I are on a school project and one of the tasks conserns creating a wavelet matrix. The idea is to create this wavelet matrix ..... More

Print this item

  Are all points within a rectangle?
Posted by: aapurdel - May-26-2019, 02:46 PM - Forum: Data Science - Replies (1)

Modify your function from the previous question so it takes a list of points rather than a single point and returns boolean True only if all points in..... More

Print this item

  making the code easier, list comprehension
Posted by: go127a - May-26-2019, 02:31 PM - Forum: General Coding Help - Replies (2)

Hello.

I receive a number like: ‘n’ from input, which means I will receive ‘n’ two number;
The first one is price and the second one is quality.
..... More

Print this item

  stepper motor modbus-tcp
Posted by: Tomerkrp - May-26-2019, 12:44 PM - Forum: Networking - Replies (1)

Need Help!!!

I am trying to control a stepper motor thet has a internal controller and communication via mudbus tcp I want to send commands to him ..... More

Print this item

  Extend my __init__ method by an extra parameter Tol
Posted by: duyduy - May-26-2019, 11:31 AM - Forum: Homework - Replies (8)

I want to extend my __init__ method by an extra parameter Tol (tolerance) which serves as a threshold for converting a given matrix to a sparse matrix..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help needed - UN voting r... 6 minutes ago Mardy Pedroski55 General Codin...
  Reading Baseball Box Scor... 30 minutes ago tommythumb tommythumb Homework
  My first python game : Ti... 1 hour ago ForsakenDusk ebn852_pan Game Developm...
  Can you explain the strin... 4 hours ago ebn852_pan ebn852_pan General Codin...
  How returns behave in a f... 4 hours ago khasbay deanhystad General Codin...
  collections.Counter() 8 hours ago pynerds ebn852_pan Code sharing
  compare parts of a 2-tupl... 10 hours ago Skaperen Skaperen General Codin...
  os.listdir() and follow_s... 11 hours ago Skaperen Gribouillis General Codin...
  program wanted for Posix Yesterday, 18:21 Skaperen Skaperen Bar
  how would you feel if ... Yesterday, 18:02 Skaperen Skaperen Bar
  [PyGame] adding mouse con... Yesterday, 17:25 flash77 flash77 Game Developm...
Most views
  The best Prog... 458191
  Web Scraping ... 339290
  Tutorial Requ... 329037
  Newbie with P... 277035
  Thread remain... 261683
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 341
deanhystad 313
Most replies
  New Users Int... 432
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11883
buran 8091
snippsat 7107
deanhystad 6267
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
manojgiws81 Today
khasbay Yesterday
crafcik612 Yesterday
Allen9Quang Yesterday
Cook3Aaron Yesterday

User Panel Messages

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