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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 13,477
» Latest member: ___
» Forum threads: 25,047
» Forum posts: 116,014

Full Statistics

Online Users
There are currently 148 online users.
» 4 Member(s) | 144 Guest(s)
ABVSVL, Larz60+, DeaD_EyE, TomToad

Latest Threads
IEDriverServer screenshot
Forum: General Coding Help
Last Post: ABVSVL
Less than 1 minute ago
» Replies: 0
» Views: 41
Get the filename from a p...
Forum: General Coding Help
Last Post: DeaD_EyE
Less than 1 minute ago
» Replies: 2
» Views: 22
stopping number conversio...
Forum: General Coding Help
Last Post: DeaD_EyE
8 minutes ago
» Replies: 6
» Views: 149
Too Enthusiastic project(...
Forum: General Coding Help
Last Post: j.crater
16 minutes ago
» Replies: 3
» Views: 85
two conditionals with int...
Forum: General Coding Help
Last Post: Gribouillis
25 minutes ago
» Replies: 4
» Views: 86
pygame in Backgroundthrea...
Forum: Game Development
Last Post: blbltheworm
47 minutes ago
» Replies: 2
» Views: 76
beginner question
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 42
Hi, Keep postition of mai...
Forum: GUI
Last Post: DT2000
2 hours ago
» Replies: 3
» Views: 53
Generating all words of m...
Forum: General Coding Help
Last Post: MathCommander
3 hours ago
» Replies: 4
» Views: 63
python read binary file
Forum: General Coding Help
Last Post: bowlofred
3 hours ago
» Replies: 3
» Views: 119

 
  showing only desired part of a plot
Posted by: grknkilicaslan - Jul-10-2020, 03:16 PM - Forum: General Coding Help - Replies (1)

Hi,
I do simply have a plot but I need to show only a specific part of that plot. When I run the code below, it shows all possible results but I need..... More

Print this item

  I didnt get the NULL values
Posted by: salwa17 - Jul-10-2020, 02:54 PM - Forum: General Coding Help - No Replies

I want to extract the segment len from a TCP header so I made this code:

[python]def tcp_len_list(s):
a = [len(p[TCP].payload) if p.haslayer(T..... More

Print this item

  Erreur Code access violation reading 0x00000004
Posted by: yan_mhb - Jul-10-2020, 02:28 PM - Forum: General Coding Help - No Replies

Hello,

I code on the idle python version 3.8.3 and I receive this error message "OSError: exception: access violation reading 0x00000004" Angry..... More

Print this item

  Pandas DataFrame not updating
Posted by: HelpMePlease - Jul-10-2020, 02:21 PM - Forum: Data Science - Replies (3)

Hi, I am trying to program a Car Application menu loop to display the list of cars and add on cars according to the userinput 1 and 2 re..... More

Print this item

  showing all parts in the boundaries when plotting
Posted by: grknkilicaslan - Jul-10-2020, 12:59 PM - Forum: General Coding Help - Replies (1)

Hi everybody,
When I was plotting according to the code below, it gives the result between -60 and 20 on the x-axis but I want only the part between ..... More

Print this item

  Word Game
Posted by: paulmerton4pope - Jul-10-2020, 12:44 PM - Forum: General Coding Help - Replies (4)

[align=justify][i]Hi everyone,

I hope you're all keeping safe during this time.

I'm trying to create a word game in Python (using Thonny), where..... More

Print this item

  Regex findall()
Posted by: NewBeie - Jul-10-2020, 11:13 AM - Forum: General Coding Help - Replies (2)

Hi

I have re code with find findall() function. I understand that findall supposed to find a certain match in the given string, but the output that..... More

Print this item

  Tkinter basic email client
Posted by: menator01 - Jul-10-2020, 09:25 AM - Forum: Code sharing - Replies (1)

This is my first attempt at an email client. It does not handle all email. It's setup for plain text. Will handle some multipart but I have it setup t..... More

Print this item

  Test a class function via "unittest "
Posted by: Penguin827 - Jul-10-2020, 07:49 AM - Forum: General Coding Help - Replies (1)

[python]import unittest
#from employee113 import Employee

class Employee():
"""a class for show employee"""
def __init__(self,first_name,last_..... More

Print this item

  XML Parsing in python
Posted by: aarushprathap - Jul-10-2020, 04:54 AM - Forum: General Coding Help - Replies (2)

HI All,

I have an input file sample like below

[python]

<file="excel.1ew9u4t0tggb9315darmm0nfz2kb"
name ="Custom SQL Query" type="text"..... More

Print this item

  Function to return list of all the INDEX values of a defined ndarray?
Posted by: pjfarley3 - Jul-10-2020, 01:35 AM - Forum: General Coding Help - Replies (2)

If I have a numpy.ndarray defined as follows:

import numpy as np
x = np.ndarray([2,2,2], order='C', dtype='<U3')
Is there a functio..... More

Print this item

  ticktock generator and command
Posted by: Skaperen - Jul-10-2020, 01:19 AM - Forum: Code sharing - Replies (1)

this code can be imported for the generator or just run to be a command (some people may want to add a #! at the start). the generator simply returns..... More

Print this item

  Variable not defined
Posted by: Heyjoe - Jul-10-2020, 01:15 AM - Forum: General Coding Help - Replies (4)

Dear Python Users,

The following program creates a command button. I defined a function called ans1 to give to the command button. It assigns the..... More

Print this item

  stopping number conversion before end
Posted by: Skaperen - Jul-09-2020, 10:48 PM - Forum: General Coding Help - Replies (6)

this function gets a str that has decimal digit characters followed by one alphabetic character that indicates how to multiply the number those digits..... More

Print this item

  python read binary file
Posted by: Pyguys - Jul-09-2020, 10:45 PM - Forum: General Coding Help - Replies (3)

as topics. i want to read a binary file. i need some some offset in it and control by big or little endian. but i have problem with it.

[python]
..... More

Print this item

  Python 3.6.10 fails when running a localized script.
Posted by: Mikee - Jul-09-2020, 08:44 PM - Forum: General Coding Help - Replies (2)

Hello,

Thanks for having me here. I am a new to python.

I am stuck with something which i think most of you might already know.
I have a py scr..... More

Print this item

  Wait for command within a process
Posted by: bRitch022 - Jul-09-2020, 07:34 PM - Forum: General Coding Help - No Replies

I'm attempting to set up a process which listens for commands. Eventually this will be implemented with TCP/UDP and MODBUS, but for now I am trying to..... More

Print this item

  Tensorflow cudart64_101.dll could not find dll
Posted by: robdineen - Jul-09-2020, 07:18 PM - Forum: Data Science - Replies (1)

Hello there

i have an issue running the following tensorflow code on Pycharm

[python]import tensorflow as tf
from tensorflow import keras

NB..... More

Print this item

  Filter data based on a value from another dataframe column and create a file using lo
Posted by: pawanmtm - Jul-09-2020, 05:48 PM - Forum: Data Science - No Replies

Hi All,

I started learning Python few days ago. With google help i started coding to automate a process as described below:

I have a file with ..... More

Print this item

  converting .py to .asc
Posted by: ana - Jul-09-2020, 05:29 PM - Forum: General Coding Help - Replies (4)

Hello
i have a .py file i want to open it using open() and convert it to .asc file . Am completely new to python. Any help will be appreciated.

Print this item

  collections.OrderedDict
Posted by: Bert123456 - Jul-09-2020, 05:17 PM - Forum: General Coding Help - Replies (2)

Hi, I have an object which looks like that:

a = ([('AAA', {'xxx': Value1, 'yyy': Value2})], [BBB, {'xxx': Value3, 'yyy': Value4}])
..... More

Print this item

  The program isn't counting the total properly
Posted by: DanielCook - Jul-09-2020, 04:26 PM - Forum: General Coding Help - Replies (1)

[python]#blackjack

import random
deck = ["2+diamonds","3+diamonds","4+diamonds","5+diamonds","6+diamonds","7+diamonds","8+diamonds","9+diamonds","..... More

Print this item

  Loop problems
Posted by: Kristenl2784 - Jul-09-2020, 03:57 PM - Forum: General Coding Help - No Replies

Hello,

I can't seem to figure out why this script will only look at the 1st source file, perform the actions, paste to template and save then stop...... More

Print this item

  How to install and use a shared libary, via a .dll?
Posted by: ninjaisfast - Jul-09-2020, 03:23 PM - Forum: General Coding Help - No Replies

I'm trying to control my Elgato Stream Deck via Python, and am trying to follow the steps here: https://python-elgato-streamdeck.readthedocs.io/en/sta..... More

Print this item

  New in Python Amazon Scraping
Posted by: brian1425 - Jul-09-2020, 03:19 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Smile ,

I'm new in Python programmation. I have followed a tutorial and written the code down below. (in between the stars)
I don't unders..... More

Print this item

  Use of input function to change screen background color in Turtles
Posted by: Oldman45 - Jul-09-2020, 02:34 PM - Forum: General Coding Help - Replies (3)

I am teaching myself Python on Python 3.8 following Think Like a Computer Scientist and having difficulties as I am a newcomer to coding

I have thi..... More

Print this item

  How to pass multiple arguments into function
Posted by: Mekala - Jul-09-2020, 02:25 PM - Forum: General Coding Help - Replies (4)

Hi,
I want to read a CSV file and I defined one function class, but my program gives error.
my input csv file to read:

[python]col1 col2 col3
..... More

Print this item

  python doc edit and run online?
Posted by: luckrill - Jul-09-2020, 01:28 PM - Forum: General Coding Help - No Replies

İmage


above is rust mdbook, support edit and run online.

how to impl..... More

Print this item

  Array initialization anomaly
Posted by: JohnPie - Jul-09-2020, 12:50 PM - Forum: General Coding Help - Replies (1)

Depending on how I initialize an array its behaviour is different and in one case seems like a Python bug. In my example I create two 3 X 10 arrays us..... More

Print this item

  pandas read_csv can't handle missing data
Posted by: mrdominikku - Jul-09-2020, 12:26 PM - Forum: Data Science - No Replies

I am trying to download data from football data

[python]import os

import pandas as pd

GAMES = ['E0', '..... More

Print this item

  Plotting 3D Data with Custom Colorbar
Posted by: Gates666 - Jul-09-2020, 10:56 AM - Forum: General Coding Help - No Replies

Hello,

I'm new to Python and I require some help. This might be pretty easy for most of you, but not for me. I'm working on my Bachelor's Degree an..... More

Print this item

  Short link URL
Posted by: Evil_Patrick - Jul-09-2020, 09:56 AM - Forum: Web Scraping & Web Development - Replies (5)

Let's say I open a Short link url using Requests
Like:


source = requests.get("short.url/k123h3")

is there any way I ca..... More

Print this item

  Erreur Code
Posted by: yan_mhb - Jul-09-2020, 09:54 AM - Forum: General Coding Help - Replies (2)

bonjour,

j'ai un projet sur python, et le but est d'envoyer des trams du pc vers un bus CAN en utilisant le Kvaser Leaf Light V2.
je débogue mais ..... More

Print this item

  Searching string in file and save next line
Posted by: dani8586 - Jul-09-2020, 09:14 AM - Forum: General Coding Help - Replies (2)

Hello, I'm new to the forum so hello all! I've looked for the solution to my problem in the forum, but I didn't find it, so I ask. I apologize if this..... More

Print this item

  Tkinter email client
Posted by: menator01 - Jul-09-2020, 08:52 AM - Forum: News and Discussions - Replies (1)

Just wanted to share the current learning project.
Although far from being finished, I the program will get and display email subjects.
Refreshes ev..... More

Print this item