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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 12,739
» Latest member: JessicaBrown
» Forum threads: 23,940
» Forum posts: 111,129

Full Statistics

Online Users
There are currently 161 online users.
» 4 Member(s) | 157 Guest(s)
snippsat, pyzyx3qwerty, charles_29, Gribouillis

Latest Threads
How can i parse a log fil...
Forum: General Coding Help
Last Post: pyzyx3qwerty
13 minutes ago
» Replies: 1
» Views: 21
How to properly catch thi...
Forum: Homework
Last Post: Emekadavid
38 minutes ago
» Replies: 2
» Views: 28
Regarding question on cod...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 2
» Views: 100
Excel: Apply formating of...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 1
» Views: 24
Numpy module
Forum: General Coding Help
Last Post: Knight18
2 hours ago
» Replies: 1
» Views: 58
New to Tkinker And need h...
Forum: GUI
Last Post: Knight18
2 hours ago
» Replies: 6
» Views: 53
Yet another Tic-Tac-Toe (...
Forum: Code Review
Last Post: Knight18
2 hours ago
» Replies: 9
» Views: 424
str.startswith(tuple) ......
Forum: News and Discussions
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 39
pillow reversing the orde...
Forum: General Coding Help
Last Post: DPaul
3 hours ago
» Replies: 1
» Views: 31
threading example
Forum: General Coding Help
Last Post: DPaul
3 hours ago
» Replies: 2
» Views: 114

 
  How to properly catch this exception
Posted by: Emekadavid - 1 hour ago - Forum: Homework - Replies (2)

I wanted to write a little code that takes in a number. If the number is within a specified range, 0.0 to 1.0, no exception is thrown. But if it is ou..... More

Print this item

  Excel: Apply formating of a sheet(file1) to another sheet(file2)
Posted by: lowermoon - 2 hours ago - Forum: General Coding Help - Replies (1)

Hello!

Does python offers the possibility of applying the formatting style from a sheet (from file1) to another sheet(from file2). I would like to th..... More

Print this item

  pillow reversing the order of pixels after every row
Posted by: johnEmScott - 7 hours ago - Forum: General Coding Help - Replies (1)

I need help reversing the order of pixels in an image after every row. If anyone has a solution it would be appreciated.
[python]def main():
f..... More

Print this item

  How do I translate this into python code? (excel vlookup)
Posted by: eeps24 - 8 hours ago - Forum: General Coding Help - No Replies

I have two dataframes and trying to do a excel vlookup type function.

excel's vlookup parameters: vlookup(lookup_value,table_array,col_index_num,ra..... More

Print this item

  Solaris 10 building Python 3.8.3 problems.
Posted by: munocat - 8 hours ago - Forum: General Coding Help - No Replies

I am trying to build Python 3.8.3 for my Solaris 10 ultra Sparc. It builds most modules accept a few. It is with these few I am struggling.


Modu..... More

Print this item

  Regarding question on coding
Posted by: asmfloyd - 8 hours ago - Forum: General Coding Help - Replies (2)

Hi,
I am learning python. I just saw this coding which is generating 2 datasets.I have a question. Can someone explain the part in "dataset1"? I be..... More

Print this item

  Jinja2 and Excel
Posted by: zinho - 8 hours ago - Forum: General Coding Help - No Replies

I trying use Excel file to receive via Python3 and Jinja2 as a template.

My sheet will be used to show my report.

I don't now how start, someon..... More

Print this item

  str.startswith(tuple) ... which start?
Posted by: Skaperen - 9 hours ago - Forum: News and Discussions - Replies (1)

str.startswith() supports a tuple (i guess that means not to use a list) to return True if str starts with any str in the tuple. is the..... More

Print this item

  local / global lists
Posted by: RedWuff - 9 hours ago - Forum: General Coding Help - Replies (1)

So I coded a Program in python whith PyGameZero and the mu editor
[python]
def animate_nodes():
for current_node in node_list:
x = cu..... More

Print this item

  add.at() method
Posted by: Truman - 11 hours ago - Forum: Data Science - Replies (1)

import numpy as np 
x = np.zeros(10)
np.add.at(x, i, 1)
print(x)
output
Output:
[0. 1. 1. 0. 1. 0. 0. 0. 1. 0.]
..... More

Print this item

  How can i parse a log file to JSON.
Posted by: menarcarlos - Yesterday, 08:55 PM - Forum: General Coding Help - Replies (1)

Hi, I'm noob in python.

How can i parse a log file to JSON.

From this:


[quote] -----------------------------------
Uncollected acc..... More

Print this item

  Border detection
Posted by: Guzle03 - Yesterday, 08:02 PM - Forum: General Coding Help - Replies (2)

[python]import pygame
# basis definities

# kleuren
zwart = (0,0,0)
wit = (255,255,255)
licht_groen = (128,255,0)
donker_groen = (0,130,0)
roo..... More

Print this item

  loop with timer help
Posted by: Gina92 - Yesterday, 06:35 PM - Forum: General Coding Help - Replies (3)

Hi all I'm extremely new to python and have just completed the online code academy course and I'm trying to create a code that will generate a random ..... More

Print this item

  Numpy module
Posted by: onurkolgu - Yesterday, 06:34 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am amateur on Python 3 and Pycharm. For learning python properly, I am developing python on pycharm.When I studied Numpy module,I fa..... More

Print this item

  New to Tkinker And need help URGENTLY!
Posted by: MianDoesCoding - Yesterday, 05:12 PM - Forum: GUI - Replies (6)

Hey Everyone! Smile
I'm new to tkinter and i really need some help. I want to create an app with tkinter but im confused on 3 things.
1. how wo..... More

Print this item

  How can i list opposite attributes from maximal_matching
Posted by: John_64 - Yesterday, 04:57 PM - Forum: Data Science - No Replies

Hi everyone. I'm amateur on Python3 and Jupyter Notebook. For learning Python properly, I'm developing Python on the Jupyter Notebook. When i develop ..... More

Print this item

  Reading serial data and saving to a file
Posted by: Mohan - Yesterday, 04:12 PM - Forum: General Coding Help - Replies (1)

Hi ,
I am trying to read a serial data and save that in a file. I could not print any data to the file.

[python]from __future__ import print_func..... More

Print this item

  pySerial why do i need \r
Posted by: Mad_Max - Yesterday, 04:01 PM - Forum: General Coding Help - Replies (1)

Hi there!
I'm pretty new to python. I'm a chemist by training. Right now i'm sitting in the lab and try to understand how a certain serial connection ..... More

Print this item

  Python 3 Elementtree and Comment First
Posted by: gw1500se - Yesterday, 02:48 PM - Forum: General Coding Help - Replies (3)

I am building an xml file using ElemetTree but I need to insert the encoding comment first.

Quote:<!--version="1.0" encoding="UTF-8"-->
..... More

Print this item

  local variable 'marks' referenced before assignment
Posted by: Calli - Yesterday, 02:14 PM - Forum: General Coding Help - Replies (3)

The error i am getting is

UnboundLocalError: local variable 'marks' referenced before assignment

[python]
def main():
totalMarks =..... More

Print this item

  f2py: no Fortran compiler found
Posted by: FMJS - Yesterday, 02:06 PM - Forum: General Coding Help - Replies (2)

I'm new here as well as using python. Currently I'm using Anaconda and python 3.7 and need to use some Fortran code. Found that f2py creates a shared ..... More

Print this item

  How to create multiple widget in GUI?
Posted by: luthfidali - Yesterday, 01:55 PM - Forum: Homework - Replies (1)

Halo,

My name is luthfidali, currently Im learning about python GUI. I would like to create multiple widgets with numpy library but I do not know h..... More

Print this item

  Python call/running another python file
Posted by: windows11 - Yesterday, 11:46 AM - Forum: General Coding Help - Replies (2)

Hello World!

I have two files python, ex: file1.py and file2.py

Now I'm working in file2.py and I need to run all the python code from file1.py ..... More

Print this item

  can I use 2 child.expect at the same time?
Posted by: korenron - Yesterday, 10:41 AM - Forum: General Coding Help - No Replies

Hello
I'm running a code that scan bluetooth
I have notice that some time the reaply is wil rssi and sometime he print the name of the devcie
th..... More

Print this item

  Screen Blurriness Fix
Posted by: Knight18 - Yesterday, 10:13 AM - Forum: GUI - Replies (3)

I'm developing a software with a GUI using Tkinter. I issue I'm running into is that the Tkinter window appears to be rather blurry and low quality. T..... More

Print this item

  extracting sublist from a large multiple molecular file
Posted by: juliocollm - Yesterday, 09:50 AM - Forum: Data Science - Replies (2)

I am using Phyton 3.7 in last version of Spider

I have a list of about 500 chemical molecule IDs (ten number digits each) which I selected for sign..... More

Print this item

  How can i change the direction of the ball based on player's xcor and ycor collisions
Posted by: MohammedSohail - Yesterday, 08:39 AM - Forum: General Coding Help - No Replies

#I am facing this problem i want to change the direction of the ball based on player's xcor and ycor collision
#If player hits the ball from a side e..... More

Print this item

  Tkinter Logo Image
Posted by: Evil_Patrick - Yesterday, 03:00 AM - Forum: GUI - Replies (1)

So I'm Trying to Create a Tkinter window and it has an icon in same folder but if I upload it on Github or change dir then it will show an error becau..... More

Print this item

  TypeError: 're.Match' object is not iterable
Posted by: charlesauspicks - Yesterday, 01:53 AM - Forum: General Coding Help - Replies (1)

I was writing the following Python Code for copying search results (phone numbers) to a new .txt file and I got a TypeError. Please what other way can..... More

Print this item

  question about python3 print function
Posted by: jamie_01 - Yesterday, 12:46 AM - Forum: General Coding Help - Replies (5)

Hey all i've started with python 3 after using C for more than 2 years. Quick question, are the parenthesis normal after running this script? How wou..... More

Print this item

  possibly quick buck for someone who knows python?
Posted by: Chulain - Yesterday, 12:11 AM - Forum: Jobs - Replies (2)

Looking for someone to help me read/understand/edit this .pyc file.
Novice programmer skills, payment depends on how long it takes me to succesfully ..... More

Print this item

  getting financial data from yahoo finance
Posted by: asiaphone12 - May-24-2020, 11:51 PM - Forum: Web Scraping & Web Development - No Replies

hello, I have problem when scraping data from yahoo finance. I search the forum but all I find is about stock data, not financial data. I want to get ..... More

Print this item

  Closing Files - CSV Reader/Writer
Posted by: lummers - May-24-2020, 10:37 PM - Forum: General Coding Help - No Replies

Hello,

I am trying to write a script which will:
1. Download all the emails in a specific Outlook folder to a directory on my machine (.msg forma..... More

Print this item

  Returning Value from Function with Trackbars
Posted by: vicpylon - May-24-2020, 10:22 PM - Forum: General Coding Help - Replies (3)

I am tinkering with cv2 Trackbars and would like to use one to configure an image capture system. I have a trackbar function that works, but I cannot ..... More

Print this item

  Add variable value to string
Posted by: pythonlearner1 - May-24-2020, 08:47 PM - Forum: General Coding Help - Replies (5)

I am creating variable

dashboard_id="66862fa0-dafa-4d28572533a"
I want to create a another variable and insert this value to it..... More

Print this item